7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/LocalGatewayVirtualInterfaceGroupConfigurationState.h>
12#include <aws/ec2/model/Tag.h>
46 template <
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
48 m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
true;
49 m_localGatewayVirtualInterfaceGroupId = std::forward<LocalGatewayVirtualInterfaceGroupIdT>(value);
51 template <
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
64 template <
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
66 m_localGatewayVirtualInterfaceIdsHasBeenSet =
true;
67 m_localGatewayVirtualInterfaceIds = std::forward<LocalGatewayVirtualInterfaceIdsT>(value);
69 template <
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
74 template <
typename LocalGatewayVirtualInterfaceIdsT = Aws::String>
76 m_localGatewayVirtualInterfaceIdsHasBeenSet =
true;
77 m_localGatewayVirtualInterfaceIds.emplace_back(std::forward<LocalGatewayVirtualInterfaceIdsT>(value));
88 template <
typename LocalGatewayIdT = Aws::String>
90 m_localGatewayIdHasBeenSet =
true;
91 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
93 template <
typename LocalGatewayIdT = Aws::String>
107 template <
typename OwnerIdT = Aws::String>
109 m_ownerIdHasBeenSet =
true;
110 m_ownerId = std::forward<OwnerIdT>(value);
112 template <
typename OwnerIdT = Aws::String>
127 m_localBgpAsnHasBeenSet =
true;
128 m_localBgpAsn = value;
143 m_localBgpAsnExtendedHasBeenSet =
true;
144 m_localBgpAsnExtended = value;
159 template <
typename LocalGatewayVirtualInterfaceGroupArnT = Aws::String>
161 m_localGatewayVirtualInterfaceGroupArnHasBeenSet =
true;
162 m_localGatewayVirtualInterfaceGroupArn = std::forward<LocalGatewayVirtualInterfaceGroupArnT>(value);
164 template <
typename LocalGatewayVirtualInterfaceGroupArnT = Aws::String>
177 template <
typename TagsT = Aws::Vector<Tag>>
179 m_tagsHasBeenSet =
true;
180 m_tags = std::forward<TagsT>(value);
182 template <
typename TagsT = Aws::Vector<Tag>>
184 SetTags(std::forward<TagsT>(value));
187 template <
typename TagsT = Tag>
189 m_tagsHasBeenSet =
true;
190 m_tags.emplace_back(std::forward<TagsT>(value));
202 m_configurationStateHasBeenSet =
true;
203 m_configurationState = value;
219 int m_localBgpAsn{0};
221 long long m_localBgpAsnExtended{0};
223 Aws::String m_localGatewayVirtualInterfaceGroupArn;
228 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
229 bool m_localGatewayVirtualInterfaceIdsHasBeenSet =
false;
230 bool m_localGatewayIdHasBeenSet =
false;
231 bool m_ownerIdHasBeenSet =
false;
232 bool m_localBgpAsnHasBeenSet =
false;
233 bool m_localBgpAsnExtendedHasBeenSet =
false;
234 bool m_localGatewayVirtualInterfaceGroupArnHasBeenSet =
false;
235 bool m_tagsHasBeenSet =
false;
236 bool m_configurationStateHasBeenSet =
false;
bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const
void SetTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayId(LocalGatewayIdT &&value)
bool LocalBgpAsnHasBeenSet() const
bool LocalBgpAsnExtendedHasBeenSet() const
const Aws::String & GetLocalGatewayVirtualInterfaceGroupArn() const
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT &&value)
void SetLocalBgpAsnExtended(long long value)
const Aws::String & GetLocalGatewayId() const
LocalGatewayVirtualInterfaceGroup & WithLocalBgpAsn(int value)
void SetLocalBgpAsn(int value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupArn(LocalGatewayVirtualInterfaceGroupArnT &&value)
LocalGatewayVirtualInterfaceGroup & WithLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
LocalGatewayVirtualInterfaceGroup & WithTags(TagsT &&value)
LocalGatewayVirtualInterfaceGroup & WithLocalBgpAsnExtended(long long value)
LocalGatewayVirtualInterfaceGroupConfigurationState GetConfigurationState() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetConfigurationState(LocalGatewayVirtualInterfaceGroupConfigurationState value)
int GetLocalBgpAsn() const
LocalGatewayVirtualInterfaceGroup & AddTags(TagsT &&value)
AWS_EC2_API LocalGatewayVirtualInterfaceGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ConfigurationStateHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
AWS_EC2_API LocalGatewayVirtualInterfaceGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
const Aws::Vector< Aws::String > & GetLocalGatewayVirtualInterfaceIds() const
const Aws::String & GetLocalGatewayVirtualInterfaceGroupId() const
bool LocalGatewayVirtualInterfaceIdsHasBeenSet() const
bool TagsHasBeenSet() const
bool LocalGatewayIdHasBeenSet() const
const Aws::String & GetOwnerId() const
void SetLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT &&value)
void SetLocalGatewayId(LocalGatewayIdT &&value)
AWS_EC2_API LocalGatewayVirtualInterfaceGroup()=default
bool LocalGatewayVirtualInterfaceGroupArnHasBeenSet() const
long long GetLocalBgpAsnExtended() const
LocalGatewayVirtualInterfaceGroup & WithOwnerId(OwnerIdT &&value)
void SetLocalGatewayVirtualInterfaceGroupArn(LocalGatewayVirtualInterfaceGroupArnT &&value)
void SetOwnerId(OwnerIdT &&value)
bool OwnerIdHasBeenSet() const
LocalGatewayVirtualInterfaceGroup & WithConfigurationState(LocalGatewayVirtualInterfaceGroupConfigurationState value)
LocalGatewayVirtualInterfaceGroup & AddLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT &&value)
LocalGatewayVirtualInterfaceGroupConfigurationState
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