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>
73 inline void SetAPIKey(
const char* value) { m_aPIKeyHasBeenSet =
true; m_aPIKey.assign(value); }
97 inline void SetVersion(
int value) { m_versionHasBeenSet =
true; m_version = value; }
103 bool m_tokenDomainsHasBeenSet =
false;
106 bool m_aPIKeyHasBeenSet =
false;
109 bool m_creationTimestampHasBeenSet =
false;
112 bool m_versionHasBeenSet =
false;
AWS_WAFV2_API APIKeySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API APIKeySummary()
APIKeySummary & WithAPIKey(const Aws::String &value)
void SetAPIKey(const char *value)
void SetTokenDomains(const Aws::Vector< Aws::String > &value)
bool TokenDomainsHasBeenSet() const
APIKeySummary & AddTokenDomains(const Aws::String &value)
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
APIKeySummary & WithCreationTimestamp(Aws::Utils::DateTime &&value)
void SetAPIKey(Aws::String &&value)
void SetVersion(int value)
bool CreationTimestampHasBeenSet() const
AWS_WAFV2_API APIKeySummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAPIKey() const
APIKeySummary & WithCreationTimestamp(const Aws::Utils::DateTime &value)
APIKeySummary & WithTokenDomains(Aws::Vector< Aws::String > &&value)
APIKeySummary & WithAPIKey(const char *value)
APIKeySummary & WithTokenDomains(const Aws::Vector< Aws::String > &value)
APIKeySummary & WithAPIKey(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
APIKeySummary & AddTokenDomains(Aws::String &&value)
const Aws::Vector< Aws::String > & GetTokenDomains() const
bool VersionHasBeenSet() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool APIKeyHasBeenSet() const
void SetTokenDomains(Aws::Vector< Aws::String > &&value)
APIKeySummary & WithVersion(int value)
APIKeySummary & AddTokenDomains(const char *value)
void SetAPIKey(const Aws::String &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &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