7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/appsync/model/AuthMode.h>
54 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
69 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
116 inline void SetCodeHandlers(
const char* value) { m_codeHandlersHasBeenSet =
true; m_codeHandlers.assign(value); }
136 inline ChannelNamespace&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
147 inline void SetChannelNamespaceArn(
const char* value) { m_channelNamespaceArnHasBeenSet =
true; m_channelNamespaceArn.assign(value); }
180 bool m_apiIdHasBeenSet =
false;
183 bool m_nameHasBeenSet =
false;
186 bool m_subscribeAuthModesHasBeenSet =
false;
189 bool m_publishAuthModesHasBeenSet =
false;
192 bool m_codeHandlersHasBeenSet =
false;
195 bool m_tagsHasBeenSet =
false;
198 bool m_channelNamespaceArnHasBeenSet =
false;
201 bool m_createdHasBeenSet =
false;
204 bool m_lastModifiedHasBeenSet =
false;
ChannelNamespace & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::String & GetChannelNamespaceArn() const
ChannelNamespace & AddTags(const Aws::String &key, const Aws::String &value)
AWS_APPSYNC_API ChannelNamespace(Aws::Utils::Json::JsonView jsonValue)
void SetSubscribeAuthModes(const Aws::Vector< AuthMode > &value)
ChannelNamespace & WithChannelNamespaceArn(Aws::String &&value)
bool LastModifiedHasBeenSet() const
void SetPublishAuthModes(Aws::Vector< AuthMode > &&value)
ChannelNamespace & AddTags(const Aws::String &key, Aws::String &&value)
void SetLastModified(Aws::Utils::DateTime &&value)
ChannelNamespace & WithName(const char *value)
ChannelNamespace & AddPublishAuthModes(AuthMode &&value)
const Aws::Vector< AuthMode > & GetPublishAuthModes() const
bool PublishAuthModesHasBeenSet() const
AWS_APPSYNC_API ChannelNamespace & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelNamespace & WithSubscribeAuthModes(const Aws::Vector< AuthMode > &value)
ChannelNamespace & AddSubscribeAuthModes(AuthMode &&value)
ChannelNamespace & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Utils::DateTime & GetLastModified() const
ChannelNamespace & AddPublishAuthModes(const AuthMode &value)
void SetName(Aws::String &&value)
ChannelNamespace & WithPublishAuthModes(Aws::Vector< AuthMode > &&value)
bool NameHasBeenSet() const
void SetLastModified(const Aws::Utils::DateTime &value)
const Aws::String & GetApiId() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedHasBeenSet() const
ChannelNamespace & WithApiId(Aws::String &&value)
ChannelNamespace & AddTags(const char *key, Aws::String &&value)
void SetName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ChannelNamespace & WithApiId(const Aws::String &value)
void SetApiId(const char *value)
void SetChannelNamespaceArn(Aws::String &&value)
ChannelNamespace & WithCodeHandlers(const Aws::String &value)
ChannelNamespace & AddTags(const char *key, const char *value)
ChannelNamespace & WithSubscribeAuthModes(Aws::Vector< AuthMode > &&value)
const Aws::Utils::DateTime & GetCreated() const
void SetApiId(Aws::String &&value)
ChannelNamespace & WithCreated(const Aws::Utils::DateTime &value)
void SetSubscribeAuthModes(Aws::Vector< AuthMode > &&value)
ChannelNamespace & WithCodeHandlers(Aws::String &&value)
void SetCodeHandlers(const char *value)
ChannelNamespace & AddSubscribeAuthModes(const AuthMode &value)
void SetCodeHandlers(const Aws::String &value)
bool ChannelNamespaceArnHasBeenSet() const
ChannelNamespace & WithLastModified(Aws::Utils::DateTime &&value)
ChannelNamespace & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetApiId(const Aws::String &value)
ChannelNamespace & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetCodeHandlers() const
ChannelNamespace & WithApiId(const char *value)
void SetCreated(const Aws::Utils::DateTime &value)
bool CodeHandlersHasBeenSet() const
bool SubscribeAuthModesHasBeenSet() const
void SetName(const char *value)
const Aws::String & GetName() const
ChannelNamespace & AddTags(Aws::String &&key, const Aws::String &value)
void SetPublishAuthModes(const Aws::Vector< AuthMode > &value)
ChannelNamespace & WithChannelNamespaceArn(const char *value)
ChannelNamespace & WithLastModified(const Aws::Utils::DateTime &value)
ChannelNamespace & WithCreated(Aws::Utils::DateTime &&value)
void SetCodeHandlers(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_APPSYNC_API ChannelNamespace()
void SetChannelNamespaceArn(const Aws::String &value)
ChannelNamespace & WithName(Aws::String &&value)
ChannelNamespace & WithCodeHandlers(const char *value)
ChannelNamespace & WithPublishAuthModes(const Aws::Vector< AuthMode > &value)
ChannelNamespace & WithName(const Aws::String &value)
ChannelNamespace & WithChannelNamespaceArn(const Aws::String &value)
bool ApiIdHasBeenSet() const
void SetChannelNamespaceArn(const char *value)
const Aws::Vector< AuthMode > & GetSubscribeAuthModes() const
bool TagsHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreated(Aws::Utils::DateTime &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue