AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEc2RouteTableDetails.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/AssociationSetDetails.h>
11#include <aws/securityhub/model/PropagatingVgwSetDetails.h>
12#include <aws/securityhub/model/RouteSetDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SECURITYHUB_API AwsEc2RouteTableDetails();
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<AssociationSetDetails>& GetAssociationSet() const{ return m_associationSet; }
51 inline bool AssociationSetHasBeenSet() const { return m_associationSetHasBeenSet; }
52 inline void SetAssociationSet(const Aws::Vector<AssociationSetDetails>& value) { m_associationSetHasBeenSet = true; m_associationSet = value; }
53 inline void SetAssociationSet(Aws::Vector<AssociationSetDetails>&& value) { m_associationSetHasBeenSet = true; m_associationSet = std::move(value); }
56 inline AwsEc2RouteTableDetails& AddAssociationSet(const AssociationSetDetails& value) { m_associationSetHasBeenSet = true; m_associationSet.push_back(value); return *this; }
57 inline AwsEc2RouteTableDetails& AddAssociationSet(AssociationSetDetails&& value) { m_associationSetHasBeenSet = true; m_associationSet.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
65 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
66 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
67 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
68 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
69 inline AwsEc2RouteTableDetails& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
70 inline AwsEc2RouteTableDetails& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
71 inline AwsEc2RouteTableDetails& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
73
75
78 inline const Aws::Vector<PropagatingVgwSetDetails>& GetPropagatingVgwSet() const{ return m_propagatingVgwSet; }
79 inline bool PropagatingVgwSetHasBeenSet() const { return m_propagatingVgwSetHasBeenSet; }
80 inline void SetPropagatingVgwSet(const Aws::Vector<PropagatingVgwSetDetails>& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet = value; }
81 inline void SetPropagatingVgwSet(Aws::Vector<PropagatingVgwSetDetails>&& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet = std::move(value); }
84 inline AwsEc2RouteTableDetails& AddPropagatingVgwSet(const PropagatingVgwSetDetails& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet.push_back(value); return *this; }
85 inline AwsEc2RouteTableDetails& AddPropagatingVgwSet(PropagatingVgwSetDetails&& value) { m_propagatingVgwSetHasBeenSet = true; m_propagatingVgwSet.push_back(std::move(value)); return *this; }
87
89
92 inline const Aws::String& GetRouteTableId() const{ return m_routeTableId; }
93 inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; }
94 inline void SetRouteTableId(const Aws::String& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; }
95 inline void SetRouteTableId(Aws::String&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); }
96 inline void SetRouteTableId(const char* value) { m_routeTableIdHasBeenSet = true; m_routeTableId.assign(value); }
97 inline AwsEc2RouteTableDetails& WithRouteTableId(const Aws::String& value) { SetRouteTableId(value); return *this;}
98 inline AwsEc2RouteTableDetails& WithRouteTableId(Aws::String&& value) { SetRouteTableId(std::move(value)); return *this;}
99 inline AwsEc2RouteTableDetails& WithRouteTableId(const char* value) { SetRouteTableId(value); return *this;}
101
103
106 inline const Aws::Vector<RouteSetDetails>& GetRouteSet() const{ return m_routeSet; }
107 inline bool RouteSetHasBeenSet() const { return m_routeSetHasBeenSet; }
108 inline void SetRouteSet(const Aws::Vector<RouteSetDetails>& value) { m_routeSetHasBeenSet = true; m_routeSet = value; }
109 inline void SetRouteSet(Aws::Vector<RouteSetDetails>&& value) { m_routeSetHasBeenSet = true; m_routeSet = std::move(value); }
111 inline AwsEc2RouteTableDetails& WithRouteSet(Aws::Vector<RouteSetDetails>&& value) { SetRouteSet(std::move(value)); return *this;}
112 inline AwsEc2RouteTableDetails& AddRouteSet(const RouteSetDetails& value) { m_routeSetHasBeenSet = true; m_routeSet.push_back(value); return *this; }
113 inline AwsEc2RouteTableDetails& AddRouteSet(RouteSetDetails&& value) { m_routeSetHasBeenSet = true; m_routeSet.push_back(std::move(value)); return *this; }
115
117
120 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
121 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
122 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
123 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
124 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
125 inline AwsEc2RouteTableDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
126 inline AwsEc2RouteTableDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
127 inline AwsEc2RouteTableDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;}
129 private:
130
131 Aws::Vector<AssociationSetDetails> m_associationSet;
132 bool m_associationSetHasBeenSet = false;
133
134 Aws::String m_ownerId;
135 bool m_ownerIdHasBeenSet = false;
136
137 Aws::Vector<PropagatingVgwSetDetails> m_propagatingVgwSet;
138 bool m_propagatingVgwSetHasBeenSet = false;
139
140 Aws::String m_routeTableId;
141 bool m_routeTableIdHasBeenSet = false;
142
144 bool m_routeSetHasBeenSet = false;
145
146 Aws::String m_vpcId;
147 bool m_vpcIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SecurityHub
152} // namespace Aws
AwsEc2RouteTableDetails & AddAssociationSet(AssociationSetDetails &&value)
AWS_SECURITYHUB_API AwsEc2RouteTableDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEc2RouteTableDetails & WithPropagatingVgwSet(Aws::Vector< PropagatingVgwSetDetails > &&value)
AwsEc2RouteTableDetails & WithOwnerId(const char *value)
AwsEc2RouteTableDetails & WithAssociationSet(Aws::Vector< AssociationSetDetails > &&value)
AwsEc2RouteTableDetails & WithVpcId(Aws::String &&value)
AwsEc2RouteTableDetails & WithOwnerId(Aws::String &&value)
void SetAssociationSet(const Aws::Vector< AssociationSetDetails > &value)
AwsEc2RouteTableDetails & WithAssociationSet(const Aws::Vector< AssociationSetDetails > &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsEc2RouteTableDetails & WithVpcId(const Aws::String &value)
AwsEc2RouteTableDetails & WithRouteSet(Aws::Vector< RouteSetDetails > &&value)
AwsEc2RouteTableDetails & WithPropagatingVgwSet(const Aws::Vector< PropagatingVgwSetDetails > &value)
AwsEc2RouteTableDetails & AddAssociationSet(const AssociationSetDetails &value)
AwsEc2RouteTableDetails & AddRouteSet(const RouteSetDetails &value)
AwsEc2RouteTableDetails & WithRouteSet(const Aws::Vector< RouteSetDetails > &value)
AwsEc2RouteTableDetails & WithRouteTableId(const Aws::String &value)
AwsEc2RouteTableDetails & WithOwnerId(const Aws::String &value)
void SetPropagatingVgwSet(Aws::Vector< PropagatingVgwSetDetails > &&value)
AWS_SECURITYHUB_API AwsEc2RouteTableDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsEc2RouteTableDetails & AddPropagatingVgwSet(PropagatingVgwSetDetails &&value)
AwsEc2RouteTableDetails & AddPropagatingVgwSet(const PropagatingVgwSetDetails &value)
void SetPropagatingVgwSet(const Aws::Vector< PropagatingVgwSetDetails > &value)
void SetRouteSet(Aws::Vector< RouteSetDetails > &&value)
const Aws::Vector< PropagatingVgwSetDetails > & GetPropagatingVgwSet() const
const Aws::Vector< AssociationSetDetails > & GetAssociationSet() const
void SetAssociationSet(Aws::Vector< AssociationSetDetails > &&value)
AwsEc2RouteTableDetails & WithRouteTableId(const char *value)
void SetRouteSet(const Aws::Vector< RouteSetDetails > &value)
AwsEc2RouteTableDetails & AddRouteSet(RouteSetDetails &&value)
const Aws::Vector< RouteSetDetails > & GetRouteSet() const
AwsEc2RouteTableDetails & WithRouteTableId(Aws::String &&value)
AwsEc2RouteTableDetails & WithVpcId(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