/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary data of an Proton environment account connection
* resource.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the environment account connection.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the environment account connection.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the environment account connection.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the environment account connection.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the environment account connection.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline const Aws::String& GetComponentRoleArn() const{ return m_componentRoleArn; } /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline bool ComponentRoleArnHasBeenSet() const { return m_componentRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline void SetComponentRoleArn(const Aws::String& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline void SetComponentRoleArn(Aws::String&& value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline void SetComponentRoleArn(const char* value) { m_componentRoleArnHasBeenSet = true; m_componentRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline EnvironmentAccountConnectionSummary& WithComponentRoleArn(const Aws::String& value) { SetComponentRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline EnvironmentAccountConnectionSummary& WithComponentRoleArn(Aws::String&& value) { SetComponentRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM service role that Proton uses when * provisioning directly defined components in the associated environment account. * It determines the scope of infrastructure that a component can provision in the * account.
The environment account connection must have a
* componentRoleArn
to allow directly defined components to be
* associated with any environments running in the account.
For more * information about components, see Proton * components in the Proton User Guide.
*/ inline EnvironmentAccountConnectionSummary& WithComponentRoleArn(const char* value) { SetComponentRoleArn(value); return *this;} /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline const Aws::String& GetEnvironmentAccountId() const{ return m_environmentAccountId; } /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline bool EnvironmentAccountIdHasBeenSet() const { return m_environmentAccountIdHasBeenSet; } /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline void SetEnvironmentAccountId(const Aws::String& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = value; } /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline void SetEnvironmentAccountId(Aws::String&& value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId = std::move(value); } /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline void SetEnvironmentAccountId(const char* value) { m_environmentAccountIdHasBeenSet = true; m_environmentAccountId.assign(value); } /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithEnvironmentAccountId(const Aws::String& value) { SetEnvironmentAccountId(value); return *this;} /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithEnvironmentAccountId(Aws::String&& value) { SetEnvironmentAccountId(std::move(value)); return *this;} /** *The ID of the environment account that's connected to the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithEnvironmentAccountId(const char* value) { SetEnvironmentAccountId(value); return *this;} /** *The name of the environment that's associated with the environment account * connection.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The name of the environment that's associated with the environment account * connection.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *The name of the environment that's associated with the environment account * connection.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *The name of the environment that's associated with the environment account * connection.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *The name of the environment that's associated with the environment account * connection.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *The name of the environment that's associated with the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The name of the environment that's associated with the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The name of the environment that's associated with the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The ID of the environment account connection.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the environment account connection.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the environment account connection.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the environment account connection.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the environment account connection.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithId(const char* value) { SetId(value); return *this;} /** *The time when the environment account connection was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; } /** *The time when the environment account connection was last modified.
*/ inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; } /** *The time when the environment account connection was last modified.
*/ inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; } /** *The time when the environment account connection was last modified.
*/ inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); } /** *The time when the environment account connection was last modified.
*/ inline EnvironmentAccountConnectionSummary& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;} /** *The time when the environment account connection was last modified.
*/ inline EnvironmentAccountConnectionSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;} /** *The ID of the management account that's connected to the environment account * connection.
*/ inline const Aws::String& GetManagementAccountId() const{ return m_managementAccountId; } /** *The ID of the management account that's connected to the environment account * connection.
*/ inline bool ManagementAccountIdHasBeenSet() const { return m_managementAccountIdHasBeenSet; } /** *The ID of the management account that's connected to the environment account * connection.
*/ inline void SetManagementAccountId(const Aws::String& value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId = value; } /** *The ID of the management account that's connected to the environment account * connection.
*/ inline void SetManagementAccountId(Aws::String&& value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId = std::move(value); } /** *The ID of the management account that's connected to the environment account * connection.
*/ inline void SetManagementAccountId(const char* value) { m_managementAccountIdHasBeenSet = true; m_managementAccountId.assign(value); } /** *The ID of the management account that's connected to the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithManagementAccountId(const Aws::String& value) { SetManagementAccountId(value); return *this;} /** *The ID of the management account that's connected to the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithManagementAccountId(Aws::String&& value) { SetManagementAccountId(std::move(value)); return *this;} /** *The ID of the management account that's connected to the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithManagementAccountId(const char* value) { SetManagementAccountId(value); return *this;} /** *The time when the environment account connection request was made.
*/ inline const Aws::Utils::DateTime& GetRequestedAt() const{ return m_requestedAt; } /** *The time when the environment account connection request was made.
*/ inline bool RequestedAtHasBeenSet() const { return m_requestedAtHasBeenSet; } /** *The time when the environment account connection request was made.
*/ inline void SetRequestedAt(const Aws::Utils::DateTime& value) { m_requestedAtHasBeenSet = true; m_requestedAt = value; } /** *The time when the environment account connection request was made.
*/ inline void SetRequestedAt(Aws::Utils::DateTime&& value) { m_requestedAtHasBeenSet = true; m_requestedAt = std::move(value); } /** *The time when the environment account connection request was made.
*/ inline EnvironmentAccountConnectionSummary& WithRequestedAt(const Aws::Utils::DateTime& value) { SetRequestedAt(value); return *this;} /** *The time when the environment account connection request was made.
*/ inline EnvironmentAccountConnectionSummary& WithRequestedAt(Aws::Utils::DateTime&& value) { SetRequestedAt(std::move(value)); return *this;} /** *The IAM service role that's associated with the environment account * connection.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The IAM service role that's associated with the environment account * connection.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The IAM service role that's associated with the environment account * connection.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The IAM service role that's associated with the environment account * connection.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The IAM service role that's associated with the environment account * connection.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The IAM service role that's associated with the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The IAM service role that's associated with the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The IAM service role that's associated with the environment account * connection.
*/ inline EnvironmentAccountConnectionSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The status of the environment account connection.
*/ inline const EnvironmentAccountConnectionStatus& GetStatus() const{ return m_status; } /** *The status of the environment account connection.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the environment account connection.
*/ inline void SetStatus(const EnvironmentAccountConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the environment account connection.
*/ inline void SetStatus(EnvironmentAccountConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithStatus(const EnvironmentAccountConnectionStatus& value) { SetStatus(value); return *this;} /** *The status of the environment account connection.
*/ inline EnvironmentAccountConnectionSummary& WithStatus(EnvironmentAccountConnectionStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_componentRoleArn; bool m_componentRoleArnHasBeenSet = false; Aws::String m_environmentAccountId; bool m_environmentAccountIdHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedAt; bool m_lastModifiedAtHasBeenSet = false; Aws::String m_managementAccountId; bool m_managementAccountIdHasBeenSet = false; Aws::Utils::DateTime m_requestedAt; bool m_requestedAtHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; EnvironmentAccountConnectionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws