AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeBrokerInstanceOptionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mq/MQRequest.h>
9#include <aws/mq/MQ_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace MQ {
18namespace Model {
19
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeBrokerInstanceOptions"; }
31
32 AWS_MQ_API Aws::String SerializePayload() const override;
33
34 AWS_MQ_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetEngineType() const { return m_engineType; }
41 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
42 template <typename EngineTypeT = Aws::String>
43 void SetEngineType(EngineTypeT&& value) {
44 m_engineTypeHasBeenSet = true;
45 m_engineType = std::forward<EngineTypeT>(value);
46 }
47 template <typename EngineTypeT = Aws::String>
49 SetEngineType(std::forward<EngineTypeT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetHostInstanceType() const { return m_hostInstanceType; }
59 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
60 template <typename HostInstanceTypeT = Aws::String>
61 void SetHostInstanceType(HostInstanceTypeT&& value) {
62 m_hostInstanceTypeHasBeenSet = true;
63 m_hostInstanceType = std::forward<HostInstanceTypeT>(value);
64 }
65 template <typename HostInstanceTypeT = Aws::String>
67 SetHostInstanceType(std::forward<HostInstanceTypeT>(value));
68 return *this;
69 }
71
73
77 inline int GetMaxResults() const { return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) {
80 m_maxResultsHasBeenSet = true;
81 m_maxResults = value;
82 }
84 SetMaxResults(value);
85 return *this;
86 }
88
90
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template <typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) {
98 m_nextTokenHasBeenSet = true;
99 m_nextToken = std::forward<NextTokenT>(value);
100 }
101 template <typename NextTokenT = Aws::String>
103 SetNextToken(std::forward<NextTokenT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetStorageType() const { return m_storageType; }
113 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
114 template <typename StorageTypeT = Aws::String>
115 void SetStorageType(StorageTypeT&& value) {
116 m_storageTypeHasBeenSet = true;
117 m_storageType = std::forward<StorageTypeT>(value);
118 }
119 template <typename StorageTypeT = Aws::String>
121 SetStorageType(std::forward<StorageTypeT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_engineType;
127
128 Aws::String m_hostInstanceType;
129
130 int m_maxResults{0};
131
132 Aws::String m_nextToken;
133
134 Aws::String m_storageType;
135 bool m_engineTypeHasBeenSet = false;
136 bool m_hostInstanceTypeHasBeenSet = false;
137 bool m_maxResultsHasBeenSet = false;
138 bool m_nextTokenHasBeenSet = false;
139 bool m_storageTypeHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace MQ
144} // namespace Aws
AWS_MQ_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeBrokerInstanceOptionsRequest & WithMaxResults(int value)
AWS_MQ_API Aws::String SerializePayload() const override
DescribeBrokerInstanceOptionsRequest & WithStorageType(StorageTypeT &&value)
DescribeBrokerInstanceOptionsRequest & WithEngineType(EngineTypeT &&value)
DescribeBrokerInstanceOptionsRequest & WithNextToken(NextTokenT &&value)
DescribeBrokerInstanceOptionsRequest & WithHostInstanceType(HostInstanceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String