AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeBrokerInstanceOptionsRequest.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/MQRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace MQ
19{
20namespace 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_MQ_API Aws::String SerializePayload() const override;
37
38 AWS_MQ_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetEngineType() const { return m_engineType; }
46 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
47 template<typename EngineTypeT = Aws::String>
48 void SetEngineType(EngineTypeT&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::forward<EngineTypeT>(value); }
49 template<typename EngineTypeT = Aws::String>
50 DescribeBrokerInstanceOptionsRequest& WithEngineType(EngineTypeT&& value) { SetEngineType(std::forward<EngineTypeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetHostInstanceType() const { return m_hostInstanceType; }
58 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
59 template<typename HostInstanceTypeT = Aws::String>
60 void SetHostInstanceType(HostInstanceTypeT&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::forward<HostInstanceTypeT>(value); }
61 template<typename HostInstanceTypeT = Aws::String>
62 DescribeBrokerInstanceOptionsRequest& WithHostInstanceType(HostInstanceTypeT&& value) { SetHostInstanceType(std::forward<HostInstanceTypeT>(value)); return *this;}
64
66
70 inline int GetMaxResults() const { return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
73 inline DescribeBrokerInstanceOptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
75
77
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template<typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
85 template<typename NextTokenT = Aws::String>
86 DescribeBrokerInstanceOptionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
88
90
93 inline const Aws::String& GetStorageType() const { return m_storageType; }
94 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
95 template<typename StorageTypeT = Aws::String>
96 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
97 template<typename StorageTypeT = Aws::String>
98 DescribeBrokerInstanceOptionsRequest& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
100 private:
101
102 Aws::String m_engineType;
103 bool m_engineTypeHasBeenSet = false;
104
105 Aws::String m_hostInstanceType;
106 bool m_hostInstanceTypeHasBeenSet = false;
107
108 int m_maxResults{0};
109 bool m_maxResultsHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113
114 Aws::String m_storageType;
115 bool m_storageTypeHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace MQ
120} // 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