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); }
67 inline void SetCodebuildRoleArn(
const char* value) { m_codebuildRoleArnHasBeenSet =
true; m_codebuildRoleArn.assign(value); }
89 inline void SetComponentRoleArn(
const char* value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn.assign(value); }
104 inline void SetEnvironmentAccountId(
const char* value) { m_environmentAccountIdHasBeenSet =
true; m_environmentAccountId.assign(value); }
119 inline void SetEnvironmentName(
const char* value) { m_environmentNameHasBeenSet =
true; m_environmentName.assign(value); }
133 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
160 inline void SetManagementAccountId(
const char* value) { m_managementAccountIdHasBeenSet =
true; m_managementAccountId.assign(value); }
187 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
207 bool m_arnHasBeenSet =
false;
210 bool m_codebuildRoleArnHasBeenSet =
false;
213 bool m_componentRoleArnHasBeenSet =
false;
216 bool m_environmentAccountIdHasBeenSet =
false;
219 bool m_environmentNameHasBeenSet =
false;
222 bool m_idHasBeenSet =
false;
225 bool m_lastModifiedAtHasBeenSet =
false;
228 bool m_managementAccountIdHasBeenSet =
false;
231 bool m_requestedAtHasBeenSet =
false;
234 bool m_roleArnHasBeenSet =
false;
237 bool m_statusHasBeenSet =
false;
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(const Aws::String &value)
const Aws::Utils::DateTime & GetRequestedAt() const
void SetEnvironmentAccountId(const char *value)
const Aws::String & GetEnvironmentName() const
void SetEnvironmentName(Aws::String &&value)
bool EnvironmentAccountIdHasBeenSet() const
bool ArnHasBeenSet() const
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
void SetArn(Aws::String &&value)
AWS_PROTON_API EnvironmentAccountConnection()
void SetRequestedAt(Aws::Utils::DateTime &&value)
EnvironmentAccountConnection & WithEnvironmentAccountId(const char *value)
bool EnvironmentNameHasBeenSet() const
void SetEnvironmentName(const Aws::String &value)
const Aws::String & GetEnvironmentAccountId() const
void SetId(const Aws::String &value)
EnvironmentAccountConnection & WithManagementAccountId(const Aws::String &value)
void SetManagementAccountId(Aws::String &&value)
bool RoleArnHasBeenSet() const
void SetEnvironmentAccountId(const Aws::String &value)
void SetManagementAccountId(const Aws::String &value)
bool ManagementAccountIdHasBeenSet() const
EnvironmentAccountConnection & WithManagementAccountId(Aws::String &&value)
EnvironmentAccountConnection & WithCodebuildRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithEnvironmentName(Aws::String &&value)
EnvironmentAccountConnection & WithArn(Aws::String &&value)
void SetId(const char *value)
EnvironmentAccountConnection & WithRequestedAt(Aws::Utils::DateTime &&value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
EnvironmentAccountConnection & WithCodebuildRoleArn(const Aws::String &value)
const Aws::String & GetComponentRoleArn() const
EnvironmentAccountConnection & WithEnvironmentName(const Aws::String &value)
const Aws::String & GetArn() const
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetRoleArn() const
void SetRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithEnvironmentName(const char *value)
bool ComponentRoleArnHasBeenSet() const
EnvironmentAccountConnection & WithComponentRoleArn(const char *value)
void SetComponentRoleArn(const Aws::String &value)
const Aws::String & GetManagementAccountId() const
EnvironmentAccountConnection & WithComponentRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithManagementAccountId(const char *value)
EnvironmentAccountConnection & WithComponentRoleArn(const Aws::String &value)
EnvironmentAccountConnection & WithArn(const Aws::String &value)
void SetCodebuildRoleArn(const char *value)
void SetArn(const char *value)
EnvironmentAccountConnection & WithId(const char *value)
bool StatusHasBeenSet() const
void SetStatus(EnvironmentAccountConnectionStatus &&value)
bool RequestedAtHasBeenSet() const
EnvironmentAccountConnection & WithLastModifiedAt(Aws::Utils::DateTime &&value)
void SetEnvironmentAccountId(Aws::String &&value)
const Aws::String & GetCodebuildRoleArn() const
EnvironmentAccountConnection & WithRequestedAt(const Aws::Utils::DateTime &value)
const EnvironmentAccountConnectionStatus & GetStatus() const
EnvironmentAccountConnection & WithEnvironmentAccountId(Aws::String &&value)
void SetComponentRoleArn(Aws::String &&value)
AWS_PROTON_API EnvironmentAccountConnection(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnection & WithStatus(EnvironmentAccountConnectionStatus &&value)
void SetEnvironmentName(const char *value)
void SetRequestedAt(const Aws::Utils::DateTime &value)
bool CodebuildRoleArnHasBeenSet() const
AWS_PROTON_API EnvironmentAccountConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentAccountConnection & WithArn(const char *value)
EnvironmentAccountConnection & WithCodebuildRoleArn(const char *value)
EnvironmentAccountConnection & WithRoleArn(const char *value)
EnvironmentAccountConnection & WithRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithRoleArn(const Aws::String &value)
void SetManagementAccountId(const char *value)
void SetId(Aws::String &&value)
const Aws::String & GetId() const
EnvironmentAccountConnection & WithEnvironmentAccountId(const Aws::String &value)
void SetCodebuildRoleArn(Aws::String &&value)
EnvironmentAccountConnection & WithStatus(const EnvironmentAccountConnectionStatus &value)
void SetCodebuildRoleArn(const Aws::String &value)
EnvironmentAccountConnection & WithId(const Aws::String &value)
void SetComponentRoleArn(const char *value)
void SetStatus(const EnvironmentAccountConnectionStatus &value)
bool IdHasBeenSet() const
void SetRoleArn(const char *value)
EnvironmentAccountConnection & WithId(Aws::String &&value)
EnvironmentAccountConnection & WithLastModifiedAt(const Aws::Utils::DateTime &value)
bool LastModifiedAtHasBeenSet() const
EnvironmentAccountConnectionStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue