AWS SDK for C++  1.9.104
AWS SDK for C++
ListPhoneNumbersOptedOutRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sns/SNS_EXPORTS.h>
8 #include <aws/sns/SNSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SNS
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListPhoneNumbersOptedOut"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
48  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
49 
55  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 
62  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 
69  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
70 
76  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 
83  inline ListPhoneNumbersOptedOutRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 
90  inline ListPhoneNumbersOptedOutRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 
97  inline ListPhoneNumbersOptedOutRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
98 
99  private:
100 
101  Aws::String m_nextToken;
102  bool m_nextTokenHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace SNS
107 } // namespace Aws
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListPhoneNumbersOptedOutRequest.h:48
Aws::Http::URI
Definition: URI.h:32
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListPhoneNumbersOptedOutRequest.h:34
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListPhoneNumbersOptedOutRequest.h:62
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::WithNextToken
ListPhoneNumbersOptedOutRequest & WithNextToken(Aws::String &&value)
Definition: ListPhoneNumbersOptedOutRequest.h:90
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::WithNextToken
ListPhoneNumbersOptedOutRequest & WithNextToken(const Aws::String &value)
Definition: ListPhoneNumbersOptedOutRequest.h:83
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::WithNextToken
ListPhoneNumbersOptedOutRequest & WithNextToken(const char *value)
Definition: ListPhoneNumbersOptedOutRequest.h:97
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListPhoneNumbersOptedOutRequest.h:55
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListPhoneNumbersOptedOutRequest.h:76
SNSRequest.h
Aws::SNS::SNSRequest
Definition: SNSRequest.h:17
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest
Definition: ListPhoneNumbersOptedOutRequest.h:26
AWSString.h
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListPhoneNumbersOptedOutRequest.h:69
Aws::CostExplorer::Model::SubscriberType::NOT_SET
@ NOT_SET
AWS_SNS_API
#define AWS_SNS_API
Definition: SNS_EXPORTS.h:28
SNS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::ListPhoneNumbersOptedOutRequest
ListPhoneNumbersOptedOutRequest()
Aws::SNS::Model::ListPhoneNumbersOptedOutRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override