AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListIntegrationAssociationsRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/IntegrationType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Connect
20{
21namespace 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_CONNECT_API Aws::String SerializePayload() const override;
38
39 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
48 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
49 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
50 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
51 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
52 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
53 inline ListIntegrationAssociationsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
54 inline ListIntegrationAssociationsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
55 inline ListIntegrationAssociationsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
57
59
62 inline const IntegrationType& GetIntegrationType() const{ return m_integrationType; }
63 inline bool IntegrationTypeHasBeenSet() const { return m_integrationTypeHasBeenSet; }
64 inline void SetIntegrationType(const IntegrationType& value) { m_integrationTypeHasBeenSet = true; m_integrationType = value; }
65 inline void SetIntegrationType(IntegrationType&& value) { m_integrationTypeHasBeenSet = true; m_integrationType = std::move(value); }
69
71
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
80 inline ListIntegrationAssociationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline ListIntegrationAssociationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline ListIntegrationAssociationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84
86
89 inline int GetMaxResults() const{ return m_maxResults; }
90 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
92 inline ListIntegrationAssociationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
94
96
99 inline const Aws::String& GetIntegrationArn() const{ return m_integrationArn; }
100 inline bool IntegrationArnHasBeenSet() const { return m_integrationArnHasBeenSet; }
101 inline void SetIntegrationArn(const Aws::String& value) { m_integrationArnHasBeenSet = true; m_integrationArn = value; }
102 inline void SetIntegrationArn(Aws::String&& value) { m_integrationArnHasBeenSet = true; m_integrationArn = std::move(value); }
103 inline void SetIntegrationArn(const char* value) { m_integrationArnHasBeenSet = true; m_integrationArn.assign(value); }
105 inline ListIntegrationAssociationsRequest& WithIntegrationArn(Aws::String&& value) { SetIntegrationArn(std::move(value)); return *this;}
106 inline ListIntegrationAssociationsRequest& WithIntegrationArn(const char* value) { SetIntegrationArn(value); return *this;}
108 private:
109
110 Aws::String m_instanceId;
111 bool m_instanceIdHasBeenSet = false;
112
113 IntegrationType m_integrationType;
114 bool m_integrationTypeHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118
119 int m_maxResults;
120 bool m_maxResultsHasBeenSet = false;
121
122 Aws::String m_integrationArn;
123 bool m_integrationArnHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
ListIntegrationAssociationsRequest & WithInstanceId(const Aws::String &value)
ListIntegrationAssociationsRequest & WithIntegrationArn(const char *value)
ListIntegrationAssociationsRequest & WithIntegrationType(const IntegrationType &value)
ListIntegrationAssociationsRequest & WithNextToken(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
ListIntegrationAssociationsRequest & WithInstanceId(const char *value)
ListIntegrationAssociationsRequest & WithIntegrationArn(Aws::String &&value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListIntegrationAssociationsRequest & WithNextToken(const Aws::String &value)
ListIntegrationAssociationsRequest & WithIntegrationType(IntegrationType &&value)
ListIntegrationAssociationsRequest & WithNextToken(const char *value)
ListIntegrationAssociationsRequest & WithIntegrationArn(const Aws::String &value)
ListIntegrationAssociationsRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String