7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/GroupIdentifier.h>
12#include <aws/ec2/model/Tag.h>
52 template<
typename GroupsT = Aws::Vector<GroupIdentifier>>
53 void SetGroups(GroupsT&& value) { m_groupsHasBeenSet =
true; m_groups = std::forward<GroupsT>(value); }
54 template<
typename GroupsT = Aws::Vector<GroupIdentifier>>
56 template<
typename GroupsT = GroupIdentifier>
66 template<
typename InstanceIdT = Aws::String>
67 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
68 template<
typename InstanceIdT = Aws::String>
78 template<
typename TagsT = Aws::Vector<Tag>>
79 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
80 template<
typename TagsT = Aws::Vector<Tag>>
82 template<
typename TagsT = Tag>
92 template<
typename VpcIdT = Aws::String>
93 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
94 template<
typename VpcIdT = Aws::String>
100 bool m_groupsHasBeenSet =
false;
103 bool m_instanceIdHasBeenSet =
false;
106 bool m_tagsHasBeenSet =
false;
109 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