AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcConfigOutput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_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 Synthetics
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_SYNTHETICS_API VpcConfigOutput();
40 AWS_SYNTHETICS_API VpcConfigOutput(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
50 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
51 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
52 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
53 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
54 inline VpcConfigOutput& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
55 inline VpcConfigOutput& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
56 inline VpcConfigOutput& WithVpcId(const char* value) { SetVpcId(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
64 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
65 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
66 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
67 inline VpcConfigOutput& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
68 inline VpcConfigOutput& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
69 inline VpcConfigOutput& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
70 inline VpcConfigOutput& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
71 inline VpcConfigOutput& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
73
75
78 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
79 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
80 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
81 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
83 inline VpcConfigOutput& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
84 inline VpcConfigOutput& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
85 inline VpcConfigOutput& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
86 inline VpcConfigOutput& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
88 private:
89
90 Aws::String m_vpcId;
91 bool m_vpcIdHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_subnetIds;
94 bool m_subnetIdsHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_securityGroupIds;
97 bool m_securityGroupIdsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Synthetics
102} // namespace Aws
VpcConfigOutput & AddSecurityGroupIds(Aws::String &&value)
VpcConfigOutput & WithVpcId(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
VpcConfigOutput & AddSecurityGroupIds(const char *value)
VpcConfigOutput & AddSubnetIds(const char *value)
VpcConfigOutput & AddSubnetIds(Aws::String &&value)
VpcConfigOutput & WithVpcId(const Aws::String &value)
VpcConfigOutput & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_SYNTHETICS_API VpcConfigOutput(Aws::Utils::Json::JsonView jsonValue)
VpcConfigOutput & AddSubnetIds(const Aws::String &value)
VpcConfigOutput & WithVpcId(Aws::String &&value)
VpcConfigOutput & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetVpcId() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
VpcConfigOutput & WithSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_SYNTHETICS_API VpcConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcConfigOutput & AddSecurityGroupIds(const Aws::String &value)
VpcConfigOutput & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() 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