7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sns/SNSRequest.h>
10#include <aws/sns/SNS_EXPORTS.h>
42 template <
typename TopicArnT = Aws::String>
44 m_topicArnHasBeenSet =
true;
45 m_topicArn = std::forward<TopicArnT>(value);
47 template <
typename TopicArnT = Aws::String>
60 template <
typename LabelT = Aws::String>
62 m_labelHasBeenSet =
true;
63 m_label = std::forward<LabelT>(value);
65 template <
typename LabelT = Aws::String>
67 SetLabel(std::forward<LabelT>(value));
80 template <
typename AWSAccountIdT = Aws::Vector<Aws::String>>
82 m_aWSAccountIdHasBeenSet =
true;
83 m_aWSAccountId = std::forward<AWSAccountIdT>(value);
85 template <
typename AWSAccountIdT = Aws::Vector<Aws::String>>
90 template <
typename AWSAccountIdT = Aws::String>
92 m_aWSAccountIdHasBeenSet =
true;
93 m_aWSAccountId.emplace_back(std::forward<AWSAccountIdT>(value));
105 template <
typename ActionNameT = Aws::Vector<Aws::String>>
107 m_actionNameHasBeenSet =
true;
108 m_actionName = std::forward<ActionNameT>(value);
110 template <
typename ActionNameT = Aws::Vector<Aws::String>>
115 template <
typename ActionNameT = Aws::String>
117 m_actionNameHasBeenSet =
true;
118 m_actionName.emplace_back(std::forward<ActionNameT>(value));
130 bool m_topicArnHasBeenSet =
false;
131 bool m_labelHasBeenSet =
false;
132 bool m_aWSAccountIdHasBeenSet =
false;
133 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