AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VPCDerivedInfo.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace OpenSearchService
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_OPENSEARCHSERVICE_API VPCDerivedInfo();
42 AWS_OPENSEARCHSERVICE_API VPCDerivedInfo(Aws::Utils::Json::JsonView jsonValue);
43 AWS_OPENSEARCHSERVICE_API VPCDerivedInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetVPCId() const{ return m_vPCId; }
53 inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; }
54 inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; }
55 inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); }
56 inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); }
57 inline VPCDerivedInfo& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;}
58 inline VPCDerivedInfo& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;}
59 inline VPCDerivedInfo& WithVPCId(const char* value) { SetVPCId(value); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
67 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
68 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
69 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
70 inline VPCDerivedInfo& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
71 inline VPCDerivedInfo& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
72 inline VPCDerivedInfo& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
73 inline VPCDerivedInfo& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
74 inline VPCDerivedInfo& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
76
78
81 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
82 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
83 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
84 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
86 inline VPCDerivedInfo& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
87 inline VPCDerivedInfo& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
88 inline VPCDerivedInfo& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
89 inline VPCDerivedInfo& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
91
93
97 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
98 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
99 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
100 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
102 inline VPCDerivedInfo& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
103 inline VPCDerivedInfo& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
104 inline VPCDerivedInfo& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
105 inline VPCDerivedInfo& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
107 private:
108
109 Aws::String m_vPCId;
110 bool m_vPCIdHasBeenSet = false;
111
112 Aws::Vector<Aws::String> m_subnetIds;
113 bool m_subnetIdsHasBeenSet = false;
114
115 Aws::Vector<Aws::String> m_availabilityZones;
116 bool m_availabilityZonesHasBeenSet = false;
117
118 Aws::Vector<Aws::String> m_securityGroupIds;
119 bool m_securityGroupIdsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace OpenSearchService
124} // namespace Aws
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VPCDerivedInfo & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VPCDerivedInfo & WithVPCId(const Aws::String &value)
VPCDerivedInfo & AddAvailabilityZones(const Aws::String &value)
VPCDerivedInfo & WithVPCId(Aws::String &&value)
VPCDerivedInfo & AddSecurityGroupIds(const Aws::String &value)
VPCDerivedInfo & AddSubnetIds(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
VPCDerivedInfo & AddSecurityGroupIds(const char *value)
VPCDerivedInfo & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
void SetVPCId(const Aws::String &value)
VPCDerivedInfo & AddAvailabilityZones(Aws::String &&value)
VPCDerivedInfo & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_OPENSEARCHSERVICE_API VPCDerivedInfo()
VPCDerivedInfo & AddSecurityGroupIds(Aws::String &&value)
VPCDerivedInfo & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
VPCDerivedInfo & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
VPCDerivedInfo & WithVPCId(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
VPCDerivedInfo & AddAvailabilityZones(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VPCDerivedInfo & AddSubnetIds(const char *value)
AWS_OPENSEARCHSERVICE_API VPCDerivedInfo(Aws::Utils::Json::JsonView jsonValue)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
AWS_OPENSEARCHSERVICE_API VPCDerivedInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
VPCDerivedInfo & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
VPCDerivedInfo & AddSubnetIds(const Aws::String &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