7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/shield/model/Tag.h>
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
71 template<
typename ResourceArnT = Aws::String>
72 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
73 template<
typename ResourceArnT = Aws::String>
84 template<
typename TagsT = Aws::Vector<Tag>>
85 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
86 template<
typename TagsT = Aws::Vector<Tag>>
88 template<
typename TagsT = Tag>
94 bool m_nameHasBeenSet =
false;
97 bool m_resourceArnHasBeenSet =
false;
100 bool m_tagsHasBeenSet =
false;
void SetResourceArn(ResourceArnT &&value)
AWS_SHIELD_API CreateProtectionRequest()=default
CreateProtectionRequest & AddTags(TagsT &&value)
bool TagsHasBeenSet() const
AWS_SHIELD_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(TagsT &&value)
CreateProtectionRequest & WithTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateProtectionRequest & WithResourceArn(ResourceArnT &&value)
CreateProtectionRequest & WithName(NameT &&value)
bool ResourceArnHasBeenSet() const
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetResourceArn() const
const Aws::String & GetName() const
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