7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
55 template<
typename TokenDomainsT = Aws::Vector<Aws::String>>
56 void SetTokenDomains(TokenDomainsT&& value) { m_tokenDomainsHasBeenSet =
true; m_tokenDomains = std::forward<TokenDomainsT>(value); }
57 template<
typename TokenDomainsT = Aws::Vector<Aws::String>>
59 template<
typename TokenDomainsT = Aws::String>
60 APIKeySummary&
AddTokenDomains(TokenDomainsT&& value) { m_tokenDomainsHasBeenSet =
true; m_tokenDomains.emplace_back(std::forward<TokenDomainsT>(value));
return *
this; }
70 template<
typename APIKeyT = Aws::String>
71 void SetAPIKey(APIKeyT&& value) { m_aPIKeyHasBeenSet =
true; m_aPIKey = std::forward<APIKeyT>(value); }
72 template<
typename APIKeyT = Aws::String>
82 template<
typename CreationTimestampT = Aws::Utils::DateTime>
83 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet =
true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
84 template<
typename CreationTimestampT = Aws::Utils::DateTime>
94 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
100 bool m_tokenDomainsHasBeenSet =
false;
103 bool m_aPIKeyHasBeenSet =
false;
106 bool m_creationTimestampHasBeenSet =
false;
109 bool m_versionHasBeenSet =
false;
APIKeySummary & WithCreationTimestamp(CreationTimestampT &&value)
AWS_WAFV2_API APIKeySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTimestamp(CreationTimestampT &&value)
void SetAPIKey(APIKeyT &&value)
bool TokenDomainsHasBeenSet() const
void SetTokenDomains(TokenDomainsT &&value)
void SetVersion(int value)
bool CreationTimestampHasBeenSet() const
AWS_WAFV2_API APIKeySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API APIKeySummary()=default
const Aws::String & GetAPIKey() const
APIKeySummary & WithTokenDomains(TokenDomainsT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
const Aws::Vector< Aws::String > & GetTokenDomains() const
APIKeySummary & AddTokenDomains(TokenDomainsT &&value)
bool VersionHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool APIKeyHasBeenSet() const
APIKeySummary & WithVersion(int value)
APIKeySummary & WithAPIKey(APIKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue