AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
EnvironmentAccountConnectionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/Proton_EXPORTS.h>
10#include <aws/proton/model/EnvironmentAccountConnectionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Proton {
22namespace Model {
23
31 public:
32 AWS_PROTON_API EnvironmentAccountConnectionSummary() = default;
35 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
67 inline const Aws::String& GetComponentRoleArn() const { return m_componentRoleArn; }
68 inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; }
69 template <typename ComponentRoleArnT = Aws::String>
70 void SetComponentRoleArn(ComponentRoleArnT&& value) {
71 m_componentRoleArnHasBeenSet = true;
72 m_componentRoleArn = std::forward<ComponentRoleArnT>(value);
73 }
74 template <typename ComponentRoleArnT = Aws::String>
76 SetComponentRoleArn(std::forward<ComponentRoleArnT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetEnvironmentAccountId() const { return m_environmentAccountId; }
87 inline bool EnvironmentAccountIdHasBeenSet() const { return m_environmentAccountIdHasBeenSet; }
88 template <typename EnvironmentAccountIdT = Aws::String>
89 void SetEnvironmentAccountId(EnvironmentAccountIdT&& value) {
90 m_environmentAccountIdHasBeenSet = true;
91 m_environmentAccountId = std::forward<EnvironmentAccountIdT>(value);
92 }
93 template <typename EnvironmentAccountIdT = Aws::String>
95 SetEnvironmentAccountId(std::forward<EnvironmentAccountIdT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
106 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
107 template <typename EnvironmentNameT = Aws::String>
108 void SetEnvironmentName(EnvironmentNameT&& value) {
109 m_environmentNameHasBeenSet = true;
110 m_environmentName = std::forward<EnvironmentNameT>(value);
111 }
112 template <typename EnvironmentNameT = Aws::String>
114 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetId() const { return m_id; }
124 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
125 template <typename IdT = Aws::String>
126 void SetId(IdT&& value) {
127 m_idHasBeenSet = true;
128 m_id = std::forward<IdT>(value);
129 }
130 template <typename IdT = Aws::String>
132 SetId(std::forward<IdT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
142 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
143 template <typename LastModifiedAtT = Aws::Utils::DateTime>
144 void SetLastModifiedAt(LastModifiedAtT&& value) {
145 m_lastModifiedAtHasBeenSet = true;
146 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
147 }
148 template <typename LastModifiedAtT = Aws::Utils::DateTime>
150 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
151 return *this;
152 }
154
156
160 inline const Aws::String& GetManagementAccountId() const { return m_managementAccountId; }
161 inline bool ManagementAccountIdHasBeenSet() const { return m_managementAccountIdHasBeenSet; }
162 template <typename ManagementAccountIdT = Aws::String>
163 void SetManagementAccountId(ManagementAccountIdT&& value) {
164 m_managementAccountIdHasBeenSet = true;
165 m_managementAccountId = std::forward<ManagementAccountIdT>(value);
166 }
167 template <typename ManagementAccountIdT = Aws::String>
169 SetManagementAccountId(std::forward<ManagementAccountIdT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::Utils::DateTime& GetRequestedAt() const { return m_requestedAt; }
179 inline bool RequestedAtHasBeenSet() const { return m_requestedAtHasBeenSet; }
180 template <typename RequestedAtT = Aws::Utils::DateTime>
181 void SetRequestedAt(RequestedAtT&& value) {
182 m_requestedAtHasBeenSet = true;
183 m_requestedAt = std::forward<RequestedAtT>(value);
184 }
185 template <typename RequestedAtT = Aws::Utils::DateTime>
187 SetRequestedAt(std::forward<RequestedAtT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
198 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
199 template <typename RoleArnT = Aws::String>
200 void SetRoleArn(RoleArnT&& value) {
201 m_roleArnHasBeenSet = true;
202 m_roleArn = std::forward<RoleArnT>(value);
203 }
204 template <typename RoleArnT = Aws::String>
206 SetRoleArn(std::forward<RoleArnT>(value));
207 return *this;
208 }
210
212
215 inline EnvironmentAccountConnectionStatus GetStatus() const { return m_status; }
216 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
218 m_statusHasBeenSet = true;
219 m_status = value;
220 }
222 SetStatus(value);
223 return *this;
224 }
226 private:
227 Aws::String m_arn;
228
229 Aws::String m_componentRoleArn;
230
231 Aws::String m_environmentAccountId;
232
233 Aws::String m_environmentName;
234
235 Aws::String m_id;
236
237 Aws::Utils::DateTime m_lastModifiedAt{};
238
239 Aws::String m_managementAccountId;
240
241 Aws::Utils::DateTime m_requestedAt{};
242
243 Aws::String m_roleArn;
244
246 bool m_arnHasBeenSet = false;
247 bool m_componentRoleArnHasBeenSet = false;
248 bool m_environmentAccountIdHasBeenSet = false;
249 bool m_environmentNameHasBeenSet = false;
250 bool m_idHasBeenSet = false;
251 bool m_lastModifiedAtHasBeenSet = false;
252 bool m_managementAccountIdHasBeenSet = false;
253 bool m_requestedAtHasBeenSet = false;
254 bool m_roleArnHasBeenSet = false;
255 bool m_statusHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace Proton
260} // namespace Aws
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(EnvironmentAccountIdT &&value)
AWS_PROTON_API EnvironmentAccountConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnectionSummary & WithRoleArn(RoleArnT &&value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(ComponentRoleArnT &&value)
EnvironmentAccountConnectionSummary & WithArn(ArnT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentAccountConnectionSummary & WithLastModifiedAt(LastModifiedAtT &&value)
EnvironmentAccountConnectionSummary & WithRequestedAt(RequestedAtT &&value)
EnvironmentAccountConnectionSummary & WithEnvironmentName(EnvironmentNameT &&value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(ManagementAccountIdT &&value)
EnvironmentAccountConnectionSummary & WithStatus(EnvironmentAccountConnectionStatus value)
AWS_PROTON_API EnvironmentAccountConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue