7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/sns/SNSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
46 template<
typename TopicArnT = Aws::String>
47 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet =
true; m_topicArn = std::forward<TopicArnT>(value); }
48 template<
typename TopicArnT = Aws::String>
58 template<
typename LabelT = Aws::String>
59 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
60 template<
typename LabelT = Aws::String>
72 template<
typename AWSAccountIdT = Aws::Vector<Aws::String>>
73 void SetAWSAccountId(AWSAccountIdT&& value) { m_aWSAccountIdHasBeenSet =
true; m_aWSAccountId = std::forward<AWSAccountIdT>(value); }
74 template<
typename AWSAccountIdT = Aws::Vector<Aws::String>>
76 template<
typename AWSAccountIdT = Aws::String>
87 template<
typename ActionNameT = Aws::Vector<Aws::String>>
88 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet =
true; m_actionName = std::forward<ActionNameT>(value); }
89 template<
typename ActionNameT = Aws::Vector<Aws::String>>
91 template<
typename ActionNameT = Aws::String>
97 bool m_topicArnHasBeenSet =
false;
100 bool m_labelHasBeenSet =
false;
103 bool m_aWSAccountIdHasBeenSet =
false;
106 bool m_actionNameHasBeenSet =
false;
AddPermissionRequest & WithLabel(LabelT &&value)
AWS_SNS_API AddPermissionRequest()=default
const Aws::String & GetTopicArn() const
AWS_SNS_API Aws::String SerializePayload() const override
bool AWSAccountIdHasBeenSet() const
AddPermissionRequest & WithActionName(ActionNameT &&value)
void SetActionName(ActionNameT &&value)
void SetTopicArn(TopicArnT &&value)
const Aws::String & GetLabel() const
AddPermissionRequest & WithTopicArn(TopicArnT &&value)
bool ActionNameHasBeenSet() const
bool TopicArnHasBeenSet() const
void SetAWSAccountId(AWSAccountIdT &&value)
const Aws::Vector< Aws::String > & GetActionName() const
AddPermissionRequest & WithAWSAccountId(AWSAccountIdT &&value)
void SetLabel(LabelT &&value)
bool LabelHasBeenSet() const
const Aws::Vector< Aws::String > & GetAWSAccountId() const
AddPermissionRequest & AddAWSAccountId(AWSAccountIdT &&value)
AddPermissionRequest & AddActionName(ActionNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector