7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/sns/SNSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename TopicArnT = Aws::String>
49 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet =
true; m_topicArn = std::forward<TopicArnT>(value); }
50 template<
typename TopicArnT = Aws::String>
61 template<
typename TokenT = Aws::String>
62 void SetToken(TokenT&& value) { m_tokenHasBeenSet =
true; m_token = std::forward<TokenT>(value); }
63 template<
typename TokenT = Aws::String>
77 template<
typename AuthenticateOnUnsubscribeT = Aws::String>
78 void SetAuthenticateOnUnsubscribe(AuthenticateOnUnsubscribeT&& value) { m_authenticateOnUnsubscribeHasBeenSet =
true; m_authenticateOnUnsubscribe = std::forward<AuthenticateOnUnsubscribeT>(value); }
79 template<
typename AuthenticateOnUnsubscribeT = Aws::String>
85 bool m_topicArnHasBeenSet =
false;
88 bool m_tokenHasBeenSet =
false;
91 bool m_authenticateOnUnsubscribeHasBeenSet =
false;
AWS_SNS_API ConfirmSubscriptionRequest()=default
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ConfirmSubscriptionRequest & WithTopicArn(TopicArnT &&value)
void SetToken(TokenT &&value)
bool TokenHasBeenSet() const
ConfirmSubscriptionRequest & WithAuthenticateOnUnsubscribe(AuthenticateOnUnsubscribeT &&value)
const Aws::String & GetTopicArn() const
const Aws::String & GetToken() const
const Aws::String & GetAuthenticateOnUnsubscribe() const
AWS_SNS_API Aws::String SerializePayload() const override
bool TopicArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool AuthenticateOnUnsubscribeHasBeenSet() const
void SetTopicArn(TopicArnT &&value)
void SetAuthenticateOnUnsubscribe(AuthenticateOnUnsubscribeT &&value)
ConfirmSubscriptionRequest & WithToken(TokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String