7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ConfigurationItemStatus.h>
9#include <aws/config/model/RecordingFrequency.h>
10#include <aws/config/model/ResourceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
24namespace ConfigService {
46 template <
typename VersionT = Aws::String>
48 m_versionHasBeenSet =
true;
49 m_version = std::forward<VersionT>(value);
51 template <
typename VersionT = Aws::String>
64 template <
typename AccountIdT = Aws::String>
66 m_accountIdHasBeenSet =
true;
67 m_accountId = std::forward<AccountIdT>(value);
69 template <
typename AccountIdT = Aws::String>
83 template <
typename ConfigurationItemCaptureTimeT = Aws::Utils::DateTime>
85 m_configurationItemCaptureTimeHasBeenSet =
true;
86 m_configurationItemCaptureTime = std::forward<ConfigurationItemCaptureTimeT>(value);
88 template <
typename ConfigurationItemCaptureTimeT = Aws::Utils::DateTime>
110 m_configurationItemStatusHasBeenSet =
true;
111 m_configurationItemStatus = value;
126 template <
typename ConfigurationStateIdT = Aws::String>
128 m_configurationStateIdHasBeenSet =
true;
129 m_configurationStateId = std::forward<ConfigurationStateIdT>(value);
131 template <
typename ConfigurationStateIdT = Aws::String>
144 template <
typename ArnT = Aws::String>
146 m_arnHasBeenSet =
true;
147 m_arn = std::forward<ArnT>(value);
149 template <
typename ArnT = Aws::String>
151 SetArn(std::forward<ArnT>(value));
163 m_resourceTypeHasBeenSet =
true;
164 m_resourceType = value;
178 template <
typename ResourceIdT = Aws::String>
180 m_resourceIdHasBeenSet =
true;
181 m_resourceId = std::forward<ResourceIdT>(value);
183 template <
typename ResourceIdT = Aws::String>
196 template <
typename ResourceNameT = Aws::String>
198 m_resourceNameHasBeenSet =
true;
199 m_resourceName = std::forward<ResourceNameT>(value);
201 template <
typename ResourceNameT = Aws::String>
214 template <
typename AwsRegionT = Aws::String>
216 m_awsRegionHasBeenSet =
true;
217 m_awsRegion = std::forward<AwsRegionT>(value);
219 template <
typename AwsRegionT = Aws::String>
232 template <
typename AvailabilityZoneT = Aws::String>
234 m_availabilityZoneHasBeenSet =
true;
235 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
237 template <
typename AvailabilityZoneT = Aws::String>
250 template <
typename ResourceCreationTimeT = Aws::Utils::DateTime>
252 m_resourceCreationTimeHasBeenSet =
true;
253 m_resourceCreationTime = std::forward<ResourceCreationTimeT>(value);
255 template <
typename ResourceCreationTimeT = Aws::Utils::DateTime>
270 template <
typename ConfigurationT = Aws::String>
272 m_configurationHasBeenSet =
true;
273 m_configuration = std::forward<ConfigurationT>(value);
275 template <
typename ConfigurationT = Aws::String>
292 template <
typename SupplementaryConfigurationT = Aws::Map<Aws::String, Aws::String>>
294 m_supplementaryConfigurationHasBeenSet =
true;
295 m_supplementaryConfiguration = std::forward<SupplementaryConfigurationT>(value);
297 template <
typename SupplementaryConfigurationT = Aws::Map<Aws::String, Aws::String>>
302 template <
typename SupplementaryConfigurationKeyT = Aws::String,
typename SupplementaryConfigurationValueT = Aws::String>
304 m_supplementaryConfigurationHasBeenSet =
true;
305 m_supplementaryConfiguration.emplace(std::forward<SupplementaryConfigurationKeyT>(key),
306 std::forward<SupplementaryConfigurationValueT>(value));
324 m_recordingFrequencyHasBeenSet =
true;
325 m_recordingFrequency = value;
346 template <
typename ConfigurationItemDeliveryTimeT = Aws::Utils::DateTime>
348 m_configurationItemDeliveryTimeHasBeenSet =
true;
349 m_configurationItemDeliveryTime = std::forward<ConfigurationItemDeliveryTimeT>(value);
351 template <
typename ConfigurationItemDeliveryTimeT = Aws::Utils::DateTime>
389 bool m_versionHasBeenSet =
false;
390 bool m_accountIdHasBeenSet =
false;
391 bool m_configurationItemCaptureTimeHasBeenSet =
false;
392 bool m_configurationItemStatusHasBeenSet =
false;
393 bool m_configurationStateIdHasBeenSet =
false;
394 bool m_arnHasBeenSet =
false;
395 bool m_resourceTypeHasBeenSet =
false;
396 bool m_resourceIdHasBeenSet =
false;
397 bool m_resourceNameHasBeenSet =
false;
398 bool m_awsRegionHasBeenSet =
false;
399 bool m_availabilityZoneHasBeenSet =
false;
400 bool m_resourceCreationTimeHasBeenSet =
false;
401 bool m_configurationHasBeenSet =
false;
402 bool m_supplementaryConfigurationHasBeenSet =
false;
403 bool m_recordingFrequencyHasBeenSet =
false;
404 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