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/GroupIdentifier.h>
12#include <aws/ec2/model/Tag.h>
46 template <
typename GroupsT = Aws::Vector<GroupIdentifier>>
48 m_groupsHasBeenSet =
true;
49 m_groups = std::forward<GroupsT>(value);
51 template <
typename GroupsT = Aws::Vector<GroupIdentifier>>
56 template <
typename GroupsT = GroupIdentifier>
58 m_groupsHasBeenSet =
true;
59 m_groups.emplace_back(std::forward<GroupsT>(value));
70 template <
typename InstanceIdT = Aws::String>
72 m_instanceIdHasBeenSet =
true;
73 m_instanceId = std::forward<InstanceIdT>(value);
75 template <
typename InstanceIdT = Aws::String>
88 template <
typename TagsT = Aws::Vector<Tag>>
90 m_tagsHasBeenSet =
true;
91 m_tags = std::forward<TagsT>(value);
93 template <
typename TagsT = Aws::Vector<Tag>>
95 SetTags(std::forward<TagsT>(value));
98 template <
typename TagsT = Tag>
100 m_tagsHasBeenSet =
true;
101 m_tags.emplace_back(std::forward<TagsT>(value));
112 template <
typename VpcIdT = Aws::String>
114 m_vpcIdHasBeenSet =
true;
115 m_vpcId = std::forward<VpcIdT>(value);
117 template <
typename VpcIdT = Aws::String>
119 SetVpcId(std::forward<VpcIdT>(value));
131 bool m_groupsHasBeenSet =
false;
132 bool m_instanceIdHasBeenSet =
false;
133 bool m_tagsHasBeenSet =
false;
134 bool m_vpcIdHasBeenSet =
false;
void SetVpcId(VpcIdT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetInstanceId() const
ClassicLinkInstance & WithTags(TagsT &&value)
void SetInstanceId(InstanceIdT &&value)
ClassicLinkInstance & AddTags(TagsT &&value)
const Aws::Vector< GroupIdentifier > & GetGroups() const
bool TagsHasBeenSet() const
ClassicLinkInstance & WithVpcId(VpcIdT &&value)
ClassicLinkInstance & WithGroups(GroupsT &&value)
bool InstanceIdHasBeenSet() const
AWS_EC2_API ClassicLinkInstance()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ClassicLinkInstance & WithInstanceId(InstanceIdT &&value)
const Aws::String & GetVpcId() const
AWS_EC2_API ClassicLinkInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GroupsHasBeenSet() const
bool VpcIdHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClassicLinkInstance & AddGroups(GroupsT &&value)
void SetGroups(GroupsT &&value)
AWS_EC2_API ClassicLinkInstance(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Tag > & GetTags() const
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