AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocalGatewayRouteTableVpcAssociation.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetLocalGatewayRouteTableVpcAssociationId() const{ return m_localGatewayRouteTableVpcAssociationId; }
50 inline bool LocalGatewayRouteTableVpcAssociationIdHasBeenSet() const { return m_localGatewayRouteTableVpcAssociationIdHasBeenSet; }
51 inline void SetLocalGatewayRouteTableVpcAssociationId(const Aws::String& value) { m_localGatewayRouteTableVpcAssociationIdHasBeenSet = true; m_localGatewayRouteTableVpcAssociationId = value; }
52 inline void SetLocalGatewayRouteTableVpcAssociationId(Aws::String&& value) { m_localGatewayRouteTableVpcAssociationIdHasBeenSet = true; m_localGatewayRouteTableVpcAssociationId = std::move(value); }
53 inline void SetLocalGatewayRouteTableVpcAssociationId(const char* value) { m_localGatewayRouteTableVpcAssociationIdHasBeenSet = true; m_localGatewayRouteTableVpcAssociationId.assign(value); }
58
60
63 inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
64 inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
65 inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; }
66 inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); }
67 inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); }
72
74
78 inline const Aws::String& GetLocalGatewayRouteTableArn() const{ return m_localGatewayRouteTableArn; }
79 inline bool LocalGatewayRouteTableArnHasBeenSet() const { return m_localGatewayRouteTableArnHasBeenSet; }
80 inline void SetLocalGatewayRouteTableArn(const Aws::String& value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn = value; }
81 inline void SetLocalGatewayRouteTableArn(Aws::String&& value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn = std::move(value); }
82 inline void SetLocalGatewayRouteTableArn(const char* value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn.assign(value); }
87
89
92 inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; }
93 inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
94 inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; }
95 inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); }
96 inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); }
98 inline LocalGatewayRouteTableVpcAssociation& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;}
99 inline LocalGatewayRouteTableVpcAssociation& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;}
101
103
106 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
107 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
108 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
109 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
110 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
111 inline LocalGatewayRouteTableVpcAssociation& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
112 inline LocalGatewayRouteTableVpcAssociation& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
113 inline LocalGatewayRouteTableVpcAssociation& WithVpcId(const char* value) { SetVpcId(value); return *this;}
115
117
121 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
122 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
123 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
124 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
125 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
126 inline LocalGatewayRouteTableVpcAssociation& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
127 inline LocalGatewayRouteTableVpcAssociation& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
128 inline LocalGatewayRouteTableVpcAssociation& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
130
132
135 inline const Aws::String& GetState() const{ return m_state; }
136 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
137 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
138 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
139 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
140 inline LocalGatewayRouteTableVpcAssociation& WithState(const Aws::String& value) { SetState(value); return *this;}
141 inline LocalGatewayRouteTableVpcAssociation& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
142 inline LocalGatewayRouteTableVpcAssociation& WithState(const char* value) { SetState(value); return *this;}
144
146
149 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
150 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
151 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
152 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
153 inline LocalGatewayRouteTableVpcAssociation& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
154 inline LocalGatewayRouteTableVpcAssociation& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
155 inline LocalGatewayRouteTableVpcAssociation& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
156 inline LocalGatewayRouteTableVpcAssociation& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
158 private:
159
160 Aws::String m_localGatewayRouteTableVpcAssociationId;
161 bool m_localGatewayRouteTableVpcAssociationIdHasBeenSet = false;
162
163 Aws::String m_localGatewayRouteTableId;
164 bool m_localGatewayRouteTableIdHasBeenSet = false;
165
166 Aws::String m_localGatewayRouteTableArn;
167 bool m_localGatewayRouteTableArnHasBeenSet = false;
168
169 Aws::String m_localGatewayId;
170 bool m_localGatewayIdHasBeenSet = false;
171
172 Aws::String m_vpcId;
173 bool m_vpcIdHasBeenSet = false;
174
175 Aws::String m_ownerId;
176 bool m_ownerIdHasBeenSet = false;
177
178 Aws::String m_state;
179 bool m_stateHasBeenSet = false;
180
181 Aws::Vector<Tag> m_tags;
182 bool m_tagsHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace EC2
187} // namespace Aws
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayId(const char *value)
LocalGatewayRouteTableVpcAssociation & WithState(const Aws::String &value)
LocalGatewayRouteTableVpcAssociation & WithVpcId(const char *value)
LocalGatewayRouteTableVpcAssociation & WithOwnerId(const char *value)
LocalGatewayRouteTableVpcAssociation & WithState(const char *value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayId(const Aws::String &value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableId(Aws::String &&value)
LocalGatewayRouteTableVpcAssociation & WithOwnerId(Aws::String &&value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableArn(Aws::String &&value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LocalGatewayRouteTableVpcAssociation & AddTags(const Tag &value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableVpcAssociationId(Aws::String &&value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayId(Aws::String &&value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableVpcAssociationId(const char *value)
LocalGatewayRouteTableVpcAssociation & WithState(Aws::String &&value)
AWS_EC2_API LocalGatewayRouteTableVpcAssociation(const Aws::Utils::Xml::XmlNode &xmlNode)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableArn(const Aws::String &value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableArn(const char *value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableId(const Aws::String &value)
LocalGatewayRouteTableVpcAssociation & WithTags(const Aws::Vector< Tag > &value)
LocalGatewayRouteTableVpcAssociation & AddTags(Tag &&value)
LocalGatewayRouteTableVpcAssociation & WithVpcId(const Aws::String &value)
LocalGatewayRouteTableVpcAssociation & WithOwnerId(const Aws::String &value)
AWS_EC2_API LocalGatewayRouteTableVpcAssociation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LocalGatewayRouteTableVpcAssociation & WithTags(Aws::Vector< Tag > &&value)
LocalGatewayRouteTableVpcAssociation & WithVpcId(Aws::String &&value)
LocalGatewayRouteTableVpcAssociation & WithLocalGatewayRouteTableVpcAssociationId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream