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>
68 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
96 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
104 bool m_groupsHasBeenSet =
false;
107 bool m_instanceIdHasBeenSet =
false;
110 bool m_tagsHasBeenSet =
false;
113 bool m_vpcIdHasBeenSet =
false;
ClassicLinkInstance & AddGroups(const GroupIdentifier &value)
ClassicLinkInstance & AddGroups(GroupIdentifier &&value)
ClassicLinkInstance & WithGroups(Aws::Vector< GroupIdentifier > &&value)
const Aws::String & GetInstanceId() const
ClassicLinkInstance & WithInstanceId(Aws::String &&value)
const Aws::Vector< GroupIdentifier > & GetGroups() const
ClassicLinkInstance & WithInstanceId(const char *value)
void SetInstanceId(const Aws::String &value)
AWS_EC2_API ClassicLinkInstance()
bool TagsHasBeenSet() const
ClassicLinkInstance & AddTags(Tag &&value)
ClassicLinkInstance & AddTags(const Tag &value)
void SetInstanceId(const char *value)
void SetInstanceId(Aws::String &&value)
ClassicLinkInstance & WithVpcId(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
ClassicLinkInstance & WithVpcId(Aws::String &&value)
bool InstanceIdHasBeenSet() const
void SetVpcId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
ClassicLinkInstance & WithTags(Aws::Vector< Tag > &&value)
ClassicLinkInstance & WithGroups(const Aws::Vector< GroupIdentifier > &value)
ClassicLinkInstance & WithVpcId(const char *value)
void SetGroups(const Aws::Vector< GroupIdentifier > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetVpcId() const
AWS_EC2_API ClassicLinkInstance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGroups(Aws::Vector< GroupIdentifier > &&value)
void SetVpcId(const char *value)
ClassicLinkInstance & WithInstanceId(const Aws::String &value)
bool GroupsHasBeenSet() const
bool VpcIdHasBeenSet() const
void SetVpcId(Aws::String &&value)
ClassicLinkInstance & WithTags(const Aws::Vector< Tag > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
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