AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocalGatewayRouteTable.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/LocalGatewayRouteTableMode.h>
12#include <aws/ec2/model/StateReason.h>
13#include <aws/ec2/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
29
36 {
37 public:
41
42 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; }
51 inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; }
52 inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; }
53 inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); }
54 inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); }
57 inline LocalGatewayRouteTable& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;}
59
61
64 inline const Aws::String& GetLocalGatewayRouteTableArn() const{ return m_localGatewayRouteTableArn; }
65 inline bool LocalGatewayRouteTableArnHasBeenSet() const { return m_localGatewayRouteTableArnHasBeenSet; }
66 inline void SetLocalGatewayRouteTableArn(const Aws::String& value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn = value; }
67 inline void SetLocalGatewayRouteTableArn(Aws::String&& value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn = std::move(value); }
68 inline void SetLocalGatewayRouteTableArn(const char* value) { m_localGatewayRouteTableArnHasBeenSet = true; m_localGatewayRouteTableArn.assign(value); }
71 inline LocalGatewayRouteTable& WithLocalGatewayRouteTableArn(const char* value) { SetLocalGatewayRouteTableArn(value); return *this;}
73
75
78 inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; }
79 inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
80 inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; }
81 inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); }
82 inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); }
83 inline LocalGatewayRouteTable& WithLocalGatewayId(const Aws::String& value) { SetLocalGatewayId(value); return *this;}
84 inline LocalGatewayRouteTable& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;}
85 inline LocalGatewayRouteTable& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;}
87
89
92 inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
93 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
94 inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
95 inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
96 inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
97 inline LocalGatewayRouteTable& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
98 inline LocalGatewayRouteTable& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
99 inline LocalGatewayRouteTable& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
101
103
107 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
108 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
109 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
110 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
111 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
112 inline LocalGatewayRouteTable& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
113 inline LocalGatewayRouteTable& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
114 inline LocalGatewayRouteTable& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
116
118
121 inline const Aws::String& GetState() const{ return m_state; }
122 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
123 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
124 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
125 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
126 inline LocalGatewayRouteTable& WithState(const Aws::String& value) { SetState(value); return *this;}
127 inline LocalGatewayRouteTable& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
128 inline LocalGatewayRouteTable& WithState(const char* value) { SetState(value); return *this;}
130
132
135 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
136 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
137 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
138 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
139 inline LocalGatewayRouteTable& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
140 inline LocalGatewayRouteTable& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
141 inline LocalGatewayRouteTable& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
142 inline LocalGatewayRouteTable& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
144
146
149 inline const LocalGatewayRouteTableMode& GetMode() const{ return m_mode; }
150 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
151 inline void SetMode(const LocalGatewayRouteTableMode& value) { m_modeHasBeenSet = true; m_mode = value; }
152 inline void SetMode(LocalGatewayRouteTableMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
153 inline LocalGatewayRouteTable& WithMode(const LocalGatewayRouteTableMode& value) { SetMode(value); return *this;}
154 inline LocalGatewayRouteTable& WithMode(LocalGatewayRouteTableMode&& value) { SetMode(std::move(value)); return *this;}
156
158
161 inline const StateReason& GetStateReason() const{ return m_stateReason; }
162 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
163 inline void SetStateReason(const StateReason& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
164 inline void SetStateReason(StateReason&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
165 inline LocalGatewayRouteTable& WithStateReason(const StateReason& value) { SetStateReason(value); return *this;}
166 inline LocalGatewayRouteTable& WithStateReason(StateReason&& value) { SetStateReason(std::move(value)); return *this;}
168 private:
169
170 Aws::String m_localGatewayRouteTableId;
171 bool m_localGatewayRouteTableIdHasBeenSet = false;
172
173 Aws::String m_localGatewayRouteTableArn;
174 bool m_localGatewayRouteTableArnHasBeenSet = false;
175
176 Aws::String m_localGatewayId;
177 bool m_localGatewayIdHasBeenSet = false;
178
179 Aws::String m_outpostArn;
180 bool m_outpostArnHasBeenSet = false;
181
182 Aws::String m_ownerId;
183 bool m_ownerIdHasBeenSet = false;
184
185 Aws::String m_state;
186 bool m_stateHasBeenSet = false;
187
188 Aws::Vector<Tag> m_tags;
189 bool m_tagsHasBeenSet = false;
190
192 bool m_modeHasBeenSet = false;
193
194 StateReason m_stateReason;
195 bool m_stateReasonHasBeenSet = false;
196 };
197
198} // namespace Model
199} // namespace EC2
200} // namespace Aws
LocalGatewayRouteTable & WithOwnerId(const char *value)
LocalGatewayRouteTable & AddTags(const Tag &value)
LocalGatewayRouteTable & WithLocalGatewayId(const Aws::String &value)
LocalGatewayRouteTable & WithLocalGatewayRouteTableArn(const char *value)
void SetLocalGatewayRouteTableId(Aws::String &&value)
LocalGatewayRouteTable & WithTags(const Aws::Vector< Tag > &value)
LocalGatewayRouteTable & WithLocalGatewayRouteTableId(const char *value)
LocalGatewayRouteTable & WithState(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetMode(LocalGatewayRouteTableMode &&value)
LocalGatewayRouteTable & WithMode(LocalGatewayRouteTableMode &&value)
LocalGatewayRouteTable & WithLocalGatewayRouteTableId(const Aws::String &value)
LocalGatewayRouteTable & WithTags(Aws::Vector< Tag > &&value)
LocalGatewayRouteTable & WithOutpostArn(const Aws::String &value)
LocalGatewayRouteTable & WithOutpostArn(Aws::String &&value)
const LocalGatewayRouteTableMode & GetMode() const
void SetTags(const Aws::Vector< Tag > &value)
LocalGatewayRouteTable & WithMode(const LocalGatewayRouteTableMode &value)
LocalGatewayRouteTable & WithLocalGatewayId(const char *value)
LocalGatewayRouteTable & WithOwnerId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetLocalGatewayRouteTableArn(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LocalGatewayRouteTable & WithStateReason(StateReason &&value)
LocalGatewayRouteTable & WithLocalGatewayId(Aws::String &&value)
LocalGatewayRouteTable & WithState(const Aws::String &value)
LocalGatewayRouteTable & WithOutpostArn(const char *value)
const Aws::String & GetLocalGatewayRouteTableArn() const
const Aws::String & GetLocalGatewayRouteTableId() const
void SetMode(const LocalGatewayRouteTableMode &value)
void SetOutpostArn(const Aws::String &value)
AWS_EC2_API LocalGatewayRouteTable(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTags(Aws::Vector< Tag > &&value)
LocalGatewayRouteTable & WithLocalGatewayRouteTableArn(Aws::String &&value)
LocalGatewayRouteTable & WithLocalGatewayRouteTableId(Aws::String &&value)
LocalGatewayRouteTable & WithLocalGatewayRouteTableArn(const Aws::String &value)
LocalGatewayRouteTable & AddTags(Tag &&value)
void SetLocalGatewayId(const Aws::String &value)
void SetLocalGatewayRouteTableArn(const Aws::String &value)
LocalGatewayRouteTable & WithState(Aws::String &&value)
LocalGatewayRouteTable & WithStateReason(const StateReason &value)
void SetStateReason(const StateReason &value)
LocalGatewayRouteTable & WithOwnerId(Aws::String &&value)
AWS_EC2_API LocalGatewayRouteTable & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLocalGatewayRouteTableId(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