/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the account ID and region of an aggregator account
* that is requesting authorization but is not yet authorized.See
* Also:
AWS
* API Reference
The 12-digit account ID of the account requesting to aggregate data.
*/ inline const Aws::String& GetRequesterAccountId() const{ return m_requesterAccountId; } /** *The 12-digit account ID of the account requesting to aggregate data.
*/ inline bool RequesterAccountIdHasBeenSet() const { return m_requesterAccountIdHasBeenSet; } /** *The 12-digit account ID of the account requesting to aggregate data.
*/ inline void SetRequesterAccountId(const Aws::String& value) { m_requesterAccountIdHasBeenSet = true; m_requesterAccountId = value; } /** *The 12-digit account ID of the account requesting to aggregate data.
*/ inline void SetRequesterAccountId(Aws::String&& value) { m_requesterAccountIdHasBeenSet = true; m_requesterAccountId = std::move(value); } /** *The 12-digit account ID of the account requesting to aggregate data.
*/ inline void SetRequesterAccountId(const char* value) { m_requesterAccountIdHasBeenSet = true; m_requesterAccountId.assign(value); } /** *The 12-digit account ID of the account requesting to aggregate data.
*/ inline PendingAggregationRequest& WithRequesterAccountId(const Aws::String& value) { SetRequesterAccountId(value); return *this;} /** *The 12-digit account ID of the account requesting to aggregate data.
*/ inline PendingAggregationRequest& WithRequesterAccountId(Aws::String&& value) { SetRequesterAccountId(std::move(value)); return *this;} /** *The 12-digit account ID of the account requesting to aggregate data.
*/ inline PendingAggregationRequest& WithRequesterAccountId(const char* value) { SetRequesterAccountId(value); return *this;} /** *The region requesting to aggregate data.
*/ inline const Aws::String& GetRequesterAwsRegion() const{ return m_requesterAwsRegion; } /** *The region requesting to aggregate data.
*/ inline bool RequesterAwsRegionHasBeenSet() const { return m_requesterAwsRegionHasBeenSet; } /** *The region requesting to aggregate data.
*/ inline void SetRequesterAwsRegion(const Aws::String& value) { m_requesterAwsRegionHasBeenSet = true; m_requesterAwsRegion = value; } /** *The region requesting to aggregate data.
*/ inline void SetRequesterAwsRegion(Aws::String&& value) { m_requesterAwsRegionHasBeenSet = true; m_requesterAwsRegion = std::move(value); } /** *The region requesting to aggregate data.
*/ inline void SetRequesterAwsRegion(const char* value) { m_requesterAwsRegionHasBeenSet = true; m_requesterAwsRegion.assign(value); } /** *The region requesting to aggregate data.
*/ inline PendingAggregationRequest& WithRequesterAwsRegion(const Aws::String& value) { SetRequesterAwsRegion(value); return *this;} /** *The region requesting to aggregate data.
*/ inline PendingAggregationRequest& WithRequesterAwsRegion(Aws::String&& value) { SetRequesterAwsRegion(std::move(value)); return *this;} /** *The region requesting to aggregate data.
*/ inline PendingAggregationRequest& WithRequesterAwsRegion(const char* value) { SetRequesterAwsRegion(value); return *this;} private: Aws::String m_requesterAccountId; bool m_requesterAccountIdHasBeenSet = false; Aws::String m_requesterAwsRegion; bool m_requesterAwsRegionHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws