AWS SDK for C++  1.9.40
AWS SDK for C++
DescribeBrokerInstanceOptionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mq/MQ_EXPORTS.h>
8 #include <aws/mq/MQRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace MQ
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 "DescribeBrokerInstanceOptions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetEngineType() const{ return m_engineType; }
45 
49  inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
50 
54  inline void SetEngineType(const Aws::String& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
55 
59  inline void SetEngineType(Aws::String&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
60 
64  inline void SetEngineType(const char* value) { m_engineTypeHasBeenSet = true; m_engineType.assign(value); }
65 
69  inline DescribeBrokerInstanceOptionsRequest& WithEngineType(const Aws::String& value) { SetEngineType(value); return *this;}
70 
74  inline DescribeBrokerInstanceOptionsRequest& WithEngineType(Aws::String&& value) { SetEngineType(std::move(value)); return *this;}
75 
79  inline DescribeBrokerInstanceOptionsRequest& WithEngineType(const char* value) { SetEngineType(value); return *this;}
80 
81 
85  inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; }
86 
90  inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
91 
95  inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = value; }
96 
100  inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::move(value); }
101 
105  inline void SetHostInstanceType(const char* value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType.assign(value); }
106 
110  inline DescribeBrokerInstanceOptionsRequest& WithHostInstanceType(const Aws::String& value) { SetHostInstanceType(value); return *this;}
111 
115  inline DescribeBrokerInstanceOptionsRequest& WithHostInstanceType(Aws::String&& value) { SetHostInstanceType(std::move(value)); return *this;}
116 
120  inline DescribeBrokerInstanceOptionsRequest& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;}
121 
122 
127  inline int GetMaxResults() const{ return m_maxResults; }
128 
133  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
134 
139  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
140 
145  inline DescribeBrokerInstanceOptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
146 
147 
152  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
153 
158  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
159 
164  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
165 
170  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
171 
176  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
177 
182  inline DescribeBrokerInstanceOptionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
183 
188  inline DescribeBrokerInstanceOptionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
189 
194  inline DescribeBrokerInstanceOptionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
195 
196 
200  inline const Aws::String& GetStorageType() const{ return m_storageType; }
201 
205  inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
206 
210  inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
211 
215  inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
216 
220  inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
221 
225  inline DescribeBrokerInstanceOptionsRequest& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
226 
230  inline DescribeBrokerInstanceOptionsRequest& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
231 
235  inline DescribeBrokerInstanceOptionsRequest& WithStorageType(const char* value) { SetStorageType(value); return *this;}
236 
237  private:
238 
239  Aws::String m_engineType;
240  bool m_engineTypeHasBeenSet;
241 
242  Aws::String m_hostInstanceType;
243  bool m_hostInstanceTypeHasBeenSet;
244 
245  int m_maxResults;
246  bool m_maxResultsHasBeenSet;
247 
248  Aws::String m_nextToken;
249  bool m_nextTokenHasBeenSet;
250 
251  Aws::String m_storageType;
252  bool m_storageTypeHasBeenSet;
253  };
254 
255 } // namespace Model
256 } // namespace MQ
257 } // namespace Aws
AWS_MQ_API
#define AWS_MQ_API
Definition: MQ_EXPORTS.h:28
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetStorageType
void SetStorageType(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:210
Aws::Http::URI
Definition: URI.h:32
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeBrokerInstanceOptionsRequest.h:34
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::DescribeBrokerInstanceOptionsRequest
DescribeBrokerInstanceOptionsRequest()
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithEngineType
DescribeBrokerInstanceOptionsRequest & WithEngineType(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:69
MQ_EXPORTS.h
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetHostInstanceType
void SetHostInstanceType(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:95
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetHostInstanceType
void SetHostInstanceType(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:100
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::GetHostInstanceType
const Aws::String & GetHostInstanceType() const
Definition: DescribeBrokerInstanceOptionsRequest.h:85
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithHostInstanceType
DescribeBrokerInstanceOptionsRequest & WithHostInstanceType(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:110
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeBrokerInstanceOptionsRequest.h:152
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest
Definition: DescribeBrokerInstanceOptionsRequest.h:26
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithNextToken
DescribeBrokerInstanceOptionsRequest & WithNextToken(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:194
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithHostInstanceType
DescribeBrokerInstanceOptionsRequest & WithHostInstanceType(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:115
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithMaxResults
DescribeBrokerInstanceOptionsRequest & WithMaxResults(int value)
Definition: DescribeBrokerInstanceOptionsRequest.h:145
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:164
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithHostInstanceType
DescribeBrokerInstanceOptionsRequest & WithHostInstanceType(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:120
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithStorageType
DescribeBrokerInstanceOptionsRequest & WithStorageType(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:225
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetStorageType
void SetStorageType(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:220
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::EngineTypeHasBeenSet
bool EngineTypeHasBeenSet() const
Definition: DescribeBrokerInstanceOptionsRequest.h:49
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetEngineType
void SetEngineType(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:54
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithEngineType
DescribeBrokerInstanceOptionsRequest & WithEngineType(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:79
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
MQRequest.h
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetEngineType
void SetEngineType(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:59
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetEngineType
void SetEngineType(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:64
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::HostInstanceTypeHasBeenSet
bool HostInstanceTypeHasBeenSet() const
Definition: DescribeBrokerInstanceOptionsRequest.h:90
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::GetStorageType
const Aws::String & GetStorageType() const
Definition: DescribeBrokerInstanceOptionsRequest.h:200
Aws
Definition: AccessManagementClient.h:15
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeBrokerInstanceOptionsRequest.h:139
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::StorageTypeHasBeenSet
bool StorageTypeHasBeenSet() const
Definition: DescribeBrokerInstanceOptionsRequest.h:205
Aws::MQ::MQRequest
Definition: MQRequest.h:17
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithStorageType
DescribeBrokerInstanceOptionsRequest & WithStorageType(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:235
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetStorageType
void SetStorageType(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:215
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithEngineType
DescribeBrokerInstanceOptionsRequest & WithEngineType(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:74
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithNextToken
DescribeBrokerInstanceOptionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:188
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithStorageType
DescribeBrokerInstanceOptionsRequest & WithStorageType(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:230
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeBrokerInstanceOptionsRequest.h:133
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeBrokerInstanceOptionsRequest.h:158
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeBrokerInstanceOptionsRequest.h:170
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetHostInstanceType
void SetHostInstanceType(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:105
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::GetEngineType
const Aws::String & GetEngineType() const
Definition: DescribeBrokerInstanceOptionsRequest.h:44
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeBrokerInstanceOptionsRequest.h:127
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::WithNextToken
DescribeBrokerInstanceOptionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeBrokerInstanceOptionsRequest.h:182
Aws::MQ::Model::DescribeBrokerInstanceOptionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeBrokerInstanceOptionsRequest.h:176