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/core/utils/memory/stl/AWSVector.h>
14#include <aws/config/model/RecordingFrequency.h>
15#include <aws/config/model/Relationship.h>
28namespace ConfigService
54 template<
typename VersionT = Aws::String>
55 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
56 template<
typename VersionT = Aws::String>
66 template<
typename AccountIdT = Aws::String>
67 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
68 template<
typename AccountIdT = Aws::String>
79 template<
typename ConfigurationItemCaptureTimeT = Aws::Utils::DateTime>
80 void SetConfigurationItemCaptureTime(ConfigurationItemCaptureTimeT&& value) { m_configurationItemCaptureTimeHasBeenSet =
true; m_configurationItemCaptureTime = std::forward<ConfigurationItemCaptureTimeT>(value); }
81 template<
typename ConfigurationItemCaptureTimeT = Aws::Utils::DateTime>
109 template<
typename ConfigurationStateIdT = Aws::String>
110 void SetConfigurationStateId(ConfigurationStateIdT&& value) { m_configurationStateIdHasBeenSet =
true; m_configurationStateId = std::forward<ConfigurationStateIdT>(value); }
111 template<
typename ConfigurationStateIdT = Aws::String>
123 template<
typename ConfigurationItemMD5HashT = Aws::String>
124 void SetConfigurationItemMD5Hash(ConfigurationItemMD5HashT&& value) { m_configurationItemMD5HashHasBeenSet =
true; m_configurationItemMD5Hash = std::forward<ConfigurationItemMD5HashT>(value); }
125 template<
typename ConfigurationItemMD5HashT = Aws::String>
135 template<
typename ArnT = Aws::String>
136 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
137 template<
typename ArnT = Aws::String>
157 template<
typename ResourceIdT = Aws::String>
158 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
159 template<
typename ResourceIdT = Aws::String>
169 template<
typename ResourceNameT = Aws::String>
170 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
171 template<
typename ResourceNameT = Aws::String>
181 template<
typename AwsRegionT = Aws::String>
182 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet =
true; m_awsRegion = std::forward<AwsRegionT>(value); }
183 template<
typename AwsRegionT = Aws::String>
193 template<
typename AvailabilityZoneT = Aws::String>
194 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
195 template<
typename AvailabilityZoneT = Aws::String>
205 template<
typename ResourceCreationTimeT = Aws::Utils::DateTime>
206 void SetResourceCreationTime(ResourceCreationTimeT&& value) { m_resourceCreationTimeHasBeenSet =
true; m_resourceCreationTime = std::forward<ResourceCreationTimeT>(value); }
207 template<
typename ResourceCreationTimeT = Aws::Utils::DateTime>
217 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
218 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
219 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
221 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
223 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
242 template<
typename RelatedEventsT = Aws::Vector<Aws::String>>
243 void SetRelatedEvents(RelatedEventsT&& value) { m_relatedEventsHasBeenSet =
true; m_relatedEvents = std::forward<RelatedEventsT>(value); }
244 template<
typename RelatedEventsT = Aws::Vector<Aws::String>>
246 template<
typename RelatedEventsT = Aws::String>
247 ConfigurationItem&
AddRelatedEvents(RelatedEventsT&& value) { m_relatedEventsHasBeenSet =
true; m_relatedEvents.emplace_back(std::forward<RelatedEventsT>(value));
return *
this; }
256 template<
typename RelationshipsT = Aws::Vector<Relationship>>
257 void SetRelationships(RelationshipsT&& value) { m_relationshipsHasBeenSet =
true; m_relationships = std::forward<RelationshipsT>(value); }
258 template<
typename RelationshipsT = Aws::Vector<Relationship>>
260 template<
typename RelationshipsT = Relationship>
261 ConfigurationItem&
AddRelationships(RelationshipsT&& value) { m_relationshipsHasBeenSet =
true; m_relationships.emplace_back(std::forward<RelationshipsT>(value));
return *
this; }
270 template<
typename ConfigurationT = Aws::String>
271 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
272 template<
typename ConfigurationT = Aws::String>
284 template<
typename SupplementaryConfigurationT = Aws::Map<Aws::String, Aws::String>>
285 void SetSupplementaryConfiguration(SupplementaryConfigurationT&& value) { m_supplementaryConfigurationHasBeenSet =
true; m_supplementaryConfiguration = std::forward<SupplementaryConfigurationT>(value); }
286 template<
typename SupplementaryConfigurationT = Aws::Map<Aws::String, Aws::String>>
288 template<
typename SupplementaryConfigurationKeyT = Aws::String,
typename SupplementaryConfigurationValueT = Aws::String>
290 m_supplementaryConfigurationHasBeenSet =
true; m_supplementaryConfiguration.emplace(std::forward<SupplementaryConfigurationKeyT>(key), std::forward<SupplementaryConfigurationValueT>(value));
return *
this;
318 template<
typename ConfigurationItemDeliveryTimeT = Aws::Utils::DateTime>
319 void SetConfigurationItemDeliveryTime(ConfigurationItemDeliveryTimeT&& value) { m_configurationItemDeliveryTimeHasBeenSet =
true; m_configurationItemDeliveryTime = std::forward<ConfigurationItemDeliveryTimeT>(value); }
320 template<
typename ConfigurationItemDeliveryTimeT = Aws::Utils::DateTime>
326 bool m_versionHasBeenSet =
false;
329 bool m_accountIdHasBeenSet =
false;
332 bool m_configurationItemCaptureTimeHasBeenSet =
false;
335 bool m_configurationItemStatusHasBeenSet =
false;
338 bool m_configurationStateIdHasBeenSet =
false;
341 bool m_configurationItemMD5HashHasBeenSet =
false;
344 bool m_arnHasBeenSet =
false;
347 bool m_resourceTypeHasBeenSet =
false;
350 bool m_resourceIdHasBeenSet =
false;
353 bool m_resourceNameHasBeenSet =
false;
356 bool m_awsRegionHasBeenSet =
false;
359 bool m_availabilityZoneHasBeenSet =
false;
362 bool m_resourceCreationTimeHasBeenSet =
false;
365 bool m_tagsHasBeenSet =
false;
368 bool m_relatedEventsHasBeenSet =
false;
371 bool m_relationshipsHasBeenSet =
false;
374 bool m_configurationHasBeenSet =
false;
377 bool m_supplementaryConfigurationHasBeenSet =
false;
380 bool m_recordingFrequencyHasBeenSet =
false;
383 bool m_configurationItemDeliveryTimeHasBeenSet =
false;
bool RelatedEventsHasBeenSet() const
const Aws::String & GetVersion() const
const Aws::String & GetAvailabilityZone() const
ConfigurationItem & WithConfigurationItemDeliveryTime(ConfigurationItemDeliveryTimeT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetResourceId() const
ConfigurationItem & WithAwsRegion(AwsRegionT &&value)
bool ConfigurationItemCaptureTimeHasBeenSet() const
ConfigurationItemStatus GetConfigurationItemStatus() const
ConfigurationItem & AddSupplementaryConfiguration(SupplementaryConfigurationKeyT &&key, SupplementaryConfigurationValueT &&value)
ConfigurationItem & WithSupplementaryConfiguration(SupplementaryConfigurationT &&value)
const Aws::Vector< Aws::String > & GetRelatedEvents() const
ConfigurationItem & WithAvailabilityZone(AvailabilityZoneT &&value)
bool AwsRegionHasBeenSet() const
RecordingFrequency GetRecordingFrequency() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
bool AvailabilityZoneHasBeenSet() const
ResourceType GetResourceType() const
ConfigurationItem & AddRelationships(RelationshipsT &&value)
AWS_CONFIGSERVICE_API ConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API ConfigurationItem()=default
bool ConfigurationHasBeenSet() const
bool ArnHasBeenSet() const
bool SupplementaryConfigurationHasBeenSet() const
void SetAccountId(AccountIdT &&value)
bool ConfigurationItemStatusHasBeenSet() const
const Aws::String & GetConfigurationStateId() const
void SetResourceId(ResourceIdT &&value)
bool ResourceCreationTimeHasBeenSet() const
ConfigurationItem & WithArn(ArnT &&value)
const Aws::String & GetResourceName() const
void SetConfigurationStateId(ConfigurationStateIdT &&value)
ConfigurationItem & WithAccountId(AccountIdT &&value)
ConfigurationItem & WithConfiguration(ConfigurationT &&value)
ConfigurationItem & WithResourceType(ResourceType value)
ConfigurationItem & WithConfigurationItemMD5Hash(ConfigurationItemMD5HashT &&value)
const Aws::Utils::DateTime & GetResourceCreationTime() const
bool RelationshipsHasBeenSet() const
void SetResourceName(ResourceNameT &&value)
ConfigurationItem & WithConfigurationItemCaptureTime(ConfigurationItemCaptureTimeT &&value)
void SetConfigurationItemCaptureTime(ConfigurationItemCaptureTimeT &&value)
bool ConfigurationItemDeliveryTimeHasBeenSet() const
bool AccountIdHasBeenSet() const
void SetSupplementaryConfiguration(SupplementaryConfigurationT &&value)
bool ConfigurationItemMD5HashHasBeenSet() const
ConfigurationItem & WithRecordingFrequency(RecordingFrequency value)
ConfigurationItem & WithConfigurationItemStatus(ConfigurationItemStatus value)
void SetResourceCreationTime(ResourceCreationTimeT &&value)
const Aws::Utils::DateTime & GetConfigurationItemCaptureTime() const
ConfigurationItem & WithResourceName(ResourceNameT &&value)
bool RecordingFrequencyHasBeenSet() const
AWS_CONFIGSERVICE_API ConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationItem & WithRelationships(RelationshipsT &&value)
void SetRelationships(RelationshipsT &&value)
const Aws::Vector< Relationship > & GetRelationships() const
ConfigurationItem & WithResourceId(ResourceIdT &&value)
const Aws::String & GetConfigurationItemMD5Hash() const
const Aws::Utils::DateTime & GetConfigurationItemDeliveryTime() const
ConfigurationItem & WithConfigurationStateId(ConfigurationStateIdT &&value)
ConfigurationItem & WithResourceCreationTime(ResourceCreationTimeT &&value)
bool ConfigurationStateIdHasBeenSet() const
void SetRecordingFrequency(RecordingFrequency value)
void SetAwsRegion(AwsRegionT &&value)
ConfigurationItem & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetAwsRegion() const
bool TagsHasBeenSet() const
void SetConfiguration(ConfigurationT &&value)
void SetResourceType(ResourceType value)
const Aws::String & GetConfiguration() const
ConfigurationItem & WithVersion(VersionT &&value)
const Aws::String & GetArn() const
ConfigurationItem & WithRelatedEvents(RelatedEventsT &&value)
void SetConfigurationItemStatus(ConfigurationItemStatus value)
bool ResourceNameHasBeenSet() const
bool ResourceTypeHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Map< Aws::String, Aws::String > & GetSupplementaryConfiguration() const
void SetConfigurationItemMD5Hash(ConfigurationItemMD5HashT &&value)
void SetConfigurationItemDeliveryTime(ConfigurationItemDeliveryTimeT &&value)
bool VersionHasBeenSet() const
ConfigurationItem & AddRelatedEvents(RelatedEventsT &&value)
void SetVersion(VersionT &&value)
bool ResourceIdHasBeenSet() const
ConfigurationItem & WithTags(TagsT &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAccountId() const
void SetRelatedEvents(RelatedEventsT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue