AWS SDK for C++  1.9.161
AWS SDK for C++
ListQuickConnectsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace Connect
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListQuickConnects"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 
53  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
54 
59  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
60 
65  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
66 
71  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
72 
77  inline ListQuickConnectsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
78 
83  inline ListQuickConnectsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
84 
89  inline ListQuickConnectsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
90 
91 
96  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 
102  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
103 
108  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
109 
114  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
115 
120  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
121 
126  inline ListQuickConnectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 
132  inline ListQuickConnectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
133 
138  inline ListQuickConnectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
139 
140 
144  inline int GetMaxResults() const{ return m_maxResults; }
145 
149  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
150 
154  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
155 
159  inline ListQuickConnectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
160 
161 
167  inline const Aws::Vector<QuickConnectType>& GetQuickConnectTypes() const{ return m_quickConnectTypes; }
168 
174  inline bool QuickConnectTypesHasBeenSet() const { return m_quickConnectTypesHasBeenSet; }
175 
181  inline void SetQuickConnectTypes(const Aws::Vector<QuickConnectType>& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes = value; }
182 
188  inline void SetQuickConnectTypes(Aws::Vector<QuickConnectType>&& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes = std::move(value); }
189 
195  inline ListQuickConnectsRequest& WithQuickConnectTypes(const Aws::Vector<QuickConnectType>& value) { SetQuickConnectTypes(value); return *this;}
196 
202  inline ListQuickConnectsRequest& WithQuickConnectTypes(Aws::Vector<QuickConnectType>&& value) { SetQuickConnectTypes(std::move(value)); return *this;}
203 
209  inline ListQuickConnectsRequest& AddQuickConnectTypes(const QuickConnectType& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes.push_back(value); return *this; }
210 
216  inline ListQuickConnectsRequest& AddQuickConnectTypes(QuickConnectType&& value) { m_quickConnectTypesHasBeenSet = true; m_quickConnectTypes.push_back(std::move(value)); return *this; }
217 
218  private:
219 
220  Aws::String m_instanceId;
221  bool m_instanceIdHasBeenSet;
222 
223  Aws::String m_nextToken;
224  bool m_nextTokenHasBeenSet;
225 
226  int m_maxResults;
227  bool m_maxResultsHasBeenSet;
228 
229  Aws::Vector<QuickConnectType> m_quickConnectTypes;
230  bool m_quickConnectTypesHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace Connect
235 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListQuickConnectsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListQuickConnectsRequest.h:47
Aws::Connect::Model::ListQuickConnectsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListQuickConnectsRequest.h:149
Aws::Connect::Model::ListQuickConnectsRequest::WithInstanceId
ListQuickConnectsRequest & WithInstanceId(Aws::String &&value)
Definition: ListQuickConnectsRequest.h:83
Aws::Connect::Model::ListQuickConnectsRequest::QuickConnectTypesHasBeenSet
bool QuickConnectTypesHasBeenSet() const
Definition: ListQuickConnectsRequest.h:174
Aws::Connect::Model::ListQuickConnectsRequest::WithQuickConnectTypes
ListQuickConnectsRequest & WithQuickConnectTypes(const Aws::Vector< QuickConnectType > &value)
Definition: ListQuickConnectsRequest.h:195
Aws::Connect::Model::ListQuickConnectsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListQuickConnectsRequest.h:53
Aws::Connect::Model::ListQuickConnectsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListQuickConnectsRequest::WithNextToken
ListQuickConnectsRequest & WithNextToken(const Aws::String &value)
Definition: ListQuickConnectsRequest.h:126
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::ListQuickConnectsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListQuickConnectsRequest.h:102
Aws::Connect::Model::ListQuickConnectsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQuickConnectsRequest.h:96
Aws::Connect::Model::ListQuickConnectsRequest::SetQuickConnectTypes
void SetQuickConnectTypes(const Aws::Vector< QuickConnectType > &value)
Definition: ListQuickConnectsRequest.h:181
AWSVector.h
Aws::Connect::Model::ListQuickConnectsRequest::WithNextToken
ListQuickConnectsRequest & WithNextToken(Aws::String &&value)
Definition: ListQuickConnectsRequest.h:132
Aws::Connect::Model::ListQuickConnectsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListQuickConnectsRequest.h:154
Aws::Connect::Model::ListQuickConnectsRequest::ListQuickConnectsRequest
ListQuickConnectsRequest()
Aws::Connect::Model::QuickConnectType
QuickConnectType
Definition: QuickConnectType.h:17
Aws::Connect::Model::ListQuickConnectsRequest::SetQuickConnectTypes
void SetQuickConnectTypes(Aws::Vector< QuickConnectType > &&value)
Definition: ListQuickConnectsRequest.h:188
Aws::Connect::Model::ListQuickConnectsRequest::WithNextToken
ListQuickConnectsRequest & WithNextToken(const char *value)
Definition: ListQuickConnectsRequest.h:138
Aws::Connect::Model::ListQuickConnectsRequest::WithInstanceId
ListQuickConnectsRequest & WithInstanceId(const char *value)
Definition: ListQuickConnectsRequest.h:89
Aws::Connect::Model::ListQuickConnectsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListQuickConnectsRequest.h:120
QuickConnectType.h
Aws::Connect::Model::ListQuickConnectsRequest::AddQuickConnectTypes
ListQuickConnectsRequest & AddQuickConnectTypes(const QuickConnectType &value)
Definition: ListQuickConnectsRequest.h:209
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListQuickConnectsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListQuickConnectsRequest.h:144
AWSString.h
Aws::Connect::Model::ListQuickConnectsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListQuickConnectsRequest.h:36
Aws::Connect::Model::ListQuickConnectsRequest::WithQuickConnectTypes
ListQuickConnectsRequest & WithQuickConnectTypes(Aws::Vector< QuickConnectType > &&value)
Definition: ListQuickConnectsRequest.h:202
Aws::Connect::Model::ListQuickConnectsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::ListQuickConnectsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQuickConnectsRequest.h:114
Aws::Connect::Model::ListQuickConnectsRequest::WithInstanceId
ListQuickConnectsRequest & WithInstanceId(const Aws::String &value)
Definition: ListQuickConnectsRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListQuickConnectsRequest::GetQuickConnectTypes
const Aws::Vector< QuickConnectType > & GetQuickConnectTypes() const
Definition: ListQuickConnectsRequest.h:167
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListQuickConnectsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListQuickConnectsRequest.h:65
Aws::Connect::Model::ListQuickConnectsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQuickConnectsRequest.h:108
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListQuickConnectsRequest
Definition: ListQuickConnectsRequest.h:28
Aws::Connect::Model::ListQuickConnectsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListQuickConnectsRequest.h:59
Connect_EXPORTS.h
Aws::Connect::Model::ListQuickConnectsRequest::AddQuickConnectTypes
ListQuickConnectsRequest & AddQuickConnectTypes(QuickConnectType &&value)
Definition: ListQuickConnectsRequest.h:216
Aws::Connect::Model::ListQuickConnectsRequest::WithMaxResults
ListQuickConnectsRequest & WithMaxResults(int value)
Definition: ListQuickConnectsRequest.h:159
ConnectRequest.h
Aws::Connect::Model::ListQuickConnectsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListQuickConnectsRequest.h:71