AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GitLabConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsAgent {
20namespace Model {
21
28 public:
29 AWS_DEVOPSAGENT_API GitLabConfiguration() = default;
30 AWS_DEVOPSAGENT_API GitLabConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetProjectId() const { return m_projectId; }
39 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
40 template <typename ProjectIdT = Aws::String>
41 void SetProjectId(ProjectIdT&& value) {
42 m_projectIdHasBeenSet = true;
43 m_projectId = std::forward<ProjectIdT>(value);
44 }
45 template <typename ProjectIdT = Aws::String>
46 GitLabConfiguration& WithProjectId(ProjectIdT&& value) {
47 SetProjectId(std::forward<ProjectIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetProjectPath() const { return m_projectPath; }
57 inline bool ProjectPathHasBeenSet() const { return m_projectPathHasBeenSet; }
58 template <typename ProjectPathT = Aws::String>
59 void SetProjectPath(ProjectPathT&& value) {
60 m_projectPathHasBeenSet = true;
61 m_projectPath = std::forward<ProjectPathT>(value);
62 }
63 template <typename ProjectPathT = Aws::String>
64 GitLabConfiguration& WithProjectPath(ProjectPathT&& value) {
65 SetProjectPath(std::forward<ProjectPathT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetInstanceIdentifier() const { return m_instanceIdentifier; }
76 inline bool InstanceIdentifierHasBeenSet() const { return m_instanceIdentifierHasBeenSet; }
77 template <typename InstanceIdentifierT = Aws::String>
78 void SetInstanceIdentifier(InstanceIdentifierT&& value) {
79 m_instanceIdentifierHasBeenSet = true;
80 m_instanceIdentifier = std::forward<InstanceIdentifierT>(value);
81 }
82 template <typename InstanceIdentifierT = Aws::String>
83 GitLabConfiguration& WithInstanceIdentifier(InstanceIdentifierT&& value) {
84 SetInstanceIdentifier(std::forward<InstanceIdentifierT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_projectId;
90
91 Aws::String m_projectPath;
92
93 Aws::String m_instanceIdentifier;
94 bool m_projectIdHasBeenSet = false;
95 bool m_projectPathHasBeenSet = false;
96 bool m_instanceIdentifierHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace DevOpsAgent
101} // namespace Aws
AWS_DEVOPSAGENT_API GitLabConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GitLabConfiguration & WithProjectPath(ProjectPathT &&value)
GitLabConfiguration & WithProjectId(ProjectIdT &&value)
GitLabConfiguration & WithInstanceIdentifier(InstanceIdentifierT &&value)
AWS_DEVOPSAGENT_API GitLabConfiguration()=default
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInstanceIdentifier(InstanceIdentifierT &&value)
AWS_DEVOPSAGENT_API GitLabConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue