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/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/appsync/model/AuthMode.h>
46 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
61 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
108 inline void SetCodeHandlers(
const char* value) { m_codeHandlersHasBeenSet =
true; m_codeHandlers.assign(value); }
133 bool m_apiIdHasBeenSet =
false;
136 bool m_nameHasBeenSet =
false;
139 bool m_subscribeAuthModesHasBeenSet =
false;
142 bool m_publishAuthModesHasBeenSet =
false;
145 bool m_codeHandlersHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
bool ApiIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateChannelNamespaceRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< AuthMode > & GetSubscribeAuthModes() const
bool CodeHandlersHasBeenSet() const
CreateChannelNamespaceRequest & WithApiId(const char *value)
void SetCodeHandlers(const char *value)
void SetApiId(const Aws::String &value)
void SetPublishAuthModes(Aws::Vector< AuthMode > &&value)
const Aws::Vector< AuthMode > & GetPublishAuthModes() const
CreateChannelNamespaceRequest & AddTags(const char *key, const char *value)
const Aws::String & GetCodeHandlers() const
void SetPublishAuthModes(const Aws::Vector< AuthMode > &value)
CreateChannelNamespaceRequest & WithSubscribeAuthModes(const Aws::Vector< AuthMode > &value)
CreateChannelNamespaceRequest & WithCodeHandlers(const char *value)
void SetSubscribeAuthModes(Aws::Vector< AuthMode > &&value)
bool SubscribeAuthModesHasBeenSet() const
void SetApiId(const char *value)
CreateChannelNamespaceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
void SetName(const Aws::String &value)
CreateChannelNamespaceRequest & WithSubscribeAuthModes(Aws::Vector< AuthMode > &&value)
CreateChannelNamespaceRequest & WithName(const char *value)
void SetName(Aws::String &&value)
void SetName(const char *value)
CreateChannelNamespaceRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateChannelNamespaceRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateChannelNamespaceRequest & AddSubscribeAuthModes(const AuthMode &value)
CreateChannelNamespaceRequest & WithCodeHandlers(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetSubscribeAuthModes(const Aws::Vector< AuthMode > &value)
void SetCodeHandlers(Aws::String &&value)
CreateChannelNamespaceRequest & WithName(Aws::String &&value)
CreateChannelNamespaceRequest & WithApiId(Aws::String &&value)
void SetCodeHandlers(const Aws::String &value)
CreateChannelNamespaceRequest & WithPublishAuthModes(Aws::Vector< AuthMode > &&value)
CreateChannelNamespaceRequest & AddPublishAuthModes(const AuthMode &value)
CreateChannelNamespaceRequest & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetApiId() const
CreateChannelNamespaceRequest & WithCodeHandlers(Aws::String &&value)
CreateChannelNamespaceRequest & AddPublishAuthModes(AuthMode &&value)
CreateChannelNamespaceRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateChannelNamespaceRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
CreateChannelNamespaceRequest & WithPublishAuthModes(const Aws::Vector< AuthMode > &value)
void SetApiId(Aws::String &&value)
CreateChannelNamespaceRequest & AddSubscribeAuthModes(AuthMode &&value)
CreateChannelNamespaceRequest & WithApiId(const Aws::String &value)
AWS_APPSYNC_API CreateChannelNamespaceRequest()
CreateChannelNamespaceRequest & WithName(const Aws::String &value)
CreateChannelNamespaceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool PublishAuthModesHasBeenSet() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
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
std::vector< T, Aws::Allocator< T > > Vector