AWS SDK for C++  1.9.123
AWS SDK for C++
ListGatewaysRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
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 "ListGateways"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetGatewayGroupArn() const{ return m_gatewayGroupArn; }
41 
45  inline bool GatewayGroupArnHasBeenSet() const { return m_gatewayGroupArnHasBeenSet; }
46 
50  inline void SetGatewayGroupArn(const Aws::String& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = value; }
51 
55  inline void SetGatewayGroupArn(Aws::String&& value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn = std::move(value); }
56 
60  inline void SetGatewayGroupArn(const char* value) { m_gatewayGroupArnHasBeenSet = true; m_gatewayGroupArn.assign(value); }
61 
65  inline ListGatewaysRequest& WithGatewayGroupArn(const Aws::String& value) { SetGatewayGroupArn(value); return *this;}
66 
70  inline ListGatewaysRequest& WithGatewayGroupArn(Aws::String&& value) { SetGatewayGroupArn(std::move(value)); return *this;}
71 
75  inline ListGatewaysRequest& WithGatewayGroupArn(const char* value) { SetGatewayGroupArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
86  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 
91  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
92 
96  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 
101  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
102 
106  inline ListGatewaysRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
111  inline ListGatewaysRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
116  inline ListGatewaysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
117 
118 
122  inline int GetMaxResults() const{ return m_maxResults; }
123 
127  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
128 
132  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
133 
137  inline ListGatewaysRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
138 
139  private:
140 
141  Aws::String m_gatewayGroupArn;
142  bool m_gatewayGroupArnHasBeenSet;
143 
144  Aws::String m_nextToken;
145  bool m_nextTokenHasBeenSet;
146 
147  int m_maxResults;
148  bool m_maxResultsHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace AlexaForBusiness
153 } // namespace Aws
Aws::AlexaForBusiness::Model::ListGatewaysRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AlexaForBusiness::Model::ListGatewaysRequest::WithMaxResults
ListGatewaysRequest & WithMaxResults(int value)
Definition: ListGatewaysRequest.h:137
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::ListGatewaysRequest
Definition: ListGatewaysRequest.h:22
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SetGatewayGroupArn
void SetGatewayGroupArn(const Aws::String &value)
Definition: ListGatewaysRequest.h:50
Aws::AlexaForBusiness::Model::ListGatewaysRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListGatewaysRequest.h:127
Aws::AlexaForBusiness::Model::ListGatewaysRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGatewaysRequest.h:81
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListGatewaysRequest.h:101
Aws::AlexaForBusiness::Model::ListGatewaysRequest::WithNextToken
ListGatewaysRequest & WithNextToken(const Aws::String &value)
Definition: ListGatewaysRequest.h:106
Aws::AlexaForBusiness::Model::ListGatewaysRequest::GetMaxResults
int GetMaxResults() const
Definition: ListGatewaysRequest.h:122
Aws::AlexaForBusiness::Model::ListGatewaysRequest::GetGatewayGroupArn
const Aws::String & GetGatewayGroupArn() const
Definition: ListGatewaysRequest.h:40
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGatewaysRequest.h:91
Aws::AlexaForBusiness::Model::ListGatewaysRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListGatewaysRequest.h:86
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::ListGatewaysRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListGatewaysRequest.h:30
AWSString.h
Aws::AlexaForBusiness::Model::ListGatewaysRequest::WithGatewayGroupArn
ListGatewaysRequest & WithGatewayGroupArn(const char *value)
Definition: ListGatewaysRequest.h:75
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListGatewaysRequest.h:132
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SetGatewayGroupArn
void SetGatewayGroupArn(Aws::String &&value)
Definition: ListGatewaysRequest.h:55
Aws::AlexaForBusiness::Model::ListGatewaysRequest::GatewayGroupArnHasBeenSet
bool GatewayGroupArnHasBeenSet() const
Definition: ListGatewaysRequest.h:45
Aws::AlexaForBusiness::Model::ListGatewaysRequest::WithNextToken
ListGatewaysRequest & WithNextToken(Aws::String &&value)
Definition: ListGatewaysRequest.h:111
Aws::AlexaForBusiness::Model::ListGatewaysRequest::WithGatewayGroupArn
ListGatewaysRequest & WithGatewayGroupArn(Aws::String &&value)
Definition: ListGatewaysRequest.h:70
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::ListGatewaysRequest::ListGatewaysRequest
ListGatewaysRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::ListGatewaysRequest::WithGatewayGroupArn
ListGatewaysRequest & WithGatewayGroupArn(const Aws::String &value)
Definition: ListGatewaysRequest.h:65
Aws::AlexaForBusiness::Model::ListGatewaysRequest::WithNextToken
ListGatewaysRequest & WithNextToken(const char *value)
Definition: ListGatewaysRequest.h:116
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGatewaysRequest.h:96
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::ListGatewaysRequest::SetGatewayGroupArn
void SetGatewayGroupArn(const char *value)
Definition: ListGatewaysRequest.h:60