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>
44 m_attributeHasBeenSet =
true;
59 template <
typename SnapshotIdT = Aws::String>
61 m_snapshotIdHasBeenSet =
true;
62 m_snapshotId = std::forward<SnapshotIdT>(value);
64 template <
typename SnapshotIdT = Aws::String>
81 m_dryRunHasBeenSet =
true;
95 bool m_attributeHasBeenSet =
false;
96 bool m_snapshotIdHasBeenSet =
false;
97 bool m_dryRunHasBeenSet =
false;
ResetSnapshotAttributeRequest & WithDryRun(bool value)
void SetAttribute(SnapshotAttributeName value)
bool SnapshotIdHasBeenSet() const
void SetDryRun(bool value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SnapshotAttributeName GetAttribute() const
bool AttributeHasBeenSet() const
const Aws::String & GetSnapshotId() const
AWS_EC2_API ResetSnapshotAttributeRequest()=default
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetSnapshotId(SnapshotIdT &&value)
bool DryRunHasBeenSet() const
ResetSnapshotAttributeRequest & WithSnapshotId(SnapshotIdT &&value)
ResetSnapshotAttributeRequest & WithAttribute(SnapshotAttributeName value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String