7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/endusermessaging/EndUserMessagingRequest.h>
11#include <aws/endusermessaging/EndUserMessaging_EXPORTS.h>
12#include <aws/endusermessaging/model/ChannelParameters.h>
13#include <aws/endusermessaging/model/CodeConfigurationParameters.h>
14#include <aws/endusermessaging/model/Tag.h>
19namespace EndUserMessaging {
42 template <
typename NotifyCodeConfigurationNameT = Aws::String>
44 m_notifyCodeConfigurationNameHasBeenSet =
true;
45 m_notifyCodeConfigurationName = std::forward<NotifyCodeConfigurationNameT>(value);
47 template <
typename NotifyCodeConfigurationNameT = Aws::String>
63 template <
typename CodeConfigurationParametersT = CodeConfigurationParameters>
65 m_codeConfigurationParametersHasBeenSet =
true;
66 m_codeConfigurationParameters = std::forward<CodeConfigurationParametersT>(value);
68 template <
typename CodeConfigurationParametersT = CodeConfigurationParameters>
84 template <
typename ChannelParametersT = ChannelParameters>
86 m_channelParametersHasBeenSet =
true;
87 m_channelParameters = std::forward<ChannelParametersT>(value);
89 template <
typename ChannelParametersT = ChannelParameters>
104 m_deletionProtectionEnabledHasBeenSet =
true;
105 m_deletionProtectionEnabled = value;
121 template <
typename ClientTokenT = Aws::String>
123 m_clientTokenHasBeenSet =
true;
124 m_clientToken = std::forward<ClientTokenT>(value);
126 template <
typename ClientTokenT = Aws::String>
140 template <
typename TagsT = Aws::Vector<Tag>>
142 m_tagsHasBeenSet =
true;
143 m_tags = std::forward<TagsT>(value);
145 template <
typename TagsT = Aws::Vector<Tag>>
147 SetTags(std::forward<TagsT>(value));
150 template <
typename TagsT = Tag>
152 m_tagsHasBeenSet =
true;
153 m_tags.emplace_back(std::forward<TagsT>(value));
164 bool m_deletionProtectionEnabled{
false};
169 bool m_notifyCodeConfigurationNameHasBeenSet =
false;
170 bool m_codeConfigurationParametersHasBeenSet =
false;
171 bool m_channelParametersHasBeenSet =
false;
172 bool m_deletionProtectionEnabledHasBeenSet =
false;
173 bool m_clientTokenHasBeenSet =
true;
174 bool m_tagsHasBeenSet =
false;
CreateNotifyCodeConfigurationRequest & WithDeletionProtectionEnabled(bool value)
void SetChannelParameters(ChannelParametersT &&value)
CreateNotifyCodeConfigurationRequest & WithClientToken(ClientTokenT &&value)
void SetDeletionProtectionEnabled(bool value)
bool CodeConfigurationParametersHasBeenSet() const
bool DeletionProtectionEnabledHasBeenSet() const
void SetCodeConfigurationParameters(CodeConfigurationParametersT &&value)
const ChannelParameters & GetChannelParameters() const
AWS_ENDUSERMESSAGING_API CreateNotifyCodeConfigurationRequest()=default
CreateNotifyCodeConfigurationRequest & WithCodeConfigurationParameters(CodeConfigurationParametersT &&value)
bool ClientTokenHasBeenSet() const
bool TagsHasBeenSet() const
AWS_ENDUSERMESSAGING_API Aws::String SerializePayload() const override
void SetNotifyCodeConfigurationName(NotifyCodeConfigurationNameT &&value)
const Aws::String & GetClientToken() const
CreateNotifyCodeConfigurationRequest & AddTags(TagsT &&value)
bool NotifyCodeConfigurationNameHasBeenSet() const
CreateNotifyCodeConfigurationRequest & WithNotifyCodeConfigurationName(NotifyCodeConfigurationNameT &&value)
CreateNotifyCodeConfigurationRequest & WithTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
CreateNotifyCodeConfigurationRequest & WithChannelParameters(ChannelParametersT &&value)
bool GetDeletionProtectionEnabled() const
bool ChannelParametersHasBeenSet() const
const CodeConfigurationParameters & GetCodeConfigurationParameters() const
void SetTags(TagsT &&value)
const Aws::String & GetNotifyCodeConfigurationName() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector