7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/appsync/model/EventConfig.h>
45 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
59 inline void SetOwnerContact(
const char* value) { m_ownerContactHasBeenSet =
true; m_ownerContact.assign(value); }
79 inline CreateApiRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
97 bool m_nameHasBeenSet =
false;
100 bool m_ownerContactHasBeenSet =
false;
103 bool m_tagsHasBeenSet =
false;
106 bool m_eventConfigHasBeenSet =
false;
CreateApiRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateApiRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetOwnerContact(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateApiRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool EventConfigHasBeenSet() const
CreateApiRequest & WithOwnerContact(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPSYNC_API CreateApiRequest()
AWS_APPSYNC_API Aws::String SerializePayload() const override
void SetName(const char *value)
void SetOwnerContact(const char *value)
void SetEventConfig(const EventConfig &value)
void SetOwnerContact(Aws::String &&value)
bool OwnerContactHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateApiRequest & WithName(const char *value)
const Aws::String & GetName() const
CreateApiRequest & WithEventConfig(EventConfig &&value)
bool NameHasBeenSet() const
CreateApiRequest & AddTags(const char *key, const char *value)
void SetName(Aws::String &&value)
CreateApiRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const EventConfig & GetEventConfig() const
CreateApiRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateApiRequest & AddTags(const char *key, Aws::String &&value)
CreateApiRequest & WithName(const Aws::String &value)
CreateApiRequest & WithName(Aws::String &&value)
CreateApiRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetName(const Aws::String &value)
CreateApiRequest & WithOwnerContact(Aws::String &&value)
const Aws::String & GetOwnerContact() const
bool TagsHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateApiRequest & AddTags(Aws::String &&key, const char *value)
CreateApiRequest & WithEventConfig(const EventConfig &value)
void SetEventConfig(EventConfig &&value)
CreateApiRequest & WithOwnerContact(const char *value)
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