1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
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 <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16     class URI;
17 } //namespace Http
18 namespace Connect
19 {
20 namespace Model
21 {
22 
23   /**
24    */
25   class AWS_CONNECT_API ListInstanceAttributesRequest : public ConnectRequest
26   {
27   public:
28     ListInstanceAttributesRequest();
29 
30     // Service request name is the Operation name which will send this request out,
31     // each operation should has unique request name, so that we can get operation's name from this request.
32     // Note: this is not true for response, multiple operations may have the same response name,
33     // so we can not get operation's name from response.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "ListInstanceAttributes"; }
35 
36     Aws::String SerializePayload() const override;
37 
38     void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
41     /**
42      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
43      * the ARN of the instance.</p>
44      */
GetInstanceId()45     inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 
47     /**
48      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
49      * the ARN of the instance.</p>
50      */
InstanceIdHasBeenSet()51     inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
52 
53     /**
54      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
55      * the ARN of the instance.</p>
56      */
SetInstanceId(const Aws::String & value)57     inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
58 
59     /**
60      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
61      * the ARN of the instance.</p>
62      */
SetInstanceId(Aws::String && value)63     inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
64 
65     /**
66      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
67      * the ARN of the instance.</p>
68      */
SetInstanceId(const char * value)69     inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
70 
71     /**
72      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
73      * the ARN of the instance.</p>
74      */
WithInstanceId(const Aws::String & value)75     inline ListInstanceAttributesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
76 
77     /**
78      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
79      * the ARN of the instance.</p>
80      */
WithInstanceId(Aws::String && value)81     inline ListInstanceAttributesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
82 
83     /**
84      * <p>The identifier of the Amazon Connect instance. You can find the instanceId in
85      * the ARN of the instance.</p>
86      */
WithInstanceId(const char * value)87     inline ListInstanceAttributesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
88 
89 
90     /**
91      * <p>The token for the next set of results. Use the value returned in the previous
92      * response in the next request to retrieve the next set of results.</p>
93      */
GetNextToken()94     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 
96     /**
97      * <p>The token for the next set of results. Use the value returned in the previous
98      * response in the next request to retrieve the next set of results.</p>
99      */
NextTokenHasBeenSet()100     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 
102     /**
103      * <p>The token for the next set of results. Use the value returned in the previous
104      * response in the next request to retrieve the next set of results.</p>
105      */
SetNextToken(const Aws::String & value)106     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 
108     /**
109      * <p>The token for the next set of results. Use the value returned in the previous
110      * response in the next request to retrieve the next set of results.</p>
111      */
SetNextToken(Aws::String && value)112     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
114     /**
115      * <p>The token for the next set of results. Use the value returned in the previous
116      * response in the next request to retrieve the next set of results.</p>
117      */
SetNextToken(const char * value)118     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
119 
120     /**
121      * <p>The token for the next set of results. Use the value returned in the previous
122      * response in the next request to retrieve the next set of results.</p>
123      */
WithNextToken(const Aws::String & value)124     inline ListInstanceAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
126     /**
127      * <p>The token for the next set of results. Use the value returned in the previous
128      * response in the next request to retrieve the next set of results.</p>
129      */
WithNextToken(Aws::String && value)130     inline ListInstanceAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
132     /**
133      * <p>The token for the next set of results. Use the value returned in the previous
134      * response in the next request to retrieve the next set of results.</p>
135      */
WithNextToken(const char * value)136     inline ListInstanceAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
137 
138 
139     /**
140      * <p>The maximum number of results to return per page.</p>
141      */
GetMaxResults()142     inline int GetMaxResults() const{ return m_maxResults; }
143 
144     /**
145      * <p>The maximum number of results to return per page.</p>
146      */
MaxResultsHasBeenSet()147     inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
148 
149     /**
150      * <p>The maximum number of results to return per page.</p>
151      */
SetMaxResults(int value)152     inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
153 
154     /**
155      * <p>The maximum number of results to return per page.</p>
156      */
WithMaxResults(int value)157     inline ListInstanceAttributesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
158 
159   private:
160 
161     Aws::String m_instanceId;
162     bool m_instanceIdHasBeenSet;
163 
164     Aws::String m_nextToken;
165     bool m_nextTokenHasBeenSet;
166 
167     int m_maxResults;
168     bool m_maxResultsHasBeenSet;
169   };
170 
171 } // namespace Model
172 } // namespace Connect
173 } // namespace Aws
174