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>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
63 template<
typename CodebuildRoleArnT = Aws::String>
64 void SetCodebuildRoleArn(CodebuildRoleArnT&& value) { m_codebuildRoleArnHasBeenSet =
true; m_codebuildRoleArn = std::forward<CodebuildRoleArnT>(value); }
65 template<
typename CodebuildRoleArnT = Aws::String>
83 template<
typename ComponentRoleArnT = Aws::String>
84 void SetComponentRoleArn(ComponentRoleArnT&& value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn = std::forward<ComponentRoleArnT>(value); }
85 template<
typename ComponentRoleArnT = Aws::String>
96 template<
typename EnvironmentAccountIdT = Aws::String>
97 void SetEnvironmentAccountId(EnvironmentAccountIdT&& value) { m_environmentAccountIdHasBeenSet =
true; m_environmentAccountId = std::forward<EnvironmentAccountIdT>(value); }
98 template<
typename EnvironmentAccountIdT = Aws::String>
109 template<
typename EnvironmentNameT = Aws::String>
110 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
111 template<
typename EnvironmentNameT = Aws::String>
121 template<
typename IdT = Aws::String>
122 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
123 template<
typename IdT = Aws::String>
133 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
134 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
135 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
146 template<
typename ManagementAccountIdT = Aws::String>
147 void SetManagementAccountId(ManagementAccountIdT&& value) { m_managementAccountIdHasBeenSet =
true; m_managementAccountId = std::forward<ManagementAccountIdT>(value); }
148 template<
typename ManagementAccountIdT = Aws::String>
158 template<
typename RequestedAtT = Aws::Utils::DateTime>
159 void SetRequestedAt(RequestedAtT&& value) { m_requestedAtHasBeenSet =
true; m_requestedAt = std::forward<RequestedAtT>(value); }
160 template<
typename RequestedAtT = Aws::Utils::DateTime>
171 template<
typename RoleArnT = Aws::String>
172 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
173 template<
typename RoleArnT = Aws::String>
189 bool m_arnHasBeenSet =
false;
192 bool m_codebuildRoleArnHasBeenSet =
false;
195 bool m_componentRoleArnHasBeenSet =
false;
198 bool m_environmentAccountIdHasBeenSet =
false;
201 bool m_environmentNameHasBeenSet =
false;
204 bool m_idHasBeenSet =
false;
207 bool m_lastModifiedAtHasBeenSet =
false;
210 bool m_managementAccountIdHasBeenSet =
false;
213 bool m_requestedAtHasBeenSet =
false;
216 bool m_roleArnHasBeenSet =
false;
219 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