AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2VpcDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/CidrBlockAssociation.h>
11#include <aws/securityhub/model/Ipv6CidrBlockAssociation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SECURITYHUB_API AwsEc2VpcDetails();
38 AWS_SECURITYHUB_API AwsEc2VpcDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API AwsEc2VpcDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<CidrBlockAssociation>& GetCidrBlockAssociationSet() const{ return m_cidrBlockAssociationSet; }
48 inline bool CidrBlockAssociationSetHasBeenSet() const { return m_cidrBlockAssociationSetHasBeenSet; }
49 inline void SetCidrBlockAssociationSet(const Aws::Vector<CidrBlockAssociation>& value) { m_cidrBlockAssociationSetHasBeenSet = true; m_cidrBlockAssociationSet = value; }
50 inline void SetCidrBlockAssociationSet(Aws::Vector<CidrBlockAssociation>&& value) { m_cidrBlockAssociationSetHasBeenSet = true; m_cidrBlockAssociationSet = std::move(value); }
53 inline AwsEc2VpcDetails& AddCidrBlockAssociationSet(const CidrBlockAssociation& value) { m_cidrBlockAssociationSetHasBeenSet = true; m_cidrBlockAssociationSet.push_back(value); return *this; }
54 inline AwsEc2VpcDetails& AddCidrBlockAssociationSet(CidrBlockAssociation&& value) { m_cidrBlockAssociationSetHasBeenSet = true; m_cidrBlockAssociationSet.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<Ipv6CidrBlockAssociation>& GetIpv6CidrBlockAssociationSet() const{ return m_ipv6CidrBlockAssociationSet; }
62 inline bool Ipv6CidrBlockAssociationSetHasBeenSet() const { return m_ipv6CidrBlockAssociationSetHasBeenSet; }
63 inline void SetIpv6CidrBlockAssociationSet(const Aws::Vector<Ipv6CidrBlockAssociation>& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet = value; }
64 inline void SetIpv6CidrBlockAssociationSet(Aws::Vector<Ipv6CidrBlockAssociation>&& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet = std::move(value); }
67 inline AwsEc2VpcDetails& AddIpv6CidrBlockAssociationSet(const Ipv6CidrBlockAssociation& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet.push_back(value); return *this; }
68 inline AwsEc2VpcDetails& AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociation&& value) { m_ipv6CidrBlockAssociationSetHasBeenSet = true; m_ipv6CidrBlockAssociationSet.push_back(std::move(value)); return *this; }
70
72
77 inline const Aws::String& GetDhcpOptionsId() const{ return m_dhcpOptionsId; }
78 inline bool DhcpOptionsIdHasBeenSet() const { return m_dhcpOptionsIdHasBeenSet; }
79 inline void SetDhcpOptionsId(const Aws::String& value) { m_dhcpOptionsIdHasBeenSet = true; m_dhcpOptionsId = value; }
80 inline void SetDhcpOptionsId(Aws::String&& value) { m_dhcpOptionsIdHasBeenSet = true; m_dhcpOptionsId = std::move(value); }
81 inline void SetDhcpOptionsId(const char* value) { m_dhcpOptionsIdHasBeenSet = true; m_dhcpOptionsId.assign(value); }
82 inline AwsEc2VpcDetails& WithDhcpOptionsId(const Aws::String& value) { SetDhcpOptionsId(value); return *this;}
83 inline AwsEc2VpcDetails& WithDhcpOptionsId(Aws::String&& value) { SetDhcpOptionsId(std::move(value)); return *this;}
84 inline AwsEc2VpcDetails& WithDhcpOptionsId(const char* value) { SetDhcpOptionsId(value); return *this;}
86
88
92 inline const Aws::String& GetState() const{ return m_state; }
93 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
94 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
95 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
96 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
97 inline AwsEc2VpcDetails& WithState(const Aws::String& value) { SetState(value); return *this;}
98 inline AwsEc2VpcDetails& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
99 inline AwsEc2VpcDetails& WithState(const char* value) { SetState(value); return *this;}
101 private:
102
103 Aws::Vector<CidrBlockAssociation> m_cidrBlockAssociationSet;
104 bool m_cidrBlockAssociationSetHasBeenSet = false;
105
106 Aws::Vector<Ipv6CidrBlockAssociation> m_ipv6CidrBlockAssociationSet;
107 bool m_ipv6CidrBlockAssociationSetHasBeenSet = false;
108
109 Aws::String m_dhcpOptionsId;
110 bool m_dhcpOptionsIdHasBeenSet = false;
111
112 Aws::String m_state;
113 bool m_stateHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SecurityHub
118} // namespace Aws
const Aws::Vector< CidrBlockAssociation > & GetCidrBlockAssociationSet() const
void SetIpv6CidrBlockAssociationSet(const Aws::Vector< Ipv6CidrBlockAssociation > &value)
const Aws::Vector< Ipv6CidrBlockAssociation > & GetIpv6CidrBlockAssociationSet() const
AwsEc2VpcDetails & AddCidrBlockAssociationSet(CidrBlockAssociation &&value)
void SetDhcpOptionsId(const Aws::String &value)
AwsEc2VpcDetails & AddIpv6CidrBlockAssociationSet(Ipv6CidrBlockAssociation &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2VpcDetails & AddIpv6CidrBlockAssociationSet(const Ipv6CidrBlockAssociation &value)
AwsEc2VpcDetails & WithIpv6CidrBlockAssociationSet(const Aws::Vector< Ipv6CidrBlockAssociation > &value)
AwsEc2VpcDetails & AddCidrBlockAssociationSet(const CidrBlockAssociation &value)
AwsEc2VpcDetails & WithIpv6CidrBlockAssociationSet(Aws::Vector< Ipv6CidrBlockAssociation > &&value)
AwsEc2VpcDetails & WithDhcpOptionsId(Aws::String &&value)
AwsEc2VpcDetails & WithDhcpOptionsId(const Aws::String &value)
AwsEc2VpcDetails & WithDhcpOptionsId(const char *value)
void SetCidrBlockAssociationSet(const Aws::Vector< CidrBlockAssociation > &value)
AwsEc2VpcDetails & WithState(const char *value)
AWS_SECURITYHUB_API AwsEc2VpcDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2VpcDetails & WithState(Aws::String &&value)
void SetIpv6CidrBlockAssociationSet(Aws::Vector< Ipv6CidrBlockAssociation > &&value)
const Aws::String & GetDhcpOptionsId() const
AwsEc2VpcDetails & WithCidrBlockAssociationSet(const Aws::Vector< CidrBlockAssociation > &value)
void SetState(const Aws::String &value)
AWS_SECURITYHUB_API AwsEc2VpcDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2VpcDetails & WithCidrBlockAssociationSet(Aws::Vector< CidrBlockAssociation > &&value)
void SetCidrBlockAssociationSet(Aws::Vector< CidrBlockAssociation > &&value)
AwsEc2VpcDetails & WithState(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