/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details that identify a resource that is collected by Config aggregator,
* including the resource type, ID, (if available) the custom resource name, the
* source account, and source region.See Also:
AWS
* API Reference
The 12-digit account ID of the source account.
*/ inline const Aws::String& GetSourceAccountId() const{ return m_sourceAccountId; } /** *The 12-digit account ID of the source account.
*/ inline bool SourceAccountIdHasBeenSet() const { return m_sourceAccountIdHasBeenSet; } /** *The 12-digit account ID of the source account.
*/ inline void SetSourceAccountId(const Aws::String& value) { m_sourceAccountIdHasBeenSet = true; m_sourceAccountId = value; } /** *The 12-digit account ID of the source account.
*/ inline void SetSourceAccountId(Aws::String&& value) { m_sourceAccountIdHasBeenSet = true; m_sourceAccountId = std::move(value); } /** *The 12-digit account ID of the source account.
*/ inline void SetSourceAccountId(const char* value) { m_sourceAccountIdHasBeenSet = true; m_sourceAccountId.assign(value); } /** *The 12-digit account ID of the source account.
*/ inline AggregateResourceIdentifier& WithSourceAccountId(const Aws::String& value) { SetSourceAccountId(value); return *this;} /** *The 12-digit account ID of the source account.
*/ inline AggregateResourceIdentifier& WithSourceAccountId(Aws::String&& value) { SetSourceAccountId(std::move(value)); return *this;} /** *The 12-digit account ID of the source account.
*/ inline AggregateResourceIdentifier& WithSourceAccountId(const char* value) { SetSourceAccountId(value); return *this;} /** *The source region where data is aggregated.
*/ inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; } /** *The source region where data is aggregated.
*/ inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; } /** *The source region where data is aggregated.
*/ inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; } /** *The source region where data is aggregated.
*/ inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); } /** *The source region where data is aggregated.
*/ inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); } /** *The source region where data is aggregated.
*/ inline AggregateResourceIdentifier& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;} /** *The source region where data is aggregated.
*/ inline AggregateResourceIdentifier& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;} /** *The source region where data is aggregated.
*/ inline AggregateResourceIdentifier& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;} /** *The ID of the Amazon Web Services resource.
*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *The ID of the Amazon Web Services resource.
*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *The ID of the Amazon Web Services resource.
*/ inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } /** *The ID of the Amazon Web Services resource.
*/ inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } /** *The ID of the Amazon Web Services resource.
*/ inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } /** *The ID of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *The ID of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceId(const char* value) { SetResourceId(value); return *this;} /** *The type of the Amazon Web Services resource.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *The type of the Amazon Web Services resource.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of the Amazon Web Services resource.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of the Amazon Web Services resource.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *The type of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The name of the Amazon Web Services resource.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *The name of the Amazon Web Services resource.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *The name of the Amazon Web Services resource.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *The name of the Amazon Web Services resource.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *The name of the Amazon Web Services resource.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *The name of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *The name of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *The name of the Amazon Web Services resource.
*/ inline AggregateResourceIdentifier& WithResourceName(const char* value) { SetResourceName(value); return *this;} private: Aws::String m_sourceAccountId; bool m_sourceAccountIdHasBeenSet = false; Aws::String m_sourceRegion; bool m_sourceRegionHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws