7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/config/model/ConfigurationItemStatus.h>
11#include <aws/config/model/ResourceType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/config/model/RecordingFrequency.h>
26namespace ConfigService
52 template<
typename VersionT = Aws::String>
53 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
54 template<
typename VersionT = Aws::String>
64 template<
typename AccountIdT = Aws::String>
65 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
66 template<
typename AccountIdT = Aws::String>
77 template<
typename ConfigurationItemCaptureTimeT = Aws::Utils::DateTime>
78 void SetConfigurationItemCaptureTime(ConfigurationItemCaptureTimeT&& value) { m_configurationItemCaptureTimeHasBeenSet =
true; m_configurationItemCaptureTime = std::forward<ConfigurationItemCaptureTimeT>(value); }
79 template<
typename ConfigurationItemCaptureTimeT = Aws::Utils::DateTime>
108 template<
typename ConfigurationStateIdT = Aws::String>
109 void SetConfigurationStateId(ConfigurationStateIdT&& value) { m_configurationStateIdHasBeenSet =
true; m_configurationStateId = std::forward<ConfigurationStateIdT>(value); }
110 template<
typename ConfigurationStateIdT = Aws::String>
120 template<
typename ArnT = Aws::String>
121 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
122 template<
typename ArnT = Aws::String>
142 template<
typename ResourceIdT = Aws::String>
143 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
144 template<
typename ResourceIdT = Aws::String>
154 template<
typename ResourceNameT = Aws::String>
155 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
156 template<
typename ResourceNameT = Aws::String>
166 template<
typename AwsRegionT = Aws::String>
167 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet =
true; m_awsRegion = std::forward<AwsRegionT>(value); }
168 template<
typename AwsRegionT = Aws::String>
178 template<
typename AvailabilityZoneT = Aws::String>
179 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
180 template<
typename AvailabilityZoneT = Aws::String>
190 template<
typename ResourceCreationTimeT = Aws::Utils::DateTime>
191 void SetResourceCreationTime(ResourceCreationTimeT&& value) { m_resourceCreationTimeHasBeenSet =
true; m_resourceCreationTime = std::forward<ResourceCreationTimeT>(value); }
192 template<
typename ResourceCreationTimeT = Aws::Utils::DateTime>
202 template<
typename ConfigurationT = Aws::String>
203 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
204 template<
typename ConfigurationT = Aws::String>
215 template<
typename SupplementaryConfigurationT = Aws::Map<Aws::String, Aws::String>>
216 void SetSupplementaryConfiguration(SupplementaryConfigurationT&& value) { m_supplementaryConfigurationHasBeenSet =
true; m_supplementaryConfiguration = std::forward<SupplementaryConfigurationT>(value); }
217 template<
typename SupplementaryConfigurationT = Aws::Map<Aws::String, Aws::String>>
219 template<
typename SupplementaryConfigurationKeyT = Aws::String,
typename SupplementaryConfigurationValueT = Aws::String>
221 m_supplementaryConfigurationHasBeenSet =
true; m_supplementaryConfiguration.emplace(std::forward<SupplementaryConfigurationKeyT>(key), std::forward<SupplementaryConfigurationValueT>(value));
return *
this;
249 template<
typename ConfigurationItemDeliveryTimeT = Aws::Utils::DateTime>
250 void SetConfigurationItemDeliveryTime(ConfigurationItemDeliveryTimeT&& value) { m_configurationItemDeliveryTimeHasBeenSet =
true; m_configurationItemDeliveryTime = std::forward<ConfigurationItemDeliveryTimeT>(value); }
251 template<
typename ConfigurationItemDeliveryTimeT = Aws::Utils::DateTime>
257 bool m_versionHasBeenSet =
false;
260 bool m_accountIdHasBeenSet =
false;
263 bool m_configurationItemCaptureTimeHasBeenSet =
false;
266 bool m_configurationItemStatusHasBeenSet =
false;
269 bool m_configurationStateIdHasBeenSet =
false;
272 bool m_arnHasBeenSet =
false;
275 bool m_resourceTypeHasBeenSet =
false;
278 bool m_resourceIdHasBeenSet =
false;
281 bool m_resourceNameHasBeenSet =
false;
284 bool m_awsRegionHasBeenSet =
false;
287 bool m_availabilityZoneHasBeenSet =
false;
290 bool m_resourceCreationTimeHasBeenSet =
false;
293 bool m_configurationHasBeenSet =
false;
296 bool m_supplementaryConfigurationHasBeenSet =
false;
299 bool m_recordingFrequencyHasBeenSet =
false;
302 bool m_configurationItemDeliveryTimeHasBeenSet =
false;
void SetAccountId(AccountIdT &&value)
bool ConfigurationHasBeenSet() const
BaseConfigurationItem & WithSupplementaryConfiguration(SupplementaryConfigurationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSupplementaryConfiguration() const
const Aws::String & GetAwsRegion() const
void SetResourceType(ResourceType value)
bool AwsRegionHasBeenSet() const
bool ResourceCreationTimeHasBeenSet() const
void SetResourceName(ResourceNameT &&value)
bool ResourceIdHasBeenSet() const
RecordingFrequency GetRecordingFrequency() const
void SetConfigurationItemDeliveryTime(ConfigurationItemDeliveryTimeT &&value)
BaseConfigurationItem & WithResourceCreationTime(ResourceCreationTimeT &&value)
BaseConfigurationItem & WithConfigurationItemStatus(ConfigurationItemStatus value)
void SetAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetResourceName() const
void SetConfiguration(ConfigurationT &&value)
BaseConfigurationItem & WithArn(ArnT &&value)
BaseConfigurationItem & WithRecordingFrequency(RecordingFrequency value)
const Aws::String & GetAccountId() const
bool ResourceTypeHasBeenSet() const
BaseConfigurationItem & WithConfigurationStateId(ConfigurationStateIdT &&value)
bool SupplementaryConfigurationHasBeenSet() const
BaseConfigurationItem & AddSupplementaryConfiguration(SupplementaryConfigurationKeyT &&key, SupplementaryConfigurationValueT &&value)
bool ConfigurationItemCaptureTimeHasBeenSet() const
const Aws::Utils::DateTime & GetConfigurationItemCaptureTime() const
const Aws::String & GetConfiguration() const
AWS_CONFIGSERVICE_API BaseConfigurationItem()=default
ConfigurationItemStatus GetConfigurationItemStatus() const
const Aws::String & GetResourceId() const
bool ConfigurationStateIdHasBeenSet() const
void SetVersion(VersionT &&value)
AWS_CONFIGSERVICE_API BaseConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetResourceCreationTime() const
void SetAwsRegion(AwsRegionT &&value)
void SetResourceId(ResourceIdT &&value)
BaseConfigurationItem & WithConfigurationItemCaptureTime(ConfigurationItemCaptureTimeT &&value)
const Aws::Utils::DateTime & GetConfigurationItemDeliveryTime() const
BaseConfigurationItem & WithResourceName(ResourceNameT &&value)
BaseConfigurationItem & WithAvailabilityZone(AvailabilityZoneT &&value)
BaseConfigurationItem & WithResourceId(ResourceIdT &&value)
void SetConfigurationItemStatus(ConfigurationItemStatus value)
void SetRecordingFrequency(RecordingFrequency value)
void SetConfigurationItemCaptureTime(ConfigurationItemCaptureTimeT &&value)
bool AvailabilityZoneHasBeenSet() const
void SetArn(ArnT &&value)
AWS_CONFIGSERVICE_API BaseConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
BaseConfigurationItem & WithResourceType(ResourceType value)
const Aws::String & GetConfigurationStateId() const
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
ResourceType GetResourceType() const
void SetSupplementaryConfiguration(SupplementaryConfigurationT &&value)
BaseConfigurationItem & WithConfiguration(ConfigurationT &&value)
bool ConfigurationItemDeliveryTimeHasBeenSet() const
bool ConfigurationItemStatusHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
BaseConfigurationItem & WithVersion(VersionT &&value)
const Aws::String & GetVersion() const
bool AccountIdHasBeenSet() const
BaseConfigurationItem & WithAccountId(AccountIdT &&value)
void SetConfigurationStateId(ConfigurationStateIdT &&value)
bool VersionHasBeenSet() const
BaseConfigurationItem & WithAwsRegion(AwsRegionT &&value)
bool RecordingFrequencyHasBeenSet() const
BaseConfigurationItem & WithConfigurationItemDeliveryTime(ConfigurationItemDeliveryTimeT &&value)
void SetResourceCreationTime(ResourceCreationTimeT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceNameHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue