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>
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); }
73 inline void SetComponentRoleArn(
const char* value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn.assign(value); }
88 inline void SetEnvironmentAccountId(
const char* value) { m_environmentAccountIdHasBeenSet =
true; m_environmentAccountId.assign(value); }
103 inline void SetEnvironmentName(
const char* value) { m_environmentNameHasBeenSet =
true; m_environmentName.assign(value); }
117 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
144 inline void SetManagementAccountId(
const char* value) { m_managementAccountIdHasBeenSet =
true; m_managementAccountId.assign(value); }
171 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
191 bool m_arnHasBeenSet =
false;
194 bool m_componentRoleArnHasBeenSet =
false;
197 bool m_environmentAccountIdHasBeenSet =
false;
200 bool m_environmentNameHasBeenSet =
false;
203 bool m_idHasBeenSet =
false;
206 bool m_lastModifiedAtHasBeenSet =
false;
209 bool m_managementAccountIdHasBeenSet =
false;
212 bool m_requestedAtHasBeenSet =
false;
215 bool m_roleArnHasBeenSet =
false;
218 bool m_statusHasBeenSet =
false;
EnvironmentAccountConnectionSummary & WithId(const char *value)
EnvironmentAccountConnectionSummary & WithLastModifiedAt(const Aws::Utils::DateTime &value)
void SetArn(const char *value)
AWS_PROTON_API EnvironmentAccountConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
bool ComponentRoleArnHasBeenSet() const
EnvironmentAccountConnectionSummary & WithEnvironmentName(const char *value)
EnvironmentAccountConnectionSummary & WithArn(Aws::String &&value)
bool ManagementAccountIdHasBeenSet() const
bool RoleArnHasBeenSet() const
EnvironmentAccountConnectionSummary & WithRequestedAt(Aws::Utils::DateTime &&value)
void SetRequestedAt(const Aws::Utils::DateTime &value)
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(const Aws::String &value)
void SetId(Aws::String &&value)
void SetEnvironmentAccountId(Aws::String &&value)
AWS_PROTON_API EnvironmentAccountConnectionSummary()
EnvironmentAccountConnectionSummary & WithRequestedAt(const Aws::Utils::DateTime &value)
EnvironmentAccountConnectionSummary & WithLastModifiedAt(Aws::Utils::DateTime &&value)
void SetStatus(EnvironmentAccountConnectionStatus &&value)
EnvironmentAccountConnectionSummary & WithEnvironmentName(Aws::String &&value)
void SetEnvironmentName(const char *value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(const char *value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
EnvironmentAccountConnectionSummary & WithRoleArn(Aws::String &&value)
const EnvironmentAccountConnectionStatus & GetStatus() const
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::String & GetArn() const
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(const char *value)
EnvironmentAccountConnectionSummary & WithArn(const char *value)
bool RequestedAtHasBeenSet() const
void SetEnvironmentAccountId(const Aws::String &value)
void SetComponentRoleArn(const char *value)
const Aws::String & GetRoleArn() const
const Aws::String & GetEnvironmentAccountId() const
const Aws::String & GetManagementAccountId() const
EnvironmentAccountConnectionSummary & WithId(Aws::String &&value)
const Aws::String & GetEnvironmentName() const
EnvironmentAccountConnectionSummary & WithArn(const Aws::String &value)
bool ArnHasBeenSet() const
const Aws::String & GetId() const
void SetComponentRoleArn(const Aws::String &value)
void SetArn(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithEnvironmentName(const Aws::String &value)
void SetManagementAccountId(const char *value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
void SetComponentRoleArn(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(const char *value)
EnvironmentAccountConnectionSummary & WithStatus(EnvironmentAccountConnectionStatus &&value)
void SetId(const Aws::String &value)
void SetRequestedAt(Aws::Utils::DateTime &&value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithRoleArn(const char *value)
bool EnvironmentNameHasBeenSet() const
const Aws::String & GetComponentRoleArn() const
EnvironmentAccountConnectionSummary & WithStatus(const EnvironmentAccountConnectionStatus &value)
void SetEnvironmentName(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(const Aws::String &value)
void SetEnvironmentName(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithId(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithRoleArn(const Aws::String &value)
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithManagementAccountId(Aws::String &&value)
void SetStatus(const EnvironmentAccountConnectionStatus &value)
bool EnvironmentAccountIdHasBeenSet() const
void SetRoleArn(const Aws::String &value)
void SetId(const char *value)
void SetEnvironmentAccountId(const char *value)
void SetRoleArn(Aws::String &&value)
void SetManagementAccountId(Aws::String &&value)
EnvironmentAccountConnectionSummary & WithEnvironmentAccountId(const char *value)
EnvironmentAccountConnectionSummary & WithComponentRoleArn(const Aws::String &value)
AWS_PROTON_API EnvironmentAccountConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
bool LastModifiedAtHasBeenSet() const
const Aws::Utils::DateTime & GetRequestedAt() const
void SetManagementAccountId(const Aws::String &value)
EnvironmentAccountConnectionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue