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>
69 template<
typename ComponentRoleArnT = Aws::String>
70 void SetComponentRoleArn(ComponentRoleArnT&& value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn = std::forward<ComponentRoleArnT>(value); }
71 template<
typename ComponentRoleArnT = Aws::String>
82 template<
typename EnvironmentAccountIdT = Aws::String>
83 void SetEnvironmentAccountId(EnvironmentAccountIdT&& value) { m_environmentAccountIdHasBeenSet =
true; m_environmentAccountId = std::forward<EnvironmentAccountIdT>(value); }
84 template<
typename EnvironmentAccountIdT = Aws::String>
95 template<
typename EnvironmentNameT = Aws::String>
96 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
97 template<
typename EnvironmentNameT = Aws::String>
107 template<
typename IdT = Aws::String>
108 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
109 template<
typename IdT = Aws::String>
119 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
120 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
121 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
132 template<
typename ManagementAccountIdT = Aws::String>
133 void SetManagementAccountId(ManagementAccountIdT&& value) { m_managementAccountIdHasBeenSet =
true; m_managementAccountId = std::forward<ManagementAccountIdT>(value); }
134 template<
typename ManagementAccountIdT = Aws::String>
144 template<
typename RequestedAtT = Aws::Utils::DateTime>
145 void SetRequestedAt(RequestedAtT&& value) { m_requestedAtHasBeenSet =
true; m_requestedAt = std::forward<RequestedAtT>(value); }
146 template<
typename RequestedAtT = Aws::Utils::DateTime>
157 template<
typename RoleArnT = Aws::String>
158 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
159 template<
typename RoleArnT = Aws::String>
175 bool m_arnHasBeenSet =
false;
178 bool m_componentRoleArnHasBeenSet =
false;
181 bool m_environmentAccountIdHasBeenSet =
false;
184 bool m_environmentNameHasBeenSet =
false;
187 bool m_idHasBeenSet =
false;
190 bool m_lastModifiedAtHasBeenSet =
false;
193 bool m_managementAccountIdHasBeenSet =
false;
196 bool m_requestedAtHasBeenSet =
false;
199 bool m_roleArnHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(EnvironmentAccountIdT &&value)
AWS_PROTON_API EnvironmentAccountConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
bool ComponentRoleArnHasBeenSet() const
EnvironmentAccountConnectionSummary & WithRoleArn(RoleArnT &&value)
bool ManagementAccountIdHasBeenSet() const
bool RoleArnHasBeenSet() const
EnvironmentAccountConnectionSummary & WithComponentRoleArn(ComponentRoleArnT &&value)
AWS_PROTON_API EnvironmentAccountConnectionSummary()=default
void SetRequestedAt(RequestedAtT &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
bool IdHasBeenSet() const
EnvironmentAccountConnectionSummary & WithArn(ArnT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetArn() const
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedAt(LastModifiedAtT &&value)
void SetRoleArn(RoleArnT &&value)
bool RequestedAtHasBeenSet() const
const Aws::String & GetRoleArn() const
const Aws::String & GetEnvironmentAccountId() const
const Aws::String & GetManagementAccountId() const
EnvironmentAccountConnectionSummary & WithLastModifiedAt(LastModifiedAtT &&value)
const Aws::String & GetEnvironmentName() const
bool ArnHasBeenSet() const
const Aws::String & GetId() const
EnvironmentAccountConnectionSummary & WithRequestedAt(RequestedAtT &&value)
EnvironmentAccountConnectionSummary & WithEnvironmentName(EnvironmentNameT &&value)
void SetEnvironmentAccountId(EnvironmentAccountIdT &&value)
bool EnvironmentNameHasBeenSet() const
const Aws::String & GetComponentRoleArn() const
EnvironmentAccountConnectionSummary & WithId(IdT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(ManagementAccountIdT &&value)
bool EnvironmentAccountIdHasBeenSet() const
EnvironmentAccountConnectionSummary & WithStatus(EnvironmentAccountConnectionStatus value)
void SetStatus(EnvironmentAccountConnectionStatus value)
AWS_PROTON_API EnvironmentAccountConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastModifiedAtHasBeenSet() const
void SetComponentRoleArn(ComponentRoleArnT &&value)
const Aws::Utils::DateTime & GetRequestedAt() const
EnvironmentAccountConnectionStatus GetStatus() const
void SetManagementAccountId(ManagementAccountIdT &&value)
void SetArn(ArnT &&value)
EnvironmentAccountConnectionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue