AWS SDK for C++  1.9.97
AWS SDK for C++
VPCDerivedInfo.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
37  {
38  public:
43 
44 
49  inline const Aws::String& GetVPCId() const{ return m_vPCId; }
50 
55  inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
56 
61  inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; }
62 
67  inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); }
68 
73  inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); }
74 
79  inline VPCDerivedInfo& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;}
80 
85  inline VPCDerivedInfo& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;}
86 
91  inline VPCDerivedInfo& WithVPCId(const char* value) { SetVPCId(value); return *this;}
92 
93 
97  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
98 
102  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
103 
107  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
108 
112  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
113 
117  inline VPCDerivedInfo& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
118 
122  inline VPCDerivedInfo& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
123 
127  inline VPCDerivedInfo& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
128 
132  inline VPCDerivedInfo& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
133 
137  inline VPCDerivedInfo& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
138 
139 
144  inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
145 
150  inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
151 
156  inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
157 
162  inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
163 
168  inline VPCDerivedInfo& WithAvailabilityZones(const Aws::Vector<Aws::String>& value) { SetAvailabilityZones(value); return *this;}
169 
174  inline VPCDerivedInfo& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
175 
180  inline VPCDerivedInfo& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
181 
186  inline VPCDerivedInfo& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
187 
192  inline VPCDerivedInfo& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
193 
194 
198  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
199 
203  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
204 
208  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
209 
213  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
214 
218  inline VPCDerivedInfo& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
219 
223  inline VPCDerivedInfo& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
224 
228  inline VPCDerivedInfo& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
229 
233  inline VPCDerivedInfo& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
234 
238  inline VPCDerivedInfo& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
239 
240  private:
241 
242  Aws::String m_vPCId;
243  bool m_vPCIdHasBeenSet;
244 
245  Aws::Vector<Aws::String> m_subnetIds;
246  bool m_subnetIdsHasBeenSet;
247 
248  Aws::Vector<Aws::String> m_availabilityZones;
249  bool m_availabilityZonesHasBeenSet;
250 
251  Aws::Vector<Aws::String> m_securityGroupIds;
252  bool m_securityGroupIdsHasBeenSet;
253  };
254 
255 } // namespace Model
256 } // namespace ElasticsearchService
257 } // namespace Aws
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetVPCId
void SetVPCId(const char *value)
Definition: VPCDerivedInfo.h:73
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetAvailabilityZones
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition: VPCDerivedInfo.h:156
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VPCDerivedInfo.h:213
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetAvailabilityZones
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition: VPCDerivedInfo.h:162
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithSecurityGroupIds
VPCDerivedInfo & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VPCDerivedInfo.h:218
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddAvailabilityZones
VPCDerivedInfo & AddAvailabilityZones(Aws::String &&value)
Definition: VPCDerivedInfo.h:186
Aws::ElasticsearchService::Model::VPCDerivedInfo::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: VPCDerivedInfo.h:97
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithSubnetIds
VPCDerivedInfo & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VPCDerivedInfo.h:117
Aws::ElasticsearchService::Model::VPCDerivedInfo::VPCDerivedInfo
VPCDerivedInfo()
Aws::ElasticsearchService::Model::VPCDerivedInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddSubnetIds
VPCDerivedInfo & AddSubnetIds(Aws::String &&value)
Definition: VPCDerivedInfo.h:132
Aws::ElasticsearchService::Model::VPCDerivedInfo::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: VPCDerivedInfo.h:198
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithVPCId
VPCDerivedInfo & WithVPCId(const char *value)
Definition: VPCDerivedInfo.h:91
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddAvailabilityZones
VPCDerivedInfo & AddAvailabilityZones(const Aws::String &value)
Definition: VPCDerivedInfo.h:180
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElasticsearchService::Model::VPCDerivedInfo::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: VPCDerivedInfo.h:203
AWSVector.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VPCDerivedInfo.h:107
Aws::ElasticsearchService::Model::VPCDerivedInfo::GetVPCId
const Aws::String & GetVPCId() const
Definition: VPCDerivedInfo.h:49
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VPCDerivedInfo.h:208
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddAvailabilityZones
VPCDerivedInfo & AddAvailabilityZones(const char *value)
Definition: VPCDerivedInfo.h:192
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithSubnetIds
VPCDerivedInfo & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VPCDerivedInfo.h:122
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithSecurityGroupIds
VPCDerivedInfo & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VPCDerivedInfo.h:223
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithVPCId
VPCDerivedInfo & WithVPCId(const Aws::String &value)
Definition: VPCDerivedInfo.h:79
Aws::ElasticsearchService::Model::VPCDerivedInfo::GetAvailabilityZones
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
Definition: VPCDerivedInfo.h:144
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithAvailabilityZones
VPCDerivedInfo & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
Definition: VPCDerivedInfo.h:174
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetVPCId
void SetVPCId(Aws::String &&value)
Definition: VPCDerivedInfo.h:67
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddSecurityGroupIds
VPCDerivedInfo & AddSecurityGroupIds(const Aws::String &value)
Definition: VPCDerivedInfo.h:228
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithVPCId
VPCDerivedInfo & WithVPCId(Aws::String &&value)
Definition: VPCDerivedInfo.h:85
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddSecurityGroupIds
VPCDerivedInfo & AddSecurityGroupIds(Aws::String &&value)
Definition: VPCDerivedInfo.h:233
Aws::ElasticsearchService::Model::VPCDerivedInfo
Definition: VPCDerivedInfo.h:37
Aws::ElasticsearchService::Model::VPCDerivedInfo::operator=
VPCDerivedInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddSubnetIds
VPCDerivedInfo & AddSubnetIds(const Aws::String &value)
Definition: VPCDerivedInfo.h:127
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VPCDerivedInfo.h:112
Aws::ElasticsearchService::Model::VPCDerivedInfo::VPCDerivedInfo
VPCDerivedInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::VPCDerivedInfo::SetVPCId
void SetVPCId(const Aws::String &value)
Definition: VPCDerivedInfo.h:61
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddSecurityGroupIds
VPCDerivedInfo & AddSecurityGroupIds(const char *value)
Definition: VPCDerivedInfo.h:238
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::VPCDerivedInfo::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: VPCDerivedInfo.h:102
Aws::ElasticsearchService::Model::VPCDerivedInfo::WithAvailabilityZones
VPCDerivedInfo & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
Definition: VPCDerivedInfo.h:168
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::VPCDerivedInfo::AvailabilityZonesHasBeenSet
bool AvailabilityZonesHasBeenSet() const
Definition: VPCDerivedInfo.h:150
Aws::ElasticsearchService::Model::VPCDerivedInfo::AddSubnetIds
VPCDerivedInfo & AddSubnetIds(const char *value)
Definition: VPCDerivedInfo.h:137
Aws::ElasticsearchService::Model::VPCDerivedInfo::VPCIdHasBeenSet
bool VPCIdHasBeenSet() const
Definition: VPCDerivedInfo.h:55