AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetEngineType(const Aws::String& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
48 inline void SetEngineType(Aws::String&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
49 inline void SetEngineType(const char* value) { m_engineTypeHasBeenSet = true; m_engineType.assign(value); }
51 inline DescribeBrokerInstanceOptionsRequest& WithEngineType(Aws::String&& value) { SetEngineType(std::move(value)); return *this;}
52 inline DescribeBrokerInstanceOptionsRequest& WithEngineType(const char* value) { SetEngineType(value); return *this;}
54
56
59 inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; }
60 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
61 inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = value; }
62 inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::move(value); }
63 inline void SetHostInstanceType(const char* value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType.assign(value); }
66 inline DescribeBrokerInstanceOptionsRequest& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;}
68
70
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline DescribeBrokerInstanceOptionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline DescribeBrokerInstanceOptionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline DescribeBrokerInstanceOptionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline DescribeBrokerInstanceOptionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94
96
99 inline const Aws::String& GetStorageType() const{ return m_storageType; }
100 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
101 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
102 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
103 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
105 inline DescribeBrokerInstanceOptionsRequest& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
106 inline DescribeBrokerInstanceOptionsRequest& WithStorageType(const char* value) { SetStorageType(value); return *this;}
108 private:
109
110 Aws::String m_engineType;
111 bool m_engineTypeHasBeenSet = false;
112
113 Aws::String m_hostInstanceType;
114 bool m_hostInstanceTypeHasBeenSet = false;
115
116 int m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 Aws::String m_storageType;
123 bool m_storageTypeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace MQ
128} // 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 & WithNextToken(Aws::String &&value)
DescribeBrokerInstanceOptionsRequest & WithEngineType(const char *value)
DescribeBrokerInstanceOptionsRequest & WithNextToken(const Aws::String &value)
DescribeBrokerInstanceOptionsRequest & WithStorageType(const char *value)
DescribeBrokerInstanceOptionsRequest & WithStorageType(const Aws::String &value)
DescribeBrokerInstanceOptionsRequest & WithHostInstanceType(const char *value)
DescribeBrokerInstanceOptionsRequest & WithHostInstanceType(Aws::String &&value)
DescribeBrokerInstanceOptionsRequest & WithEngineType(Aws::String &&value)
DescribeBrokerInstanceOptionsRequest & WithEngineType(const Aws::String &value)
DescribeBrokerInstanceOptionsRequest & WithHostInstanceType(const Aws::String &value)
DescribeBrokerInstanceOptionsRequest & WithStorageType(Aws::String &&value)
DescribeBrokerInstanceOptionsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String