/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the authorizations granted to aggregator accounts
* and regions.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the aggregation object.
*/ inline const Aws::String& GetAggregationAuthorizationArn() const{ return m_aggregationAuthorizationArn; } /** *The Amazon Resource Name (ARN) of the aggregation object.
*/ inline bool AggregationAuthorizationArnHasBeenSet() const { return m_aggregationAuthorizationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the aggregation object.
*/ inline void SetAggregationAuthorizationArn(const Aws::String& value) { m_aggregationAuthorizationArnHasBeenSet = true; m_aggregationAuthorizationArn = value; } /** *The Amazon Resource Name (ARN) of the aggregation object.
*/ inline void SetAggregationAuthorizationArn(Aws::String&& value) { m_aggregationAuthorizationArnHasBeenSet = true; m_aggregationAuthorizationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the aggregation object.
*/ inline void SetAggregationAuthorizationArn(const char* value) { m_aggregationAuthorizationArnHasBeenSet = true; m_aggregationAuthorizationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the aggregation object.
*/ inline AggregationAuthorization& WithAggregationAuthorizationArn(const Aws::String& value) { SetAggregationAuthorizationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the aggregation object.
*/ inline AggregationAuthorization& WithAggregationAuthorizationArn(Aws::String&& value) { SetAggregationAuthorizationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the aggregation object.
*/ inline AggregationAuthorization& WithAggregationAuthorizationArn(const char* value) { SetAggregationAuthorizationArn(value); return *this;} /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline const Aws::String& GetAuthorizedAccountId() const{ return m_authorizedAccountId; } /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline bool AuthorizedAccountIdHasBeenSet() const { return m_authorizedAccountIdHasBeenSet; } /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline void SetAuthorizedAccountId(const Aws::String& value) { m_authorizedAccountIdHasBeenSet = true; m_authorizedAccountId = value; } /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline void SetAuthorizedAccountId(Aws::String&& value) { m_authorizedAccountIdHasBeenSet = true; m_authorizedAccountId = std::move(value); } /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline void SetAuthorizedAccountId(const char* value) { m_authorizedAccountIdHasBeenSet = true; m_authorizedAccountId.assign(value); } /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline AggregationAuthorization& WithAuthorizedAccountId(const Aws::String& value) { SetAuthorizedAccountId(value); return *this;} /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline AggregationAuthorization& WithAuthorizedAccountId(Aws::String&& value) { SetAuthorizedAccountId(std::move(value)); return *this;} /** *The 12-digit account ID of the account authorized to aggregate data.
*/ inline AggregationAuthorization& WithAuthorizedAccountId(const char* value) { SetAuthorizedAccountId(value); return *this;} /** *The region authorized to collect aggregated data.
*/ inline const Aws::String& GetAuthorizedAwsRegion() const{ return m_authorizedAwsRegion; } /** *The region authorized to collect aggregated data.
*/ inline bool AuthorizedAwsRegionHasBeenSet() const { return m_authorizedAwsRegionHasBeenSet; } /** *The region authorized to collect aggregated data.
*/ inline void SetAuthorizedAwsRegion(const Aws::String& value) { m_authorizedAwsRegionHasBeenSet = true; m_authorizedAwsRegion = value; } /** *The region authorized to collect aggregated data.
*/ inline void SetAuthorizedAwsRegion(Aws::String&& value) { m_authorizedAwsRegionHasBeenSet = true; m_authorizedAwsRegion = std::move(value); } /** *The region authorized to collect aggregated data.
*/ inline void SetAuthorizedAwsRegion(const char* value) { m_authorizedAwsRegionHasBeenSet = true; m_authorizedAwsRegion.assign(value); } /** *The region authorized to collect aggregated data.
*/ inline AggregationAuthorization& WithAuthorizedAwsRegion(const Aws::String& value) { SetAuthorizedAwsRegion(value); return *this;} /** *The region authorized to collect aggregated data.
*/ inline AggregationAuthorization& WithAuthorizedAwsRegion(Aws::String&& value) { SetAuthorizedAwsRegion(std::move(value)); return *this;} /** *The region authorized to collect aggregated data.
*/ inline AggregationAuthorization& WithAuthorizedAwsRegion(const char* value) { SetAuthorizedAwsRegion(value); return *this;} /** *The time stamp when the aggregation authorization was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time stamp when the aggregation authorization was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time stamp when the aggregation authorization was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time stamp when the aggregation authorization was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time stamp when the aggregation authorization was created.
*/ inline AggregationAuthorization& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time stamp when the aggregation authorization was created.
*/ inline AggregationAuthorization& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_aggregationAuthorizationArn; bool m_aggregationAuthorizationArnHasBeenSet = false; Aws::String m_authorizedAccountId; bool m_authorizedAccountIdHasBeenSet = false; Aws::String m_authorizedAwsRegion; bool m_authorizedAwsRegionHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws