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>
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
63 template <
typename CodebuildRoleArnT = Aws::String>
65 m_codebuildRoleArnHasBeenSet =
true;
66 m_codebuildRoleArn = std::forward<CodebuildRoleArnT>(value);
68 template <
typename CodebuildRoleArnT = Aws::String>
89 template <
typename ComponentRoleArnT = Aws::String>
91 m_componentRoleArnHasBeenSet =
true;
92 m_componentRoleArn = std::forward<ComponentRoleArnT>(value);
94 template <
typename ComponentRoleArnT = Aws::String>
108 template <
typename EnvironmentAccountIdT = Aws::String>
110 m_environmentAccountIdHasBeenSet =
true;
111 m_environmentAccountId = std::forward<EnvironmentAccountIdT>(value);
113 template <
typename EnvironmentAccountIdT = Aws::String>
127 template <
typename EnvironmentNameT = Aws::String>
129 m_environmentNameHasBeenSet =
true;
130 m_environmentName = std::forward<EnvironmentNameT>(value);
132 template <
typename EnvironmentNameT = Aws::String>
145 template <
typename IdT = Aws::String>
147 m_idHasBeenSet =
true;
148 m_id = std::forward<IdT>(value);
150 template <
typename IdT = Aws::String>
152 SetId(std::forward<IdT>(value));
163 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
165 m_lastModifiedAtHasBeenSet =
true;
166 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
168 template <
typename LastModifiedAtT = Aws::Utils::DateTime>
182 template <
typename ManagementAccountIdT = Aws::String>
184 m_managementAccountIdHasBeenSet =
true;
185 m_managementAccountId = std::forward<ManagementAccountIdT>(value);
187 template <
typename ManagementAccountIdT = Aws::String>
200 template <
typename RequestedAtT = Aws::Utils::DateTime>
202 m_requestedAtHasBeenSet =
true;
203 m_requestedAt = std::forward<RequestedAtT>(value);
205 template <
typename RequestedAtT = Aws::Utils::DateTime>
219 template <
typename RoleArnT = Aws::String>
221 m_roleArnHasBeenSet =
true;
222 m_roleArn = std::forward<RoleArnT>(value);
224 template <
typename RoleArnT = Aws::String>
238 m_statusHasBeenSet =
true;
268 bool m_arnHasBeenSet =
false;
269 bool m_codebuildRoleArnHasBeenSet =
false;
270 bool m_componentRoleArnHasBeenSet =
false;
271 bool m_environmentAccountIdHasBeenSet =
false;
272 bool m_environmentNameHasBeenSet =
false;
273 bool m_idHasBeenSet =
false;
274 bool m_lastModifiedAtHasBeenSet =
false;
275 bool m_managementAccountIdHasBeenSet =
false;
276 bool m_requestedAtHasBeenSet =
false;
277 bool m_roleArnHasBeenSet =
false;
278 bool m_statusHasBeenSet =
false;
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentAccountConnection & WithManagementAccountId(ManagementAccountIdT &&value)
const Aws::Utils::DateTime & GetRequestedAt() const
void SetEnvironmentName(EnvironmentNameT &&value)
const Aws::String & GetEnvironmentName() const
bool EnvironmentAccountIdHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
bool EnvironmentNameHasBeenSet() const
const Aws::String & GetEnvironmentAccountId() const
void SetComponentRoleArn(ComponentRoleArnT &&value)
bool RoleArnHasBeenSet() const
EnvironmentAccountConnection & WithRoleArn(RoleArnT &&value)
EnvironmentAccountConnection & WithId(IdT &&value)
void SetManagementAccountId(ManagementAccountIdT &&value)
bool ManagementAccountIdHasBeenSet() const
void SetLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetComponentRoleArn() const
void SetArn(ArnT &&value)
EnvironmentAccountConnection & WithEnvironmentAccountId(EnvironmentAccountIdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetRoleArn() const
void SetCodebuildRoleArn(CodebuildRoleArnT &&value)
bool ComponentRoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
EnvironmentAccountConnection & WithLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetManagementAccountId() const
void SetEnvironmentAccountId(EnvironmentAccountIdT &&value)
void SetRequestedAt(RequestedAtT &&value)
EnvironmentAccountConnection & WithArn(ArnT &&value)
void SetStatus(EnvironmentAccountConnectionStatus value)
bool StatusHasBeenSet() const
EnvironmentAccountConnection & WithStatus(EnvironmentAccountConnectionStatus value)
bool RequestedAtHasBeenSet() const
const Aws::String & GetCodebuildRoleArn() const
EnvironmentAccountConnectionStatus GetStatus() const
EnvironmentAccountConnection & WithCodebuildRoleArn(CodebuildRoleArnT &&value)
AWS_PROTON_API EnvironmentAccountConnection(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnection & WithEnvironmentName(EnvironmentNameT &&value)
bool CodebuildRoleArnHasBeenSet() const
AWS_PROTON_API EnvironmentAccountConnection()=default
AWS_PROTON_API EnvironmentAccountConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnection & WithRequestedAt(RequestedAtT &&value)
const Aws::String & GetId() const
EnvironmentAccountConnection & WithComponentRoleArn(ComponentRoleArnT &&value)
bool IdHasBeenSet() const
bool LastModifiedAtHasBeenSet() const
EnvironmentAccountConnectionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue