AWS SDK for C++  1.9.159
AWS SDK for C++
ListInstanceStorageConfigsRequest.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 "ListInstanceStorageConfigs"; }
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 ListInstanceStorageConfigsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
77 
82  inline ListInstanceStorageConfigsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
83 
88  inline ListInstanceStorageConfigsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
89 
90 
94  inline const InstanceStorageResourceType& GetResourceType() const{ return m_resourceType; }
95 
99  inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
100 
104  inline void SetResourceType(const InstanceStorageResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
105 
109  inline void SetResourceType(InstanceStorageResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
110 
114  inline ListInstanceStorageConfigsRequest& WithResourceType(const InstanceStorageResourceType& value) { SetResourceType(value); return *this;}
115 
119  inline ListInstanceStorageConfigsRequest& WithResourceType(InstanceStorageResourceType&& value) { SetResourceType(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 ListInstanceStorageConfigsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
157 
162  inline ListInstanceStorageConfigsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
163 
168  inline ListInstanceStorageConfigsRequest& 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 ListInstanceStorageConfigsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
190 
191  private:
192 
193  Aws::String m_instanceId;
194  bool m_instanceIdHasBeenSet;
195 
196  InstanceStorageResourceType m_resourceType;
197  bool m_resourceTypeHasBeenSet;
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::Connect::Model::ListInstanceStorageConfigsRequest::WithNextToken
ListInstanceStorageConfigsRequest & WithNextToken(Aws::String &&value)
Definition: ListInstanceStorageConfigsRequest.h:162
Aws::Connect::Model::ListInstanceStorageConfigsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListInstanceStorageConfigsRequest.h:52
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListInstanceStorageConfigsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListInstanceStorageConfigsRequest.h:184
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListInstanceStorageConfigsRequest.h:144
InstanceStorageResourceType.h
Aws::Connect::Model::ListInstanceStorageConfigsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListInstanceStorageConfigsRequest.h:46
Aws::Connect::Model::ListInstanceStorageConfigsRequest::ResourceTypeHasBeenSet
bool ResourceTypeHasBeenSet() const
Definition: ListInstanceStorageConfigsRequest.h:99
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListInstanceStorageConfigsRequest.h:70
Aws::Connect::Model::ListInstanceStorageConfigsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListInstanceStorageConfigsRequest.h:35
Aws::Connect::Model::ListInstanceStorageConfigsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListInstanceStorageConfigsRequest.h:174
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithInstanceId
ListInstanceStorageConfigsRequest & WithInstanceId(Aws::String &&value)
Definition: ListInstanceStorageConfigsRequest.h:82
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithInstanceId
ListInstanceStorageConfigsRequest & WithInstanceId(const char *value)
Definition: ListInstanceStorageConfigsRequest.h:88
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithNextToken
ListInstanceStorageConfigsRequest & WithNextToken(const Aws::String &value)
Definition: ListInstanceStorageConfigsRequest.h:156
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListInstanceStorageConfigsRequest.h:58
Aws::Connect::Model::ListInstanceStorageConfigsRequest
Definition: ListInstanceStorageConfigsRequest.h:27
Aws::Connect::Model::ListInstanceStorageConfigsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListInstanceStorageConfigsRequest.h:132
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithInstanceId
ListInstanceStorageConfigsRequest & WithInstanceId(const Aws::String &value)
Definition: ListInstanceStorageConfigsRequest.h:76
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListInstanceStorageConfigsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListInstanceStorageConfigsRequest.h:126
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListInstanceStorageConfigsRequest.h:64
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListInstanceStorageConfigsRequest.h:138
AWSString.h
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetResourceType
void SetResourceType(const InstanceStorageResourceType &value)
Definition: ListInstanceStorageConfigsRequest.h:104
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListInstanceStorageConfigsRequest.h:150
Aws::Connect::Model::ListInstanceStorageConfigsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListInstanceStorageConfigsRequest.h:179
Aws::Connect::Model::ListInstanceStorageConfigsRequest::ListInstanceStorageConfigsRequest
ListInstanceStorageConfigsRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithResourceType
ListInstanceStorageConfigsRequest & WithResourceType(InstanceStorageResourceType &&value)
Definition: ListInstanceStorageConfigsRequest.h:119
Aws::Connect::Model::InstanceStorageResourceType
InstanceStorageResourceType
Definition: InstanceStorageResourceType.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListInstanceStorageConfigsRequest::SetResourceType
void SetResourceType(InstanceStorageResourceType &&value)
Definition: ListInstanceStorageConfigsRequest.h:109
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithNextToken
ListInstanceStorageConfigsRequest & WithNextToken(const char *value)
Definition: ListInstanceStorageConfigsRequest.h:168
Aws::Connect::Model::ListInstanceStorageConfigsRequest::GetResourceType
const InstanceStorageResourceType & GetResourceType() const
Definition: ListInstanceStorageConfigsRequest.h:94
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithResourceType
ListInstanceStorageConfigsRequest & WithResourceType(const InstanceStorageResourceType &value)
Definition: ListInstanceStorageConfigsRequest.h:114
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListInstanceStorageConfigsRequest::WithMaxResults
ListInstanceStorageConfigsRequest & WithMaxResults(int value)
Definition: ListInstanceStorageConfigsRequest.h:189
Connect_EXPORTS.h
ConnectRequest.h