This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-config/include/aws/config/model/ConfigurationItem.h

1038 lines
45 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/config/model/ConfigurationItemStatus.h>
#include <aws/config/model/ResourceType.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/config/model/Relationship.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ConfigService
{
namespace Model
{
/**
* <p>A list that contains detailed configurations of a specified
* resource.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConfigurationItem">AWS
* API Reference</a></p>
*/
class AWS_CONFIGSERVICE_API ConfigurationItem
{
public:
ConfigurationItem();
ConfigurationItem(Aws::Utils::Json::JsonView jsonValue);
ConfigurationItem& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The version number of the resource configuration.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version number of the resource configuration.</p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p>The version number of the resource configuration.</p>
*/
inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p>The version number of the resource configuration.</p>
*/
inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
/**
* <p>The version number of the resource configuration.</p>
*/
inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
/**
* <p>The version number of the resource configuration.</p>
*/
inline ConfigurationItem& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version number of the resource configuration.</p>
*/
inline ConfigurationItem& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version number of the resource configuration.</p>
*/
inline ConfigurationItem& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline ConfigurationItem& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline ConfigurationItem& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The 12-digit AWS account ID associated with the resource.</p>
*/
inline ConfigurationItem& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>The time when the configuration recording was initiated.</p>
*/
inline const Aws::Utils::DateTime& GetConfigurationItemCaptureTime() const{ return m_configurationItemCaptureTime; }
/**
* <p>The time when the configuration recording was initiated.</p>
*/
inline bool ConfigurationItemCaptureTimeHasBeenSet() const { return m_configurationItemCaptureTimeHasBeenSet; }
/**
* <p>The time when the configuration recording was initiated.</p>
*/
inline void SetConfigurationItemCaptureTime(const Aws::Utils::DateTime& value) { m_configurationItemCaptureTimeHasBeenSet = true; m_configurationItemCaptureTime = value; }
/**
* <p>The time when the configuration recording was initiated.</p>
*/
inline void SetConfigurationItemCaptureTime(Aws::Utils::DateTime&& value) { m_configurationItemCaptureTimeHasBeenSet = true; m_configurationItemCaptureTime = std::move(value); }
/**
* <p>The time when the configuration recording was initiated.</p>
*/
inline ConfigurationItem& WithConfigurationItemCaptureTime(const Aws::Utils::DateTime& value) { SetConfigurationItemCaptureTime(value); return *this;}
/**
* <p>The time when the configuration recording was initiated.</p>
*/
inline ConfigurationItem& WithConfigurationItemCaptureTime(Aws::Utils::DateTime&& value) { SetConfigurationItemCaptureTime(std::move(value)); return *this;}
/**
* <p>The configuration item status. The valid values are:</p> <ul> <li> <p>OK
* The resource configuration has been updated</p> </li> <li> <p>ResourceDiscovered
* The resource was newly discovered</p> </li> <li> <p>ResourceNotRecorded The
* resource was discovered but its configuration was not recorded since the
* recorder excludes the recording of resources of this type</p> </li> <li>
* <p>ResourceDeleted The resource was deleted</p> </li> <li>
* <p>ResourceDeletedNotRecorded The resource was deleted but its configuration
* was not recorded since the recorder excludes the recording of resources of this
* type</p> </li> </ul> <p>The CIs do not incur any cost.</p>
*/
inline const ConfigurationItemStatus& GetConfigurationItemStatus() const{ return m_configurationItemStatus; }
/**
* <p>The configuration item status. The valid values are:</p> <ul> <li> <p>OK
* The resource configuration has been updated</p> </li> <li> <p>ResourceDiscovered
* The resource was newly discovered</p> </li> <li> <p>ResourceNotRecorded The
* resource was discovered but its configuration was not recorded since the
* recorder excludes the recording of resources of this type</p> </li> <li>
* <p>ResourceDeleted The resource was deleted</p> </li> <li>
* <p>ResourceDeletedNotRecorded The resource was deleted but its configuration
* was not recorded since the recorder excludes the recording of resources of this
* type</p> </li> </ul> <p>The CIs do not incur any cost.</p>
*/
inline bool ConfigurationItemStatusHasBeenSet() const { return m_configurationItemStatusHasBeenSet; }
/**
* <p>The configuration item status. The valid values are:</p> <ul> <li> <p>OK
* The resource configuration has been updated</p> </li> <li> <p>ResourceDiscovered
* The resource was newly discovered</p> </li> <li> <p>ResourceNotRecorded The
* resource was discovered but its configuration was not recorded since the
* recorder excludes the recording of resources of this type</p> </li> <li>
* <p>ResourceDeleted The resource was deleted</p> </li> <li>
* <p>ResourceDeletedNotRecorded The resource was deleted but its configuration
* was not recorded since the recorder excludes the recording of resources of this
* type</p> </li> </ul> <p>The CIs do not incur any cost.</p>
*/
inline void SetConfigurationItemStatus(const ConfigurationItemStatus& value) { m_configurationItemStatusHasBeenSet = true; m_configurationItemStatus = value; }
/**
* <p>The configuration item status. The valid values are:</p> <ul> <li> <p>OK
* The resource configuration has been updated</p> </li> <li> <p>ResourceDiscovered
* The resource was newly discovered</p> </li> <li> <p>ResourceNotRecorded The
* resource was discovered but its configuration was not recorded since the
* recorder excludes the recording of resources of this type</p> </li> <li>
* <p>ResourceDeleted The resource was deleted</p> </li> <li>
* <p>ResourceDeletedNotRecorded The resource was deleted but its configuration
* was not recorded since the recorder excludes the recording of resources of this
* type</p> </li> </ul> <p>The CIs do not incur any cost.</p>
*/
inline void SetConfigurationItemStatus(ConfigurationItemStatus&& value) { m_configurationItemStatusHasBeenSet = true; m_configurationItemStatus = std::move(value); }
/**
* <p>The configuration item status. The valid values are:</p> <ul> <li> <p>OK
* The resource configuration has been updated</p> </li> <li> <p>ResourceDiscovered
* The resource was newly discovered</p> </li> <li> <p>ResourceNotRecorded The
* resource was discovered but its configuration was not recorded since the
* recorder excludes the recording of resources of this type</p> </li> <li>
* <p>ResourceDeleted The resource was deleted</p> </li> <li>
* <p>ResourceDeletedNotRecorded The resource was deleted but its configuration
* was not recorded since the recorder excludes the recording of resources of this
* type</p> </li> </ul> <p>The CIs do not incur any cost.</p>
*/
inline ConfigurationItem& WithConfigurationItemStatus(const ConfigurationItemStatus& value) { SetConfigurationItemStatus(value); return *this;}
/**
* <p>The configuration item status. The valid values are:</p> <ul> <li> <p>OK
* The resource configuration has been updated</p> </li> <li> <p>ResourceDiscovered
* The resource was newly discovered</p> </li> <li> <p>ResourceNotRecorded The
* resource was discovered but its configuration was not recorded since the
* recorder excludes the recording of resources of this type</p> </li> <li>
* <p>ResourceDeleted The resource was deleted</p> </li> <li>
* <p>ResourceDeletedNotRecorded The resource was deleted but its configuration
* was not recorded since the recorder excludes the recording of resources of this
* type</p> </li> </ul> <p>The CIs do not incur any cost.</p>
*/
inline ConfigurationItem& WithConfigurationItemStatus(ConfigurationItemStatus&& value) { SetConfigurationItemStatus(std::move(value)); return *this;}
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline const Aws::String& GetConfigurationStateId() const{ return m_configurationStateId; }
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline bool ConfigurationStateIdHasBeenSet() const { return m_configurationStateIdHasBeenSet; }
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline void SetConfigurationStateId(const Aws::String& value) { m_configurationStateIdHasBeenSet = true; m_configurationStateId = value; }
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline void SetConfigurationStateId(Aws::String&& value) { m_configurationStateIdHasBeenSet = true; m_configurationStateId = std::move(value); }
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline void SetConfigurationStateId(const char* value) { m_configurationStateIdHasBeenSet = true; m_configurationStateId.assign(value); }
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline ConfigurationItem& WithConfigurationStateId(const Aws::String& value) { SetConfigurationStateId(value); return *this;}
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline ConfigurationItem& WithConfigurationStateId(Aws::String&& value) { SetConfigurationStateId(std::move(value)); return *this;}
/**
* <p>An identifier that indicates the ordering of the configuration items of a
* resource.</p>
*/
inline ConfigurationItem& WithConfigurationStateId(const char* value) { SetConfigurationStateId(value); return *this;}
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline const Aws::String& GetConfigurationItemMD5Hash() const{ return m_configurationItemMD5Hash; }
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline bool ConfigurationItemMD5HashHasBeenSet() const { return m_configurationItemMD5HashHasBeenSet; }
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline void SetConfigurationItemMD5Hash(const Aws::String& value) { m_configurationItemMD5HashHasBeenSet = true; m_configurationItemMD5Hash = value; }
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline void SetConfigurationItemMD5Hash(Aws::String&& value) { m_configurationItemMD5HashHasBeenSet = true; m_configurationItemMD5Hash = std::move(value); }
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline void SetConfigurationItemMD5Hash(const char* value) { m_configurationItemMD5HashHasBeenSet = true; m_configurationItemMD5Hash.assign(value); }
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline ConfigurationItem& WithConfigurationItemMD5Hash(const Aws::String& value) { SetConfigurationItemMD5Hash(value); return *this;}
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline ConfigurationItem& WithConfigurationItemMD5Hash(Aws::String&& value) { SetConfigurationItemMD5Hash(std::move(value)); return *this;}
/**
* <p>Unique MD5 hash that represents the configuration item's state.</p> <p>You
* can use MD5 hash to compare the states of two or more configuration items that
* are associated with the same resource.</p>
*/
inline ConfigurationItem& WithConfigurationItemMD5Hash(const char* value) { SetConfigurationItemMD5Hash(value); return *this;}
/**
* <p>accoun</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>accoun</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>accoun</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>accoun</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>accoun</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>accoun</p>
*/
inline ConfigurationItem& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>accoun</p>
*/
inline ConfigurationItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>accoun</p>
*/
inline ConfigurationItem& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The type of AWS resource.</p>
*/
inline const ResourceType& GetResourceType() const{ return m_resourceType; }
/**
* <p>The type of AWS resource.</p>
*/
inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
/**
* <p>The type of AWS resource.</p>
*/
inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
/**
* <p>The type of AWS resource.</p>
*/
inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
/**
* <p>The type of AWS resource.</p>
*/
inline ConfigurationItem& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;}
/**
* <p>The type of AWS resource.</p>
*/
inline ConfigurationItem& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;}
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline ConfigurationItem& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline ConfigurationItem& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
/**
* <p>The ID of the resource (for example, <code>sg-xxxxxx</code>).</p>
*/
inline ConfigurationItem& WithResourceId(const char* value) { SetResourceId(value); return *this;}
/**
* <p>The custom name of the resource, if available.</p>
*/
inline const Aws::String& GetResourceName() const{ return m_resourceName; }
/**
* <p>The custom name of the resource, if available.</p>
*/
inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
/**
* <p>The custom name of the resource, if available.</p>
*/
inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
/**
* <p>The custom name of the resource, if available.</p>
*/
inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
/**
* <p>The custom name of the resource, if available.</p>
*/
inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
/**
* <p>The custom name of the resource, if available.</p>
*/
inline ConfigurationItem& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
/**
* <p>The custom name of the resource, if available.</p>
*/
inline ConfigurationItem& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
/**
* <p>The custom name of the resource, if available.</p>
*/
inline ConfigurationItem& WithResourceName(const char* value) { SetResourceName(value); return *this;}
/**
* <p>The region where the resource resides.</p>
*/
inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
/**
* <p>The region where the resource resides.</p>
*/
inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
/**
* <p>The region where the resource resides.</p>
*/
inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
/**
* <p>The region where the resource resides.</p>
*/
inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
/**
* <p>The region where the resource resides.</p>
*/
inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
/**
* <p>The region where the resource resides.</p>
*/
inline ConfigurationItem& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
/**
* <p>The region where the resource resides.</p>
*/
inline ConfigurationItem& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
/**
* <p>The region where the resource resides.</p>
*/
inline ConfigurationItem& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline ConfigurationItem& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline ConfigurationItem& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
/**
* <p>The Availability Zone associated with the resource.</p>
*/
inline ConfigurationItem& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
/**
* <p>The time stamp when the resource was created.</p>
*/
inline const Aws::Utils::DateTime& GetResourceCreationTime() const{ return m_resourceCreationTime; }
/**
* <p>The time stamp when the resource was created.</p>
*/
inline bool ResourceCreationTimeHasBeenSet() const { return m_resourceCreationTimeHasBeenSet; }
/**
* <p>The time stamp when the resource was created.</p>
*/
inline void SetResourceCreationTime(const Aws::Utils::DateTime& value) { m_resourceCreationTimeHasBeenSet = true; m_resourceCreationTime = value; }
/**
* <p>The time stamp when the resource was created.</p>
*/
inline void SetResourceCreationTime(Aws::Utils::DateTime&& value) { m_resourceCreationTimeHasBeenSet = true; m_resourceCreationTime = std::move(value); }
/**
* <p>The time stamp when the resource was created.</p>
*/
inline ConfigurationItem& WithResourceCreationTime(const Aws::Utils::DateTime& value) { SetResourceCreationTime(value); return *this;}
/**
* <p>The time stamp when the resource was created.</p>
*/
inline ConfigurationItem& WithResourceCreationTime(Aws::Utils::DateTime&& value) { SetResourceCreationTime(std::move(value)); return *this;}
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
/**
* <p>A mapping of key value tags associated with the resource.</p>
*/
inline ConfigurationItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline const Aws::Vector<Aws::String>& GetRelatedEvents() const{ return m_relatedEvents; }
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline bool RelatedEventsHasBeenSet() const { return m_relatedEventsHasBeenSet; }
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline void SetRelatedEvents(const Aws::Vector<Aws::String>& value) { m_relatedEventsHasBeenSet = true; m_relatedEvents = value; }
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline void SetRelatedEvents(Aws::Vector<Aws::String>&& value) { m_relatedEventsHasBeenSet = true; m_relatedEvents = std::move(value); }
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline ConfigurationItem& WithRelatedEvents(const Aws::Vector<Aws::String>& value) { SetRelatedEvents(value); return *this;}
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline ConfigurationItem& WithRelatedEvents(Aws::Vector<Aws::String>&& value) { SetRelatedEvents(std::move(value)); return *this;}
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline ConfigurationItem& AddRelatedEvents(const Aws::String& value) { m_relatedEventsHasBeenSet = true; m_relatedEvents.push_back(value); return *this; }
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline ConfigurationItem& AddRelatedEvents(Aws::String&& value) { m_relatedEventsHasBeenSet = true; m_relatedEvents.push_back(std::move(value)); return *this; }
/**
* <p>A list of CloudTrail event IDs.</p> <p>A populated field indicates that the
* current configuration was initiated by the events recorded in the CloudTrail
* log. For more information about CloudTrail, see <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">What
* Is AWS CloudTrail</a>.</p> <p>An empty field indicates that the current
* configuration was not initiated by any event. As of Version 1.3, the
* relatedEvents field is empty. You can access the <a
* href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html">LookupEvents
* API</a> in the <i>AWS CloudTrail API Reference</i> to retrieve the events for
* the resource.</p>
*/
inline ConfigurationItem& AddRelatedEvents(const char* value) { m_relatedEventsHasBeenSet = true; m_relatedEvents.push_back(value); return *this; }
/**
* <p>A list of related AWS resources.</p>
*/
inline const Aws::Vector<Relationship>& GetRelationships() const{ return m_relationships; }
/**
* <p>A list of related AWS resources.</p>
*/
inline bool RelationshipsHasBeenSet() const { return m_relationshipsHasBeenSet; }
/**
* <p>A list of related AWS resources.</p>
*/
inline void SetRelationships(const Aws::Vector<Relationship>& value) { m_relationshipsHasBeenSet = true; m_relationships = value; }
/**
* <p>A list of related AWS resources.</p>
*/
inline void SetRelationships(Aws::Vector<Relationship>&& value) { m_relationshipsHasBeenSet = true; m_relationships = std::move(value); }
/**
* <p>A list of related AWS resources.</p>
*/
inline ConfigurationItem& WithRelationships(const Aws::Vector<Relationship>& value) { SetRelationships(value); return *this;}
/**
* <p>A list of related AWS resources.</p>
*/
inline ConfigurationItem& WithRelationships(Aws::Vector<Relationship>&& value) { SetRelationships(std::move(value)); return *this;}
/**
* <p>A list of related AWS resources.</p>
*/
inline ConfigurationItem& AddRelationships(const Relationship& value) { m_relationshipsHasBeenSet = true; m_relationships.push_back(value); return *this; }
/**
* <p>A list of related AWS resources.</p>
*/
inline ConfigurationItem& AddRelationships(Relationship&& value) { m_relationshipsHasBeenSet = true; m_relationships.push_back(std::move(value)); return *this; }
/**
* <p>The description of the resource configuration.</p>
*/
inline const Aws::String& GetConfiguration() const{ return m_configuration; }
/**
* <p>The description of the resource configuration.</p>
*/
inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
/**
* <p>The description of the resource configuration.</p>
*/
inline void SetConfiguration(const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration = value; }
/**
* <p>The description of the resource configuration.</p>
*/
inline void SetConfiguration(Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
/**
* <p>The description of the resource configuration.</p>
*/
inline void SetConfiguration(const char* value) { m_configurationHasBeenSet = true; m_configuration.assign(value); }
/**
* <p>The description of the resource configuration.</p>
*/
inline ConfigurationItem& WithConfiguration(const Aws::String& value) { SetConfiguration(value); return *this;}
/**
* <p>The description of the resource configuration.</p>
*/
inline ConfigurationItem& WithConfiguration(Aws::String&& value) { SetConfiguration(std::move(value)); return *this;}
/**
* <p>The description of the resource configuration.</p>
*/
inline ConfigurationItem& WithConfiguration(const char* value) { SetConfiguration(value); return *this;}
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline const Aws::Map<Aws::String, Aws::String>& GetSupplementaryConfiguration() const{ return m_supplementaryConfiguration; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline bool SupplementaryConfigurationHasBeenSet() const { return m_supplementaryConfigurationHasBeenSet; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline void SetSupplementaryConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration = value; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline void SetSupplementaryConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration = std::move(value); }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& WithSupplementaryConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { SetSupplementaryConfiguration(value); return *this;}
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& WithSupplementaryConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { SetSupplementaryConfiguration(std::move(value)); return *this;}
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& AddSupplementaryConfiguration(const Aws::String& key, const Aws::String& value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration.emplace(key, value); return *this; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& AddSupplementaryConfiguration(Aws::String&& key, const Aws::String& value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration.emplace(std::move(key), value); return *this; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& AddSupplementaryConfiguration(const Aws::String& key, Aws::String&& value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration.emplace(key, std::move(value)); return *this; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& AddSupplementaryConfiguration(Aws::String&& key, Aws::String&& value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& AddSupplementaryConfiguration(const char* key, Aws::String&& value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration.emplace(key, std::move(value)); return *this; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& AddSupplementaryConfiguration(Aws::String&& key, const char* value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration.emplace(std::move(key), value); return *this; }
/**
* <p>Configuration attributes that AWS Config returns for certain resource types
* to supplement the information returned for the <code>configuration</code>
* parameter.</p>
*/
inline ConfigurationItem& AddSupplementaryConfiguration(const char* key, const char* value) { m_supplementaryConfigurationHasBeenSet = true; m_supplementaryConfiguration.emplace(key, value); return *this; }
private:
Aws::String m_version;
bool m_versionHasBeenSet;
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::Utils::DateTime m_configurationItemCaptureTime;
bool m_configurationItemCaptureTimeHasBeenSet;
ConfigurationItemStatus m_configurationItemStatus;
bool m_configurationItemStatusHasBeenSet;
Aws::String m_configurationStateId;
bool m_configurationStateIdHasBeenSet;
Aws::String m_configurationItemMD5Hash;
bool m_configurationItemMD5HashHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
ResourceType m_resourceType;
bool m_resourceTypeHasBeenSet;
Aws::String m_resourceId;
bool m_resourceIdHasBeenSet;
Aws::String m_resourceName;
bool m_resourceNameHasBeenSet;
Aws::String m_awsRegion;
bool m_awsRegionHasBeenSet;
Aws::String m_availabilityZone;
bool m_availabilityZoneHasBeenSet;
Aws::Utils::DateTime m_resourceCreationTime;
bool m_resourceCreationTimeHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_tags;
bool m_tagsHasBeenSet;
Aws::Vector<Aws::String> m_relatedEvents;
bool m_relatedEventsHasBeenSet;
Aws::Vector<Relationship> m_relationships;
bool m_relationshipsHasBeenSet;
Aws::String m_configuration;
bool m_configurationHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_supplementaryConfiguration;
bool m_supplementaryConfigurationHasBeenSet;
};
} // namespace Model
} // namespace ConfigService
} // namespace Aws