7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/SnapshotAttributeName.h>
43 m_attributeHasBeenSet =
true;
58 template <
typename SnapshotIdT = Aws::String>
60 m_snapshotIdHasBeenSet =
true;
61 m_snapshotId = std::forward<SnapshotIdT>(value);
63 template <
typename SnapshotIdT = Aws::String>
80 m_dryRunHasBeenSet =
true;
94 bool m_attributeHasBeenSet =
false;
95 bool m_snapshotIdHasBeenSet =
false;
96 bool m_dryRunHasBeenSet =
false;
void SetSnapshotId(SnapshotIdT &&value)
SnapshotAttributeName GetAttribute() const
bool AttributeHasBeenSet() const
bool SnapshotIdHasBeenSet() const
const Aws::String & GetSnapshotId() const
DescribeSnapshotAttributeRequest & WithAttribute(SnapshotAttributeName value)
AWS_EC2_API DescribeSnapshotAttributeRequest()=default
AWS_EC2_API Aws::String SerializePayload() const override
DescribeSnapshotAttributeRequest & WithSnapshotId(SnapshotIdT &&value)
DescribeSnapshotAttributeRequest & WithDryRun(bool value)
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
void SetAttribute(SnapshotAttributeName value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String