AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnvironmentAccountConnection.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/EnvironmentAccountConnectionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Proton
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline EnvironmentAccountConnection& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline EnvironmentAccountConnection& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline EnvironmentAccountConnection& WithArn(const char* value) { SetArn(value); return *this;}
56
58
63 inline const Aws::String& GetCodebuildRoleArn() const{ return m_codebuildRoleArn; }
64 inline bool CodebuildRoleArnHasBeenSet() const { return m_codebuildRoleArnHasBeenSet; }
65 inline void SetCodebuildRoleArn(const Aws::String& value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn = value; }
66 inline void SetCodebuildRoleArn(Aws::String&& value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn = std::move(value); }
67 inline void SetCodebuildRoleArn(const char* value) { m_codebuildRoleArnHasBeenSet = true; m_codebuildRoleArn.assign(value); }
69 inline EnvironmentAccountConnection& WithCodebuildRoleArn(Aws::String&& value) { SetCodebuildRoleArn(std::move(value)); return *this;}
70 inline EnvironmentAccountConnection& WithCodebuildRoleArn(const char* value) { SetCodebuildRoleArn(value); return *this;}
72
74
85 inline const Aws::String& GetComponentRoleArn() const{ return m_componentRoleArn; }
86 inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; }
87 inline void SetComponentRoleArn(const Aws::String& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = value; }
88 inline void SetComponentRoleArn(Aws::String&& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = std::move(value); }
89 inline void SetComponentRoleArn(const char* value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn.assign(value); }
91 inline EnvironmentAccountConnection& WithComponentRoleArn(Aws::String&& value) { SetComponentRoleArn(std::move(value)); return *this;}
92 inline EnvironmentAccountConnection& WithComponentRoleArn(const char* value) { SetComponentRoleArn(value); return *this;}
94
96
100 inline const Aws::String& GetEnvironmentAccountId() const{ return m_environmentAccountId; }
101 inline bool EnvironmentAccountIdHasBeenSet() const { return m_environmentAccountIdHasBeenSet; }
102 inline void SetEnvironmentAccountId(const Aws::String& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = value; }
103 inline void SetEnvironmentAccountId(Aws::String&& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = std::move(value); }
104 inline void SetEnvironmentAccountId(const char* value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId.assign(value); }
107 inline EnvironmentAccountConnection& WithEnvironmentAccountId(const char* value) { SetEnvironmentAccountId(value); return *this;}
109
111
115 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
116 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
117 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
118 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
119 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
121 inline EnvironmentAccountConnection& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
122 inline EnvironmentAccountConnection& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
124
126
129 inline const Aws::String& GetId() const{ return m_id; }
130 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
131 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
132 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
133 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
134 inline EnvironmentAccountConnection& WithId(const Aws::String& value) { SetId(value); return *this;}
135 inline EnvironmentAccountConnection& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
136 inline EnvironmentAccountConnection& WithId(const char* value) { SetId(value); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
144 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
145 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
146 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
150
152
156 inline const Aws::String& GetManagementAccountId() const{ return m_managementAccountId; }
157 inline bool ManagementAccountIdHasBeenSet() const { return m_managementAccountIdHasBeenSet; }
158 inline void SetManagementAccountId(const Aws::String& value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId = value; }
159 inline void SetManagementAccountId(Aws::String&& value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId = std::move(value); }
160 inline void SetManagementAccountId(const char* value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId.assign(value); }
163 inline EnvironmentAccountConnection& WithManagementAccountId(const char* value) { SetManagementAccountId(value); return *this;}
165
167
170 inline const Aws::Utils::DateTime& GetRequestedAt() const{ return m_requestedAt; }
171 inline bool RequestedAtHasBeenSet() const { return m_requestedAtHasBeenSet; }
172 inline void SetRequestedAt(const Aws::Utils::DateTime& value) { m_requestedAtHasBeenSet = true; m_requestedAt = value; }
173 inline void SetRequestedAt(Aws::Utils::DateTime&& value) { m_requestedAtHasBeenSet = true; m_requestedAt = std::move(value); }
175 inline EnvironmentAccountConnection& WithRequestedAt(Aws::Utils::DateTime&& value) { SetRequestedAt(std::move(value)); return *this;}
177
179
183 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
184 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
185 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
186 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
187 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
188 inline EnvironmentAccountConnection& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
189 inline EnvironmentAccountConnection& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
190 inline EnvironmentAccountConnection& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
192
194
197 inline const EnvironmentAccountConnectionStatus& GetStatus() const{ return m_status; }
198 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
199 inline void SetStatus(const EnvironmentAccountConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
200 inline void SetStatus(EnvironmentAccountConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
202 inline EnvironmentAccountConnection& WithStatus(EnvironmentAccountConnectionStatus&& value) { SetStatus(std::move(value)); return *this;}
204 private:
205
206 Aws::String m_arn;
207 bool m_arnHasBeenSet = false;
208
209 Aws::String m_codebuildRoleArn;
210 bool m_codebuildRoleArnHasBeenSet = false;
211
212 Aws::String m_componentRoleArn;
213 bool m_componentRoleArnHasBeenSet = false;
214
215 Aws::String m_environmentAccountId;
216 bool m_environmentAccountIdHasBeenSet = false;
217
218 Aws::String m_environmentName;
219 bool m_environmentNameHasBeenSet = false;
220
221 Aws::String m_id;
222 bool m_idHasBeenSet = false;
223
224 Aws::Utils::DateTime m_lastModifiedAt;
225 bool m_lastModifiedAtHasBeenSet = false;
226
227 Aws::String m_managementAccountId;
228 bool m_managementAccountIdHasBeenSet = false;
229
230 Aws::Utils::DateTime m_requestedAt;
231 bool m_requestedAtHasBeenSet = false;
232
233 Aws::String m_roleArn;
234 bool m_roleArnHasBeenSet = false;
235
237 bool m_statusHasBeenSet = false;
238 };
239
240} // namespace Model
241} // namespace Proton
242} // namespace Aws
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentAccountConnection & WithEnvironmentAccountId(const char *value)
EnvironmentAccountConnection & WithManagementAccountId(const Aws::String &value)
EnvironmentAccountConnection & WithManagementAccountId(Aws::String &&value)
EnvironmentAccountConnection & WithCodebuildRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithEnvironmentName(Aws::String &&value)
EnvironmentAccountConnection & WithArn(Aws::String &&value)
EnvironmentAccountConnection & WithRequestedAt(Aws::Utils::DateTime &&value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentAccountConnection & WithCodebuildRoleArn(const Aws::String &value)
EnvironmentAccountConnection & WithEnvironmentName(const Aws::String &value)
EnvironmentAccountConnection & WithEnvironmentName(const char *value)
EnvironmentAccountConnection & WithComponentRoleArn(const char *value)
EnvironmentAccountConnection & WithComponentRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithManagementAccountId(const char *value)
EnvironmentAccountConnection & WithComponentRoleArn(const Aws::String &value)
EnvironmentAccountConnection & WithArn(const Aws::String &value)
EnvironmentAccountConnection & WithId(const char *value)
void SetStatus(EnvironmentAccountConnectionStatus &&value)
EnvironmentAccountConnection & WithLastModifiedAt(Aws::Utils::DateTime &&value)
EnvironmentAccountConnection & WithRequestedAt(const Aws::Utils::DateTime &value)
const EnvironmentAccountConnectionStatus & GetStatus() const
EnvironmentAccountConnection & WithEnvironmentAccountId(Aws::String &&value)
AWS_PROTON_API EnvironmentAccountConnection(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnection & WithStatus(EnvironmentAccountConnectionStatus &&value)
AWS_PROTON_API EnvironmentAccountConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnection & WithArn(const char *value)
EnvironmentAccountConnection & WithCodebuildRoleArn(const char *value)
EnvironmentAccountConnection & WithRoleArn(const char *value)
EnvironmentAccountConnection & WithRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithRoleArn(const Aws::String &value)
EnvironmentAccountConnection & WithEnvironmentAccountId(const Aws::String &value)
EnvironmentAccountConnection & WithStatus(const EnvironmentAccountConnectionStatus &value)
EnvironmentAccountConnection & WithId(const Aws::String &value)
void SetStatus(const EnvironmentAccountConnectionStatus &value)
EnvironmentAccountConnection & WithId(Aws::String &&value)
EnvironmentAccountConnection & WithLastModifiedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue