AWS SDK for C++  1.9.123
AWS SDK for C++
GetConnectorsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sms/SMS_EXPORTS.h>
8 #include <aws/sms/SMSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SMS
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 "GetConnectors"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
41 
45  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
46 
50  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
51 
55  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
56 
60  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
61 
65  inline GetConnectorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
70  inline GetConnectorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 
75  inline GetConnectorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76 
77 
83  inline int GetMaxResults() const{ return m_maxResults; }
84 
90  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 
97  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
98 
104  inline GetConnectorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 
106  private:
107 
108  Aws::String m_nextToken;
109  bool m_nextTokenHasBeenSet;
110 
111  int m_maxResults;
112  bool m_maxResultsHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace SMS
117 } // namespace Aws
Aws::SMS::Model::GetConnectorsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetConnectorsRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
SMSRequest.h
Aws::SMS::Model::GetConnectorsRequest::WithNextToken
GetConnectorsRequest & WithNextToken(const char *value)
Definition: GetConnectorsRequest.h:75
Aws::SMS::Model::GetConnectorsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetConnectorsRequest.h:45
Aws::SMS::Model::GetConnectorsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetConnectorsRequest.h:97
Aws::SMS::Model::GetConnectorsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetConnectorsRequest.h:60
Aws::SMS::Model::GetConnectorsRequest::WithMaxResults
GetConnectorsRequest & WithMaxResults(int value)
Definition: GetConnectorsRequest.h:104
Aws::SMS::Model::GetConnectorsRequest
Definition: GetConnectorsRequest.h:22
Aws::SMS::Model::GetConnectorsRequest::GetConnectorsRequest
GetConnectorsRequest()
SMS_EXPORTS.h
Aws::SMS::SMSRequest
Definition: SMSRequest.h:17
Aws::SMS::Model::GetConnectorsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SMS::Model::GetConnectorsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AmplifyBackend::Model::DeliveryMethod::NOT_SET
@ NOT_SET
AWSString.h
Aws::SMS::Model::GetConnectorsRequest::WithNextToken
GetConnectorsRequest & WithNextToken(const Aws::String &value)
Definition: GetConnectorsRequest.h:65
Aws::SMS::Model::GetConnectorsRequest::GetMaxResults
int GetMaxResults() const
Definition: GetConnectorsRequest.h:83
Aws::SMS::Model::GetConnectorsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetConnectorsRequest.h:40
Aws::SMS::Model::GetConnectorsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetConnectorsRequest.h:50
Aws::SMS::Model::GetConnectorsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetConnectorsRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::SMS::Model::GetConnectorsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetConnectorsRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_SMS_API
#define AWS_SMS_API
Definition: SMS_EXPORTS.h:28
Aws::SMS::Model::GetConnectorsRequest::WithNextToken
GetConnectorsRequest & WithNextToken(Aws::String &&value)
Definition: GetConnectorsRequest.h:70