AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocalGatewayVirtualInterfaceGroup.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& GetLocalGatewayVirtualInterfaceGroupId() const{ return m_localGatewayVirtualInterfaceGroupId; }
50 inline bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const { return m_localGatewayVirtualInterfaceGroupIdHasBeenSet; }
51 inline void SetLocalGatewayVirtualInterfaceGroupId(const Aws::String& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId = value; }
52 inline void SetLocalGatewayVirtualInterfaceGroupId(Aws::String&& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId = std::move(value); }
53 inline void SetLocalGatewayVirtualInterfaceGroupId(const char* value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet = true; m_localGatewayVirtualInterfaceGroupId.assign(value); }
58
60
63 inline const Aws::Vector<Aws::String>& GetLocalGatewayVirtualInterfaceIds() const{ return m_localGatewayVirtualInterfaceIds; }
64 inline bool LocalGatewayVirtualInterfaceIdsHasBeenSet() const { return m_localGatewayVirtualInterfaceIdsHasBeenSet; }
65 inline void SetLocalGatewayVirtualInterfaceIds(const Aws::Vector<Aws::String>& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds = value; }
66 inline void SetLocalGatewayVirtualInterfaceIds(Aws::Vector<Aws::String>&& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds = std::move(value); }
69 inline LocalGatewayVirtualInterfaceGroup& AddLocalGatewayVirtualInterfaceIds(const Aws::String& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds.push_back(value); return *this; }
70 inline LocalGatewayVirtualInterfaceGroup& AddLocalGatewayVirtualInterfaceIds(Aws::String&& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds.push_back(std::move(value)); return *this; }
71 inline LocalGatewayVirtualInterfaceGroup& AddLocalGatewayVirtualInterfaceIds(const char* value) { m_localGatewayVirtualInterfaceIdsHasBeenSet = true; m_localGatewayVirtualInterfaceIds.push_back(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); }
84 inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayId(Aws::String&& value) { SetLocalGatewayId(std::move(value)); return *this;}
85 inline LocalGatewayVirtualInterfaceGroup& WithLocalGatewayId(const char* value) { SetLocalGatewayId(value); return *this;}
87
89
93 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
94 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
95 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
96 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
97 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
98 inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
99 inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
100 inline LocalGatewayVirtualInterfaceGroup& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
102
104
107 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
108 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
109 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
110 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
111 inline LocalGatewayVirtualInterfaceGroup& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
112 inline LocalGatewayVirtualInterfaceGroup& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
113 inline LocalGatewayVirtualInterfaceGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
114 inline LocalGatewayVirtualInterfaceGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
116 private:
117
118 Aws::String m_localGatewayVirtualInterfaceGroupId;
119 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet = false;
120
121 Aws::Vector<Aws::String> m_localGatewayVirtualInterfaceIds;
122 bool m_localGatewayVirtualInterfaceIdsHasBeenSet = false;
123
124 Aws::String m_localGatewayId;
125 bool m_localGatewayIdHasBeenSet = false;
126
127 Aws::String m_ownerId;
128 bool m_ownerIdHasBeenSet = false;
129
130 Aws::Vector<Tag> m_tags;
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace EC2
136} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LocalGatewayVirtualInterfaceGroup & AddLocalGatewayVirtualInterfaceIds(Aws::String &&value)
LocalGatewayVirtualInterfaceGroup & WithTags(const Aws::Vector< Tag > &value)
LocalGatewayVirtualInterfaceGroup & WithOwnerId(Aws::String &&value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceIds(const Aws::Vector< Aws::String > &value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupId(Aws::String &&value)
LocalGatewayVirtualInterfaceGroup & WithOwnerId(const Aws::String &value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayId(const char *value)
LocalGatewayVirtualInterfaceGroup & WithOwnerId(const char *value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupId(const char *value)
void SetLocalGatewayVirtualInterfaceIds(Aws::Vector< Aws::String > &&value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceIds(Aws::Vector< Aws::String > &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API LocalGatewayVirtualInterfaceGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLocalGatewayVirtualInterfaceIds(const Aws::Vector< Aws::String > &value)
AWS_EC2_API LocalGatewayVirtualInterfaceGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLocalGatewayVirtualInterfaceIds() const
LocalGatewayVirtualInterfaceGroup & AddTags(const Tag &value)
LocalGatewayVirtualInterfaceGroup & AddLocalGatewayVirtualInterfaceIds(const Aws::String &value)
LocalGatewayVirtualInterfaceGroup & AddLocalGatewayVirtualInterfaceIds(const char *value)
LocalGatewayVirtualInterfaceGroup & AddTags(Tag &&value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayId(Aws::String &&value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayId(const Aws::String &value)
LocalGatewayVirtualInterfaceGroup & WithTags(Aws::Vector< Tag > &&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