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/ec2/model/ImageReferenceResourceType.h>
49 template<
typename ImageIdT = Aws::String>
50 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
51 template<
typename ImageIdT = Aws::String>
71 template<
typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
73 template<
typename ArnT = Aws::String>
79 bool m_imageIdHasBeenSet =
false;
82 bool m_resourceTypeHasBeenSet =
false;
85 bool m_arnHasBeenSet =
false;
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API ImageReference(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetImageId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ResourceTypeHasBeenSet() const
void SetImageId(ImageIdT &&value)
bool ArnHasBeenSet() const
void SetResourceType(ImageReferenceResourceType value)
ImageReference & WithResourceType(ImageReferenceResourceType value)
ImageReference & WithImageId(ImageIdT &&value)
ImageReference & WithArn(ArnT &&value)
const Aws::String & GetArn() const
bool ImageIdHasBeenSet() const
void SetArn(ArnT &&value)
ImageReferenceResourceType GetResourceType() const
AWS_EC2_API ImageReference()=default
AWS_EC2_API ImageReference & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ImageReferenceResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream