AWS SDK for C++  1.9.71
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 
176  inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
177 
181  inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
182 
186  inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
187 
191  inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
192 
196  inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
197 
201  inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
202 
206  inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
207 
211  inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
212 
213 
217  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
218 
222  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
223 
227  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
228 
232  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
233 
237  inline LocalGatewayVirtualInterfaceGroup& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
238 
242  inline LocalGatewayVirtualInterfaceGroup& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
243 
247  inline LocalGatewayVirtualInterfaceGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
248 
252  inline LocalGatewayVirtualInterfaceGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
253 
254  private:
255 
256  Aws::String m_localGatewayVirtualInterfaceGroupId;
257  bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet;
258 
259  Aws::Vector<Aws::String> m_localGatewayVirtualInterfaceIds;
260  bool m_localGatewayVirtualInterfaceIdsHasBeenSet;
261 
262  Aws::String m_localGatewayId;
263  bool m_localGatewayIdHasBeenSet;
264 
265  Aws::String m_ownerId;
266  bool m_ownerIdHasBeenSet;
267 
268  Aws::Vector<Tag> m_tags;
269  bool m_tagsHasBeenSet;
270  };
271 
272 } // namespace Model
273 } // namespace EC2
274 } // 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:181
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:201
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:232
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:191
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:196
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::GetOwnerId
const Aws::String & GetOwnerId() const
Definition: LocalGatewayVirtualInterfaceGroup.h:176
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithTags
LocalGatewayVirtualInterfaceGroup & WithTags(const Aws::Vector< Tag > &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:237
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:227
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:247
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::WithTags
LocalGatewayVirtualInterfaceGroup & WithTags(Aws::Vector< Tag > &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:242
AWSString.h
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::AddTags
LocalGatewayVirtualInterfaceGroup & AddTags(Tag &&value)
Definition: LocalGatewayVirtualInterfaceGroup.h:252
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:211
Aws::EC2::Model::LocalGatewayVirtualInterfaceGroup::SetOwnerId
void SetOwnerId(const Aws::String &value)
Definition: LocalGatewayVirtualInterfaceGroup.h:186
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:206
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:217
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:222
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