AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointSetting.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/EndpointSettingTypeValue.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API EndpointSetting();
37 AWS_DATABASEMIGRATIONSERVICE_API EndpointSetting(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API EndpointSetting& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline EndpointSetting& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline EndpointSetting& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline EndpointSetting& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const EndpointSettingTypeValue& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const EndpointSettingTypeValue& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(EndpointSettingTypeValue&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline EndpointSetting& WithType(const EndpointSettingTypeValue& value) { SetType(value); return *this;}
66 inline EndpointSetting& WithType(EndpointSettingTypeValue&& value) { SetType(std::move(value)); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetEnumValues() const{ return m_enumValues; }
74 inline bool EnumValuesHasBeenSet() const { return m_enumValuesHasBeenSet; }
75 inline void SetEnumValues(const Aws::Vector<Aws::String>& value) { m_enumValuesHasBeenSet = true; m_enumValues = value; }
76 inline void SetEnumValues(Aws::Vector<Aws::String>&& value) { m_enumValuesHasBeenSet = true; m_enumValues = std::move(value); }
77 inline EndpointSetting& WithEnumValues(const Aws::Vector<Aws::String>& value) { SetEnumValues(value); return *this;}
78 inline EndpointSetting& WithEnumValues(Aws::Vector<Aws::String>&& value) { SetEnumValues(std::move(value)); return *this;}
79 inline EndpointSetting& AddEnumValues(const Aws::String& value) { m_enumValuesHasBeenSet = true; m_enumValues.push_back(value); return *this; }
80 inline EndpointSetting& AddEnumValues(Aws::String&& value) { m_enumValuesHasBeenSet = true; m_enumValues.push_back(std::move(value)); return *this; }
81 inline EndpointSetting& AddEnumValues(const char* value) { m_enumValuesHasBeenSet = true; m_enumValues.push_back(value); return *this; }
83
85
88 inline bool GetSensitive() const{ return m_sensitive; }
89 inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; }
90 inline void SetSensitive(bool value) { m_sensitiveHasBeenSet = true; m_sensitive = value; }
91 inline EndpointSetting& WithSensitive(bool value) { SetSensitive(value); return *this;}
93
95
98 inline const Aws::String& GetUnits() const{ return m_units; }
99 inline bool UnitsHasBeenSet() const { return m_unitsHasBeenSet; }
100 inline void SetUnits(const Aws::String& value) { m_unitsHasBeenSet = true; m_units = value; }
101 inline void SetUnits(Aws::String&& value) { m_unitsHasBeenSet = true; m_units = std::move(value); }
102 inline void SetUnits(const char* value) { m_unitsHasBeenSet = true; m_units.assign(value); }
103 inline EndpointSetting& WithUnits(const Aws::String& value) { SetUnits(value); return *this;}
104 inline EndpointSetting& WithUnits(Aws::String&& value) { SetUnits(std::move(value)); return *this;}
105 inline EndpointSetting& WithUnits(const char* value) { SetUnits(value); return *this;}
107
109
113 inline const Aws::String& GetApplicability() const{ return m_applicability; }
114 inline bool ApplicabilityHasBeenSet() const { return m_applicabilityHasBeenSet; }
115 inline void SetApplicability(const Aws::String& value) { m_applicabilityHasBeenSet = true; m_applicability = value; }
116 inline void SetApplicability(Aws::String&& value) { m_applicabilityHasBeenSet = true; m_applicability = std::move(value); }
117 inline void SetApplicability(const char* value) { m_applicabilityHasBeenSet = true; m_applicability.assign(value); }
118 inline EndpointSetting& WithApplicability(const Aws::String& value) { SetApplicability(value); return *this;}
119 inline EndpointSetting& WithApplicability(Aws::String&& value) { SetApplicability(std::move(value)); return *this;}
120 inline EndpointSetting& WithApplicability(const char* value) { SetApplicability(value); return *this;}
122
124
128 inline int GetIntValueMin() const{ return m_intValueMin; }
129 inline bool IntValueMinHasBeenSet() const { return m_intValueMinHasBeenSet; }
130 inline void SetIntValueMin(int value) { m_intValueMinHasBeenSet = true; m_intValueMin = value; }
131 inline EndpointSetting& WithIntValueMin(int value) { SetIntValueMin(value); return *this;}
133
135
139 inline int GetIntValueMax() const{ return m_intValueMax; }
140 inline bool IntValueMaxHasBeenSet() const { return m_intValueMaxHasBeenSet; }
141 inline void SetIntValueMax(int value) { m_intValueMaxHasBeenSet = true; m_intValueMax = value; }
142 inline EndpointSetting& WithIntValueMax(int value) { SetIntValueMax(value); return *this;}
144
146
150 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
151 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
152 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
153 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
154 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
155 inline EndpointSetting& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
156 inline EndpointSetting& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
157 inline EndpointSetting& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
159 private:
160
161 Aws::String m_name;
162 bool m_nameHasBeenSet = false;
163
165 bool m_typeHasBeenSet = false;
166
167 Aws::Vector<Aws::String> m_enumValues;
168 bool m_enumValuesHasBeenSet = false;
169
170 bool m_sensitive;
171 bool m_sensitiveHasBeenSet = false;
172
173 Aws::String m_units;
174 bool m_unitsHasBeenSet = false;
175
176 Aws::String m_applicability;
177 bool m_applicabilityHasBeenSet = false;
178
179 int m_intValueMin;
180 bool m_intValueMinHasBeenSet = false;
181
182 int m_intValueMax;
183 bool m_intValueMaxHasBeenSet = false;
184
185 Aws::String m_defaultValue;
186 bool m_defaultValueHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace DatabaseMigrationService
191} // namespace Aws
void SetType(EndpointSettingTypeValue &&value)
AWS_DATABASEMIGRATIONSERVICE_API EndpointSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointSetting & AddEnumValues(Aws::String &&value)
EndpointSetting & WithType(const EndpointSettingTypeValue &value)
AWS_DATABASEMIGRATIONSERVICE_API EndpointSetting()
EndpointSetting & WithName(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API EndpointSetting(Aws::Utils::Json::JsonView jsonValue)
EndpointSetting & WithDefaultValue(Aws::String &&value)
EndpointSetting & WithUnits(Aws::String &&value)
EndpointSetting & WithName(const Aws::String &value)
EndpointSetting & WithDefaultValue(const Aws::String &value)
EndpointSetting & WithApplicability(const char *value)
EndpointSetting & WithType(EndpointSettingTypeValue &&value)
EndpointSetting & WithDefaultValue(const char *value)
const EndpointSettingTypeValue & GetType() const
EndpointSetting & AddEnumValues(const char *value)
const Aws::Vector< Aws::String > & GetEnumValues() const
EndpointSetting & WithEnumValues(Aws::Vector< Aws::String > &&value)
EndpointSetting & WithName(Aws::String &&value)
void SetEnumValues(const Aws::Vector< Aws::String > &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnumValues(Aws::Vector< Aws::String > &&value)
EndpointSetting & WithUnits(const Aws::String &value)
EndpointSetting & WithApplicability(const Aws::String &value)
EndpointSetting & WithApplicability(Aws::String &&value)
EndpointSetting & AddEnumValues(const Aws::String &value)
void SetType(const EndpointSettingTypeValue &value)
EndpointSetting & WithEnumValues(const Aws::Vector< Aws::String > &value)
EndpointSetting & WithUnits(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue