7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/ConfigServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
15namespace ConfigService
47 template<
typename ResourceTypeT = Aws::String>
48 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
49 template<
typename ResourceTypeT = Aws::String>
59 template<
typename SchemaVersionIdT = Aws::String>
60 void SetSchemaVersionId(SchemaVersionIdT&& value) { m_schemaVersionIdHasBeenSet =
true; m_schemaVersionId = std::forward<SchemaVersionIdT>(value); }
61 template<
typename SchemaVersionIdT = Aws::String>
71 template<
typename ResourceIdT = Aws::String>
72 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
73 template<
typename ResourceIdT = Aws::String>
83 template<
typename ResourceNameT = Aws::String>
84 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
85 template<
typename ResourceNameT = Aws::String>
97 template<
typename ConfigurationT = Aws::String>
98 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
99 template<
typename ConfigurationT = Aws::String>
112 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
114 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
116 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
118 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
124 bool m_resourceTypeHasBeenSet =
false;
127 bool m_schemaVersionIdHasBeenSet =
false;
130 bool m_resourceIdHasBeenSet =
false;
133 bool m_resourceNameHasBeenSet =
false;
136 bool m_configurationHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
bool TagsHasBeenSet() const
PutResourceConfigRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetResourceId(ResourceIdT &&value)
bool ConfigurationHasBeenSet() const
PutResourceConfigRequest & WithResourceName(ResourceNameT &&value)
bool SchemaVersionIdHasBeenSet() const
void SetSchemaVersionId(SchemaVersionIdT &&value)
PutResourceConfigRequest & WithSchemaVersionId(SchemaVersionIdT &&value)
const Aws::String & GetConfiguration() const
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
const Aws::String & GetSchemaVersionId() const
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ResourceNameHasBeenSet() const
const Aws::String & GetResourceName() const
PutResourceConfigRequest & WithResourceId(ResourceIdT &&value)
void SetConfiguration(ConfigurationT &&value)
bool ResourceIdHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceId() const
const Aws::String & GetResourceType() const
void SetResourceName(ResourceNameT &&value)
PutResourceConfigRequest & WithTags(TagsT &&value)
PutResourceConfigRequest & WithResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
PutResourceConfigRequest & WithConfiguration(ConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CONFIGSERVICE_API PutResourceConfigRequest()=default
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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