7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <aws/ec2/model/ProductCode.h>
12#include <aws/ec2/model/CreateVolumePermission.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
59 inline void SetSnapshotId(
const char* value) { m_snapshotId.assign(value); }
DescribeSnapshotAttributeResponse & WithProductCodes(Aws::Vector< ProductCode > &&value)
void SetSnapshotId(const char *value)
void SetCreateVolumePermissions(Aws::Vector< CreateVolumePermission > &&value)
DescribeSnapshotAttributeResponse & WithCreateVolumePermissions(Aws::Vector< CreateVolumePermission > &&value)
DescribeSnapshotAttributeResponse & WithResponseMetadata(ResponseMetadata &&value)
AWS_EC2_API DescribeSnapshotAttributeResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeSnapshotAttributeResponse & AddProductCodes(ProductCode &&value)
DescribeSnapshotAttributeResponse & AddProductCodes(const ProductCode &value)
void SetSnapshotId(const Aws::String &value)
void SetCreateVolumePermissions(const Aws::Vector< CreateVolumePermission > &value)
const ResponseMetadata & GetResponseMetadata() const
void SetProductCodes(Aws::Vector< ProductCode > &&value)
void SetResponseMetadata(ResponseMetadata &&value)
DescribeSnapshotAttributeResponse & WithSnapshotId(const char *value)
const Aws::String & GetSnapshotId() const
DescribeSnapshotAttributeResponse & AddCreateVolumePermissions(const CreateVolumePermission &value)
void SetSnapshotId(Aws::String &&value)
DescribeSnapshotAttributeResponse & WithProductCodes(const Aws::Vector< ProductCode > &value)
DescribeSnapshotAttributeResponse & WithSnapshotId(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeSnapshotAttributeResponse & WithSnapshotId(Aws::String &&value)
AWS_EC2_API DescribeSnapshotAttributeResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API DescribeSnapshotAttributeResponse()
DescribeSnapshotAttributeResponse & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< ProductCode > & GetProductCodes() const
void SetProductCodes(const Aws::Vector< ProductCode > &value)
const Aws::Vector< CreateVolumePermission > & GetCreateVolumePermissions() const
DescribeSnapshotAttributeResponse & AddCreateVolumePermissions(CreateVolumePermission &&value)
DescribeSnapshotAttributeResponse & WithCreateVolumePermissions(const Aws::Vector< CreateVolumePermission > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument