AWS SDK for C++  1.9.157
AWS SDK for C++
ListIntegrationAssociationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Connect
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListIntegrationAssociations"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
47 
52  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
53 
58  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
59 
64  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
65 
70  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
71 
76  inline ListIntegrationAssociationsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
77 
82  inline ListIntegrationAssociationsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
83 
88  inline ListIntegrationAssociationsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
89 
90 
94  inline const IntegrationType& GetIntegrationType() const{ return m_integrationType; }
95 
99  inline bool IntegrationTypeHasBeenSet() const { return m_integrationTypeHasBeenSet; }
100 
104  inline void SetIntegrationType(const IntegrationType& value) { m_integrationTypeHasBeenSet = true; m_integrationType = value; }
105 
109  inline void SetIntegrationType(IntegrationType&& value) { m_integrationTypeHasBeenSet = true; m_integrationType = std::move(value); }
110 
114  inline ListIntegrationAssociationsRequest& WithIntegrationType(const IntegrationType& value) { SetIntegrationType(value); return *this;}
115 
119  inline ListIntegrationAssociationsRequest& WithIntegrationType(IntegrationType&& value) { SetIntegrationType(std::move(value)); return *this;}
120 
121 
126  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
127 
132  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
133 
138  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
139 
144  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
145 
150  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
151 
156  inline ListIntegrationAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
157 
162  inline ListIntegrationAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
163 
168  inline ListIntegrationAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
169 
170 
174  inline int GetMaxResults() const{ return m_maxResults; }
175 
179  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
180 
184  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
185 
189  inline ListIntegrationAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
190 
191  private:
192 
193  Aws::String m_instanceId;
194  bool m_instanceIdHasBeenSet;
195 
196  IntegrationType m_integrationType;
197  bool m_integrationTypeHasBeenSet;
198 
199  Aws::String m_nextToken;
200  bool m_nextTokenHasBeenSet;
201 
202  int m_maxResults;
203  bool m_maxResultsHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace Connect
208 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListIntegrationAssociationsRequest.h:150
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListIntegrationAssociationsRequest.h:70
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithNextToken
ListIntegrationAssociationsRequest & WithNextToken(const Aws::String &value)
Definition: ListIntegrationAssociationsRequest.h:156
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithNextToken
ListIntegrationAssociationsRequest & WithNextToken(Aws::String &&value)
Definition: ListIntegrationAssociationsRequest.h:162
Aws::Connect::Model::ListIntegrationAssociationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListIntegrationAssociationsRequest.h:35
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithNextToken
ListIntegrationAssociationsRequest & WithNextToken(const char *value)
Definition: ListIntegrationAssociationsRequest.h:168
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithInstanceId
ListIntegrationAssociationsRequest & WithInstanceId(Aws::String &&value)
Definition: ListIntegrationAssociationsRequest.h:82
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetIntegrationType
void SetIntegrationType(const IntegrationType &value)
Definition: ListIntegrationAssociationsRequest.h:104
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithInstanceId
ListIntegrationAssociationsRequest & WithInstanceId(const char *value)
Definition: ListIntegrationAssociationsRequest.h:88
Aws::Connect::Model::ListIntegrationAssociationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::ListIntegrationAssociationsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListIntegrationAssociationsRequest.h:174
Aws::Connect::Model::ListIntegrationAssociationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIntegrationAssociationsRequest.h:126
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListIntegrationAssociationsRequest.h:64
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithMaxResults
ListIntegrationAssociationsRequest & WithMaxResults(int value)
Definition: ListIntegrationAssociationsRequest.h:189
Aws::Connect::Model::ListIntegrationAssociationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListIntegrationAssociationsRequest.h:179
Aws::Connect::Model::ListIntegrationAssociationsRequest
Definition: ListIntegrationAssociationsRequest.h:27
Aws::Connect::Model::ListIntegrationAssociationsRequest::GetIntegrationType
const IntegrationType & GetIntegrationType() const
Definition: ListIntegrationAssociationsRequest.h:94
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListIntegrationAssociationsRequest.h:58
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithIntegrationType
ListIntegrationAssociationsRequest & WithIntegrationType(const IntegrationType &value)
Definition: ListIntegrationAssociationsRequest.h:114
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIntegrationAssociationsRequest.h:138
Aws::Connect::Model::ListIntegrationAssociationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListIntegrationAssociationsRequest.h:132
Aws::Connect::Model::ListIntegrationAssociationsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListIntegrationAssociationsRequest.h:52
AWSString.h
Aws::Connect::Model::ListIntegrationAssociationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListIntegrationAssociationsRequest::IntegrationTypeHasBeenSet
bool IntegrationTypeHasBeenSet() const
Definition: ListIntegrationAssociationsRequest.h:99
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithIntegrationType
ListIntegrationAssociationsRequest & WithIntegrationType(IntegrationType &&value)
Definition: ListIntegrationAssociationsRequest.h:119
Aws::Connect::Model::ListIntegrationAssociationsRequest::WithInstanceId
ListIntegrationAssociationsRequest & WithInstanceId(const Aws::String &value)
Definition: ListIntegrationAssociationsRequest.h:76
Aws::Connect::Model::ListIntegrationAssociationsRequest::ListIntegrationAssociationsRequest
ListIntegrationAssociationsRequest()
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetIntegrationType
void SetIntegrationType(IntegrationType &&value)
Definition: ListIntegrationAssociationsRequest.h:109
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListIntegrationAssociationsRequest.h:184
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListIntegrationAssociationsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListIntegrationAssociationsRequest.h:46
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::IntegrationType
IntegrationType
Definition: IntegrationType.h:17
Aws::Connect::Model::ListIntegrationAssociationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIntegrationAssociationsRequest.h:144
IntegrationType.h
Connect_EXPORTS.h
ConnectRequest.h