7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/appsync/model/EventConfig.h>
40 AWS_APPSYNC_API
Api();
54 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetOwnerContact(
const char* value) { m_ownerContactHasBeenSet =
true; m_ownerContact.assign(value); }
100 inline Api&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
101 inline Api&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
102 inline Api&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
120 inline Api&
AddDns(
const char* key,
Aws::String&& value) { m_dnsHasBeenSet =
true; m_dns.emplace(key, std::move(value));
return *
this; }
121 inline Api&
AddDns(
Aws::String&& key,
const char* value) { m_dnsHasBeenSet =
true; m_dns.emplace(std::move(key), value);
return *
this; }
122 inline Api&
AddDns(
const char* key,
const char* value) { m_dnsHasBeenSet =
true; m_dns.emplace(key, value);
return *
this; }
133 inline void SetApiArn(
const char* value) { m_apiArnHasBeenSet =
true; m_apiArn.assign(value); }
157 inline void SetXrayEnabled(
bool value) { m_xrayEnabledHasBeenSet =
true; m_xrayEnabled = value; }
170 inline void SetWafWebAclArn(
const char* value) { m_wafWebAclArnHasBeenSet =
true; m_wafWebAclArn.assign(value); }
191 bool m_apiIdHasBeenSet =
false;
194 bool m_nameHasBeenSet =
false;
197 bool m_ownerContactHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
203 bool m_dnsHasBeenSet =
false;
206 bool m_apiArnHasBeenSet =
false;
209 bool m_createdHasBeenSet =
false;
212 bool m_xrayEnabledHasBeenSet =
false;
215 bool m_wafWebAclArnHasBeenSet =
false;
218 bool m_eventConfigHasBeenSet =
false;
bool XrayEnabledHasBeenSet() const
Api & AddDns(const Aws::String &key, const Aws::String &value)
void SetCreated(const Aws::Utils::DateTime &value)
Api & WithDns(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetApiId() const
void SetApiId(Aws::String &&value)
Api & AddDns(Aws::String &&key, Aws::String &&value)
Api & WithEventConfig(const EventConfig &value)
Api & AddDns(Aws::String &&key, const char *value)
Api & WithWafWebAclArn(Aws::String &&value)
Api & AddTags(const char *key, const char *value)
void SetDns(const Aws::Map< Aws::String, Aws::String > &value)
bool EventConfigHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Api & AddTags(const char *key, Aws::String &&value)
void SetApiId(const Aws::String &value)
const Aws::String & GetName() const
void SetDns(Aws::Map< Aws::String, Aws::String > &&value)
void SetApiArn(Aws::String &&value)
Api & WithName(const char *value)
void SetApiArn(const char *value)
void SetName(Aws::String &&value)
Api & WithName(const Aws::String &value)
void SetOwnerContact(const Aws::String &value)
bool NameHasBeenSet() const
const Aws::String & GetOwnerContact() const
const Aws::String & GetApiArn() const
Api & WithXrayEnabled(bool value)
Api & WithEventConfig(EventConfig &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Api & WithOwnerContact(const Aws::String &value)
Api & WithCreated(Aws::Utils::DateTime &&value)
Api & AddTags(Aws::String &&key, const Aws::String &value)
bool ApiArnHasBeenSet() const
void SetName(const char *value)
bool OwnerContactHasBeenSet() const
Api & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreated(Aws::Utils::DateTime &&value)
Api & WithApiArn(const Aws::String &value)
Api & AddDns(const Aws::String &key, Aws::String &&value)
Api & WithCreated(const Aws::Utils::DateTime &value)
Api & WithName(Aws::String &&value)
bool WafWebAclArnHasBeenSet() const
Api & WithOwnerContact(Aws::String &&value)
Api & WithWafWebAclArn(const char *value)
Api & WithApiArn(Aws::String &&value)
Api & WithApiId(Aws::String &&value)
Api & AddDns(const char *key, Aws::String &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
Api & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Api & AddDns(const char *key, const char *value)
const EventConfig & GetEventConfig() const
bool ApiIdHasBeenSet() const
bool DnsHasBeenSet() const
void SetEventConfig(const EventConfig &value)
const Aws::Map< Aws::String, Aws::String > & GetDns() const
Api & WithApiId(const Aws::String &value)
void SetWafWebAclArn(Aws::String &&value)
void SetName(const Aws::String &value)
Api & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetWafWebAclArn() const
void SetApiArn(const Aws::String &value)
void SetApiId(const char *value)
bool TagsHasBeenSet() const
void SetWafWebAclArn(const char *value)
bool CreatedHasBeenSet() const
Api & WithWafWebAclArn(const Aws::String &value)
Api & AddTags(Aws::String &&key, const char *value)
void SetWafWebAclArn(const Aws::String &value)
void SetOwnerContact(Aws::String &&value)
void SetXrayEnabled(bool value)
void SetEventConfig(EventConfig &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetOwnerContact(const char *value)
Api & WithOwnerContact(const char *value)
bool GetXrayEnabled() const
Api & AddDns(Aws::String &&key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreated() const
Api & WithApiArn(const char *value)
Api & WithApiId(const char *value)
AWS_APPSYNC_API Api & operator=(Aws::Utils::Json::JsonView jsonValue)
Api & WithDns(const Aws::Map< Aws::String, Aws::String > &value)
Api & AddTags(const Aws::String &key, const Aws::String &value)
Api & AddTags(const Aws::String &key, Aws::String &&value)
AWS_APPSYNC_API Api(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue