7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/model/Scope.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetScope(
Scope value) { m_scopeHasBeenSet =
true; m_scope = value; }
64 template<
typename TokenDomainsT = Aws::Vector<Aws::String>>
65 void SetTokenDomains(TokenDomainsT&& value) { m_tokenDomainsHasBeenSet =
true; m_tokenDomains = std::forward<TokenDomainsT>(value); }
66 template<
typename TokenDomainsT = Aws::Vector<Aws::String>>
68 template<
typename TokenDomainsT = Aws::String>
74 bool m_scopeHasBeenSet =
false;
77 bool m_tokenDomainsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TokenDomainsHasBeenSet() const
AWS_WAFV2_API Aws::String SerializePayload() const override
void SetScope(Scope value)
AWS_WAFV2_API CreateAPIKeyRequest()=default
CreateAPIKeyRequest & AddTokenDomains(TokenDomainsT &&value)
void SetTokenDomains(TokenDomainsT &&value)
const Aws::Vector< Aws::String > & GetTokenDomains() const
CreateAPIKeyRequest & WithTokenDomains(TokenDomainsT &&value)
bool ScopeHasBeenSet() const
CreateAPIKeyRequest & WithScope(Scope 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