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/LocalGatewayVirtualInterfaceGroupConfigurationState.h>
12#include <aws/ec2/model/Tag.h>
52 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
53 void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT&& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
true; m_localGatewayVirtualInterfaceGroupId = std::forward<LocalGatewayVirtualInterfaceGroupIdT>(value); }
54 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
64 template<
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
65 void SetLocalGatewayVirtualInterfaceIds(LocalGatewayVirtualInterfaceIdsT&& value) { m_localGatewayVirtualInterfaceIdsHasBeenSet =
true; m_localGatewayVirtualInterfaceIds = std::forward<LocalGatewayVirtualInterfaceIdsT>(value); }
66 template<
typename LocalGatewayVirtualInterfaceIdsT = Aws::Vector<Aws::String>>
68 template<
typename LocalGatewayVirtualInterfaceIdsT = Aws::String>
78 template<
typename LocalGatewayIdT = Aws::String>
79 void SetLocalGatewayId(LocalGatewayIdT&& value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId = std::forward<LocalGatewayIdT>(value); }
80 template<
typename LocalGatewayIdT = Aws::String>
91 template<
typename OwnerIdT = Aws::String>
92 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
93 template<
typename OwnerIdT = Aws::String>
104 inline void SetLocalBgpAsn(
int value) { m_localBgpAsnHasBeenSet =
true; m_localBgpAsn = value; }
114 inline void SetLocalBgpAsnExtended(
long long value) { m_localBgpAsnExtendedHasBeenSet =
true; m_localBgpAsnExtended = value; }
125 template<
typename LocalGatewayVirtualInterfaceGroupArnT = Aws::String>
126 void SetLocalGatewayVirtualInterfaceGroupArn(LocalGatewayVirtualInterfaceGroupArnT&& value) { m_localGatewayVirtualInterfaceGroupArnHasBeenSet =
true; m_localGatewayVirtualInterfaceGroupArn = std::forward<LocalGatewayVirtualInterfaceGroupArnT>(value); }
127 template<
typename LocalGatewayVirtualInterfaceGroupArnT = Aws::String>
137 template<
typename TagsT = Aws::Vector<Tag>>
138 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
139 template<
typename TagsT = Aws::Vector<Tag>>
141 template<
typename TagsT = Tag>
157 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
160 bool m_localGatewayVirtualInterfaceIdsHasBeenSet =
false;
163 bool m_localGatewayIdHasBeenSet =
false;
166 bool m_ownerIdHasBeenSet =
false;
168 int m_localBgpAsn{0};
169 bool m_localBgpAsnHasBeenSet =
false;
171 long long m_localBgpAsnExtended{0};
172 bool m_localBgpAsnExtendedHasBeenSet =
false;
174 Aws::String m_localGatewayVirtualInterfaceGroupArn;
175 bool m_localGatewayVirtualInterfaceGroupArnHasBeenSet =
false;
178 bool m_tagsHasBeenSet =
false;
181 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