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>
47 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
75 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
98 bool m_nameHasBeenSet =
false;
101 bool m_resourceArnHasBeenSet =
false;
104 bool m_tagsHasBeenSet =
false;
void SetName(const char *value)
CreateProtectionRequest & WithName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateProtectionRequest & WithResourceArn(Aws::String &&value)
bool TagsHasBeenSet() const
AWS_SHIELD_API Aws::String SerializePayload() const override
CreateProtectionRequest & WithTags(Aws::Vector< Tag > &&value)
bool NameHasBeenSet() const
void SetResourceArn(Aws::String &&value)
CreateProtectionRequest & WithResourceArn(const Aws::String &value)
CreateProtectionRequest & AddTags(const Tag &value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateProtectionRequest & WithName(const char *value)
void SetName(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreateProtectionRequest & WithTags(const Aws::Vector< Tag > &value)
void SetName(Aws::String &&value)
AWS_SHIELD_API CreateProtectionRequest()
CreateProtectionRequest & WithResourceArn(const char *value)
void SetResourceArn(const Aws::String &value)
bool ResourceArnHasBeenSet() const
void SetResourceArn(const char *value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Vector< Tag > &value)
CreateProtectionRequest & WithName(const Aws::String &value)
const Aws::String & GetResourceArn() const
CreateProtectionRequest & AddTags(Tag &&value)
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