AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BrokerInstanceOption.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mq/model/EngineType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mq/model/BrokerStorageType.h>
12#include <aws/mq/model/AvailabilityZone.h>
13#include <aws/mq/model/DeploymentMode.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MQ
27{
28namespace Model
29{
30
37 {
38 public:
43
44
46
49 inline const Aws::Vector<AvailabilityZone>& GetAvailabilityZones() const{ return m_availabilityZones; }
50 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
51 inline void SetAvailabilityZones(const Aws::Vector<AvailabilityZone>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
52 inline void SetAvailabilityZones(Aws::Vector<AvailabilityZone>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
55 inline BrokerInstanceOption& AddAvailabilityZones(const AvailabilityZone& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
56 inline BrokerInstanceOption& AddAvailabilityZones(AvailabilityZone&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
58
60
63 inline const EngineType& GetEngineType() const{ return m_engineType; }
64 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
65 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
66 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
67 inline BrokerInstanceOption& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
68 inline BrokerInstanceOption& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetHostInstanceType() const{ return m_hostInstanceType; }
76 inline bool HostInstanceTypeHasBeenSet() const { return m_hostInstanceTypeHasBeenSet; }
77 inline void SetHostInstanceType(const Aws::String& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = value; }
78 inline void SetHostInstanceType(Aws::String&& value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType = std::move(value); }
79 inline void SetHostInstanceType(const char* value) { m_hostInstanceTypeHasBeenSet = true; m_hostInstanceType.assign(value); }
80 inline BrokerInstanceOption& WithHostInstanceType(const Aws::String& value) { SetHostInstanceType(value); return *this;}
81 inline BrokerInstanceOption& WithHostInstanceType(Aws::String&& value) { SetHostInstanceType(std::move(value)); return *this;}
82 inline BrokerInstanceOption& WithHostInstanceType(const char* value) { SetHostInstanceType(value); return *this;}
84
86
89 inline const BrokerStorageType& GetStorageType() const{ return m_storageType; }
90 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
91 inline void SetStorageType(const BrokerStorageType& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
92 inline void SetStorageType(BrokerStorageType&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
93 inline BrokerInstanceOption& WithStorageType(const BrokerStorageType& value) { SetStorageType(value); return *this;}
94 inline BrokerInstanceOption& WithStorageType(BrokerStorageType&& value) { SetStorageType(std::move(value)); return *this;}
96
98
101 inline const Aws::Vector<DeploymentMode>& GetSupportedDeploymentModes() const{ return m_supportedDeploymentModes; }
102 inline bool SupportedDeploymentModesHasBeenSet() const { return m_supportedDeploymentModesHasBeenSet; }
103 inline void SetSupportedDeploymentModes(const Aws::Vector<DeploymentMode>& value) { m_supportedDeploymentModesHasBeenSet = true; m_supportedDeploymentModes = value; }
104 inline void SetSupportedDeploymentModes(Aws::Vector<DeploymentMode>&& value) { m_supportedDeploymentModesHasBeenSet = true; m_supportedDeploymentModes = std::move(value); }
107 inline BrokerInstanceOption& AddSupportedDeploymentModes(const DeploymentMode& value) { m_supportedDeploymentModesHasBeenSet = true; m_supportedDeploymentModes.push_back(value); return *this; }
108 inline BrokerInstanceOption& AddSupportedDeploymentModes(DeploymentMode&& value) { m_supportedDeploymentModesHasBeenSet = true; m_supportedDeploymentModes.push_back(std::move(value)); return *this; }
110
112
115 inline const Aws::Vector<Aws::String>& GetSupportedEngineVersions() const{ return m_supportedEngineVersions; }
116 inline bool SupportedEngineVersionsHasBeenSet() const { return m_supportedEngineVersionsHasBeenSet; }
117 inline void SetSupportedEngineVersions(const Aws::Vector<Aws::String>& value) { m_supportedEngineVersionsHasBeenSet = true; m_supportedEngineVersions = value; }
118 inline void SetSupportedEngineVersions(Aws::Vector<Aws::String>&& value) { m_supportedEngineVersionsHasBeenSet = true; m_supportedEngineVersions = std::move(value); }
121 inline BrokerInstanceOption& AddSupportedEngineVersions(const Aws::String& value) { m_supportedEngineVersionsHasBeenSet = true; m_supportedEngineVersions.push_back(value); return *this; }
122 inline BrokerInstanceOption& AddSupportedEngineVersions(Aws::String&& value) { m_supportedEngineVersionsHasBeenSet = true; m_supportedEngineVersions.push_back(std::move(value)); return *this; }
123 inline BrokerInstanceOption& AddSupportedEngineVersions(const char* value) { m_supportedEngineVersionsHasBeenSet = true; m_supportedEngineVersions.push_back(value); return *this; }
125 private:
126
127 Aws::Vector<AvailabilityZone> m_availabilityZones;
128 bool m_availabilityZonesHasBeenSet = false;
129
130 EngineType m_engineType;
131 bool m_engineTypeHasBeenSet = false;
132
133 Aws::String m_hostInstanceType;
134 bool m_hostInstanceTypeHasBeenSet = false;
135
136 BrokerStorageType m_storageType;
137 bool m_storageTypeHasBeenSet = false;
138
139 Aws::Vector<DeploymentMode> m_supportedDeploymentModes;
140 bool m_supportedDeploymentModesHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_supportedEngineVersions;
143 bool m_supportedEngineVersionsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace MQ
148} // namespace Aws
void SetHostInstanceType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSupportedEngineVersions() const
BrokerInstanceOption & WithHostInstanceType(const char *value)
void SetAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
void SetSupportedEngineVersions(Aws::Vector< Aws::String > &&value)
BrokerInstanceOption & AddSupportedEngineVersions(const char *value)
BrokerInstanceOption & WithSupportedDeploymentModes(Aws::Vector< DeploymentMode > &&value)
const Aws::Vector< DeploymentMode > & GetSupportedDeploymentModes() const
BrokerInstanceOption & WithAvailabilityZones(Aws::Vector< AvailabilityZone > &&value)
AWS_MQ_API BrokerInstanceOption & operator=(Aws::Utils::Json::JsonView jsonValue)
BrokerInstanceOption & AddSupportedEngineVersions(Aws::String &&value)
void SetEngineType(const EngineType &value)
BrokerInstanceOption & WithHostInstanceType(const Aws::String &value)
const BrokerStorageType & GetStorageType() const
const Aws::String & GetHostInstanceType() const
void SetSupportedEngineVersions(const Aws::Vector< Aws::String > &value)
const EngineType & GetEngineType() const
BrokerInstanceOption & WithHostInstanceType(Aws::String &&value)
BrokerInstanceOption & WithStorageType(BrokerStorageType &&value)
BrokerInstanceOption & AddSupportedDeploymentModes(const DeploymentMode &value)
void SetAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
BrokerInstanceOption & WithEngineType(const EngineType &value)
BrokerInstanceOption & WithAvailabilityZones(const Aws::Vector< AvailabilityZone > &value)
BrokerInstanceOption & AddSupportedDeploymentModes(DeploymentMode &&value)
void SetStorageType(BrokerStorageType &&value)
const Aws::Vector< AvailabilityZone > & GetAvailabilityZones() const
BrokerInstanceOption & AddSupportedEngineVersions(const Aws::String &value)
BrokerInstanceOption & WithSupportedEngineVersions(const Aws::Vector< Aws::String > &value)
BrokerInstanceOption & AddAvailabilityZones(AvailabilityZone &&value)
BrokerInstanceOption & WithEngineType(EngineType &&value)
void SetSupportedDeploymentModes(const Aws::Vector< DeploymentMode > &value)
void SetHostInstanceType(Aws::String &&value)
void SetStorageType(const BrokerStorageType &value)
BrokerInstanceOption & WithSupportedEngineVersions(Aws::Vector< Aws::String > &&value)
AWS_MQ_API BrokerInstanceOption(Aws::Utils::Json::JsonView jsonValue)
BrokerInstanceOption & WithSupportedDeploymentModes(const Aws::Vector< DeploymentMode > &value)
void SetSupportedDeploymentModes(Aws::Vector< DeploymentMode > &&value)
BrokerInstanceOption & WithStorageType(const BrokerStorageType &value)
BrokerInstanceOption & AddAvailabilityZones(const AvailabilityZone &value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue