7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/config/model/ConfigRule.h>
10#include <aws/config/model/Tag.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace ConfigService {
41 template <
typename ConfigRuleT = ConfigRule>
43 m_configRuleHasBeenSet =
true;
44 m_configRule = std::forward<ConfigRuleT>(value);
46 template <
typename ConfigRuleT = ConfigRule>
59 template <
typename TagsT = Aws::Vector<Tag>>
61 m_tagsHasBeenSet =
true;
62 m_tags = std::forward<TagsT>(value);
64 template <
typename TagsT = Aws::Vector<Tag>>
66 SetTags(std::forward<TagsT>(value));
69 template <
typename TagsT = Tag>
71 m_tagsHasBeenSet =
true;
72 m_tags.emplace_back(std::forward<TagsT>(value));
80 bool m_configRuleHasBeenSet =
false;
81 bool m_tagsHasBeenSet =
false;
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ConfigRule & GetConfigRule() const
PutConfigRuleRequest & AddTags(TagsT &&value)
void SetConfigRule(ConfigRuleT &&value)
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
PutConfigRuleRequest & WithTags(TagsT &&value)
AWS_CONFIGSERVICE_API PutConfigRuleRequest()=default
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
bool ConfigRuleHasBeenSet() const
PutConfigRuleRequest & WithConfigRule(ConfigRuleT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector