AWS SDK for C++  1.9.104
AWS SDK for C++
ListSMSSandboxPhoneNumbersRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListSMSSandboxPhoneNumbers"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
43  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 
49  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
50 
55  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
56 
61  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 
67  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 
73  inline ListSMSSandboxPhoneNumbersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 
79  inline ListSMSSandboxPhoneNumbersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 
85  inline ListSMSSandboxPhoneNumbersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86 
87 
91  inline int GetMaxResults() const{ return m_maxResults; }
92 
96  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 
101  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
102 
106  inline ListSMSSandboxPhoneNumbersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107 
108  private:
109 
110  Aws::String m_nextToken;
111  bool m_nextTokenHasBeenSet;
112 
113  int m_maxResults;
114  bool m_maxResultsHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace SNS
119 } // namespace Aws
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSMSSandboxPhoneNumbersRequest.h:30
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:61
Aws::Http::URI
Definition: URI.h:32
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::WithNextToken
ListSMSSandboxPhoneNumbersRequest & WithNextToken(const char *value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:85
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSMSSandboxPhoneNumbersRequest.h:96
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSMSSandboxPhoneNumbersRequest.h:43
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest
Definition: ListSMSSandboxPhoneNumbersRequest.h:22
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSMSSandboxPhoneNumbersRequest.h:49
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:55
SNSRequest.h
Aws::SNS::SNSRequest
Definition: SNSRequest.h:17
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::WithMaxResults
ListSMSSandboxPhoneNumbersRequest & WithMaxResults(int value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:106
AWSString.h
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::WithNextToken
ListSMSSandboxPhoneNumbersRequest & WithNextToken(Aws::String &&value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:79
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::ListSMSSandboxPhoneNumbersRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSMSSandboxPhoneNumbersRequest.h:91
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::WithNextToken
ListSMSSandboxPhoneNumbersRequest & WithNextToken(const Aws::String &value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:73
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::ListSMSSandboxPhoneNumbersRequest
ListSMSSandboxPhoneNumbersRequest()
Aws::SNS::Model::ListSMSSandboxPhoneNumbersRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSMSSandboxPhoneNumbersRequest.h:101