AWS SDK for C++  1.9.156
AWS SDK for C++
ListInstanceAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
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 
26  {
27  public:
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.
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 
45  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 
51  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
52 
57  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
58 
63  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
64 
69  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
70 
75  inline ListInstanceAttributesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
76 
81  inline ListInstanceAttributesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
82 
87  inline ListInstanceAttributesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
88 
89 
94  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 
100  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 
106  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
118  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
119 
124  inline ListInstanceAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
130  inline ListInstanceAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
136  inline ListInstanceAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
137 
138 
142  inline int GetMaxResults() const{ return m_maxResults; }
143 
147  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
148 
152  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
153 
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
Aws::Connect::Model::ListInstanceAttributesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListInstanceAttributesRequest.h:57
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListInstanceAttributesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::ListInstanceAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListInstanceAttributesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListInstanceAttributesRequest.h:147
Aws::Connect::Model::ListInstanceAttributesRequest::WithMaxResults
ListInstanceAttributesRequest & WithMaxResults(int value)
Definition: ListInstanceAttributesRequest.h:157
Aws::Connect::Model::ListInstanceAttributesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListInstanceAttributesRequest.h:94
Aws::Connect::Model::ListInstanceAttributesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListInstanceAttributesRequest.h:142
Aws::Connect::Model::ListInstanceAttributesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListInstanceAttributesRequest.h:152
Aws::Connect::Model::ListInstanceAttributesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListInstanceAttributesRequest.h:45
Aws::Connect::Model::ListInstanceAttributesRequest::WithNextToken
ListInstanceAttributesRequest & WithNextToken(Aws::String &&value)
Definition: ListInstanceAttributesRequest.h:130
Aws::Connect::Model::ListInstanceAttributesRequest
Definition: ListInstanceAttributesRequest.h:26
Aws::Connect::Model::ListInstanceAttributesRequest::WithInstanceId
ListInstanceAttributesRequest & WithInstanceId(const Aws::String &value)
Definition: ListInstanceAttributesRequest.h:75
Aws::Connect::Model::ListInstanceAttributesRequest::WithNextToken
ListInstanceAttributesRequest & WithNextToken(const Aws::String &value)
Definition: ListInstanceAttributesRequest.h:124
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListInstanceAttributesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListInstanceAttributesRequest.h:106
Aws::Connect::Model::ListInstanceAttributesRequest::WithInstanceId
ListInstanceAttributesRequest & WithInstanceId(const char *value)
Definition: ListInstanceAttributesRequest.h:87
AWSString.h
Aws::Connect::Model::ListInstanceAttributesRequest::WithInstanceId
ListInstanceAttributesRequest & WithInstanceId(Aws::String &&value)
Definition: ListInstanceAttributesRequest.h:81
Aws::Connect::Model::ListInstanceAttributesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListInstanceAttributesRequest.h:112
Aws::Connect::Model::ListInstanceAttributesRequest::WithNextToken
ListInstanceAttributesRequest & WithNextToken(const char *value)
Definition: ListInstanceAttributesRequest.h:136
Aws::Connect::Model::ListInstanceAttributesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListInstanceAttributesRequest.h:63
Aws::Connect::Model::ListInstanceAttributesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListInstanceAttributesRequest.h:118
Aws::Connect::Model::ListInstanceAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListInstanceAttributesRequest.h:34
Aws::Connect::Model::ListInstanceAttributesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListInstanceAttributesRequest.h:51
Aws::Connect::Model::ListInstanceAttributesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListInstanceAttributesRequest.h:100
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::ListInstanceAttributesRequest::ListInstanceAttributesRequest
ListInstanceAttributesRequest()
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::ListInstanceAttributesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListInstanceAttributesRequest.h:69
ConnectRequest.h