AWS SDK for C++  1.9.128
AWS SDK for C++
LocalGatewayVirtualInterfaceGroup.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <aws/ec2/model/Tag.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace EC2
24 {
25 namespace Model
26 {
27 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline const Aws::String& GetLocalGatewayVirtualInterfaceGroupId() const{ return m_localGatewayVirtualInterfaceGroupId; }
49 
53  inline bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const { return m_localGatewayVirtualInterfaceGroupIdHasBeenSet; }
54 
58  inline void SetLocalGatewayVirtualInterfaceGroupId(const Aws::String& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId = value; }
59 
63  inline void SetLocalGatewayVirtualInterfaceGroupId(Aws::String&& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId = std::move(value); }
64 
68  inline void SetLocalGatewayVirtualInterfaceGroupId(const char* value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId.assign(value); }
69 
73  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayVirtualInterfaceGroupId(const Aws::String& value) { SetLocalGatewayVirtualInterfaceGroupId(value); return *this;}
74 
78  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayVirtualInterfaceGroupId(Aws::String&& value) { SetLocalGatewayVirtualInterfaceGroupId(std::move(value)); return *this;}
79 
83  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayVirtualInterfaceGroupId(const char* value) { SetLocalGatewayVirtualInterfaceGroupId(value); return *this;}
84 
85 
89  inline const Aws::Vector<Aws::String>& GetLocalGatewayVirtualInterfaceIds() const{ return m_localGatewayVirtualInterfaceIds; }
90 
94  inline bool LocalGatewayVirtualInterfaceIdsHasBeenSet() const { return m_localGatewayVirtualInterfaceIdsHasBeenSet; }
95 
99  inline void SetLocalGatewayVirtualInterfaceIds(const Aws::Vector<Aws::String>& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds = value; }
100 
104  inline void SetLocalGatewayVirtualInterfaceIds(Aws::Vector<Aws::String>&& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds = std::move(value); }
105 
109  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayVirtualInterfaceIds(const Aws::Vector<Aws::String>& value) { SetLocalGatewayVirtualInterfaceIds(value); return *this;}
110 
114  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayVirtualInterfaceIds(Aws::Vector<Aws::String>&& value) { SetLocalGatewayVirtualInterfaceIds(std::move(value)); return *this;}
115 
119  inline LocalGatewayVirtualInterfaceGroup& AddLocalGatewayVirtualInterfaceIds(const Aws::String& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds.push_back(value); return *this; }
120 
124  inline LocalGatewayVirtualInterfaceGroup& AddLocalGatewayVirtualInterfaceIds(Aws::String&& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds.push_back(std::move(value)); return *this; }
125 
129  inline LocalGatewayVirtualInterfaceGroup& AddLocalGatewayVirtualInterfaceIds(const char* value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds.push_back(value); return *this; }
130 
131 
135  inline const Aws::String& GetLocalGatewayId() const{ return m_localGatewayId; }
136 
140  inline bool LocalGatewayIdHasBeenSet() const { return m_localGatewayIdHasBeenSet; }
141 
145  inline void SetLocalGatewayId(const Aws::String& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = value; }
146 
150  inline void SetLocalGatewayId(Aws::String&& value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId = std::move(value); }
151 
155  inline void SetLocalGatewayId(const char* value) { m_localGatewayIdHasBeenSet = true; m_localGatewayId.assign(value); }
156 
160  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayId(const Aws::String& value) { SetLocalGatewayId(value); return *this;}
161 
165  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;}
166 
170  inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;}
171 
172 
177  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
178 
183  inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
184 
189  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
190 
195  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
196 
201  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
202 
207  inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
208 
213  inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
214 
219  inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
220 
221 
225  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
226 
230  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
231 
235  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
236 
240  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
241 
245  inline LocalGatewayVirtualInterfaceGroup& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
246 
250  inline LocalGatewayVirtualInterfaceGroup& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
251 
255  inline LocalGatewayVirtualInterfaceGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
256 
260  inline LocalGatewayVirtualInterfaceGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
261 
262  private:
263 
264  Aws::String m_localGatewayVirtualInterfaceGroupId;
265  bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet;
266 
267  Aws::Vector<Aws::String> m_localGatewayVirtualInterfaceIds;
268  bool m_localGatewayVirtualInterfaceIdsHasBeenSet;
269 
270  Aws::String m_localGatewayId;
271  bool m_localGatewayIdHasBeenSet;
272 
273  Aws::String m_ownerId;
274  bool m_ownerIdHasBeenSet;
275 
276  Aws::Vector<Tag> m_tags;
277  bool m_tagsHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace EC2
282 } // namespace Aws
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::AddLocalGatewayVirtualInterfaceIds
LocalGatewayVirtualInterfaceGroup & AddLocalGatewayVirtualInterfaceIds(const char *value)
Definition: LocalGatewayVirtualInterfaceGroup.h:129
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayVirtualInterfaceGroupId
void SetLocalGatewayVirtualInterfaceGroupId(const char *value)
Definition: LocalGatewayVirtualInterfaceGroup.h:68
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::LocalGatewayVirtualInterfaceGroup
LocalGatewayVirtualInterfaceGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayId
void SetLocalGatewayId(const char *value)
Definition: LocalGatewayVirtualInterfaceGroup.h:155
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayId
void SetLocalGatewayId(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:145
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayVirtualInterfaceGroupId
void SetLocalGatewayVirtualInterfaceGroupId(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:58
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup
Definition: LocalGatewayVirtualInterfaceGroup.h:35
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::OwnerIdHasBeenSet
bool OwnerIdHasBeenSet() const
Definition: LocalGatewayVirtualInterfaceGroup.h:183
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::GetLocalGatewayVirtualInterfaceIds
const Aws::Vector< Aws::String > & GetLocalGatewayVirtualInterfaceIds() const
Definition: LocalGatewayVirtualInterfaceGroup.h:89
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithOwnerId
LocalGatewayVirtualInterfaceGroup & WithOwnerId(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:207
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayVirtualInterfaceGroupId
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupId(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:73
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayId
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayId(const char *value)
Definition: LocalGatewayVirtualInterfaceGroup.h:170
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayVirtualInterfaceIds
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:114
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:240
AWSStreamFwd.h
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::AddLocalGatewayVirtualInterfaceIds
LocalGatewayVirtualInterfaceGroup & AddLocalGatewayVirtualInterfaceIds(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:119
AWSVector.h
Tag.h
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetOwnerId
void SetOwnerId(Aws::String &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:195
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::AddLocalGatewayVirtualInterfaceIds
LocalGatewayVirtualInterfaceGroup & AddLocalGatewayVirtualInterfaceIds(Aws::String &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:124
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetOwnerId
void SetOwnerId(const char *value)
Definition: LocalGatewayVirtualInterfaceGroup.h:201
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: LocalGatewayVirtualInterfaceGroup.h:177
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithTags
LocalGatewayVirtualInterfaceGroup & WithTags(const Aws::Vector< Tag > &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:245
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayId
void SetLocalGatewayId(Aws::String &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:150
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::LocalGatewayVirtualInterfaceGroupIdHasBeenSet
bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const
Definition: LocalGatewayVirtualInterfaceGroup.h:53
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayVirtualInterfaceGroupId
void SetLocalGatewayVirtualInterfaceGroupId(Aws::String &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:63
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:235
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayVirtualInterfaceGroupId
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupId(const char *value)
Definition: LocalGatewayVirtualInterfaceGroup.h:83
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::AddTags
LocalGatewayVirtualInterfaceGroup & AddTags(const Tag &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:255
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithTags
LocalGatewayVirtualInterfaceGroup & WithTags(Aws::Vector< Tag > &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:250
AWSString.h
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::AddTags
LocalGatewayVirtualInterfaceGroup & AddTags(Tag &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:260
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::LocalGatewayVirtualInterfaceGroup
LocalGatewayVirtualInterfaceGroup()
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::LocalGatewayVirtualInterfaceIdsHasBeenSet
bool LocalGatewayVirtualInterfaceIdsHasBeenSet() const
Definition: LocalGatewayVirtualInterfaceGroup.h:94
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithOwnerId
LocalGatewayVirtualInterfaceGroup & WithOwnerId(const char *value)
Definition: LocalGatewayVirtualInterfaceGroup.h:219
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:189
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayId
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayId(Aws::String &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:165
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayVirtualInterfaceIds
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:109
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayVirtualInterfaceIds
void SetLocalGatewayVirtualInterfaceIds(Aws::Vector< Aws::String > &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:104
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayId
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayId(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:160
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::GetLocalGatewayVirtualInterfaceGroupId
const Aws::String & GetLocalGatewayVirtualInterfaceGroupId() const
Definition: LocalGatewayVirtualInterfaceGroup.h:48
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::LocalGatewayIdHasBeenSet
bool LocalGatewayIdHasBeenSet() const
Definition: LocalGatewayVirtualInterfaceGroup.h:140
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithOwnerId
LocalGatewayVirtualInterfaceGroup & WithOwnerId(Aws::String &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:213
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::operator=
LocalGatewayVirtualInterfaceGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: LocalGatewayVirtualInterfaceGroup.h:225
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::GetLocalGatewayId
const Aws::String & GetLocalGatewayId() const
Definition: LocalGatewayVirtualInterfaceGroup.h:135
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: LocalGatewayVirtualInterfaceGroup.h:230
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetLocalGatewayVirtualInterfaceIds
void SetLocalGatewayVirtualInterfaceIds(const Aws::Vector< Aws::String > &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:99
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithLocalGatewayVirtualInterfaceGroupId
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupId(Aws::String &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:78