/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for ResetImageAttribute.See Also:
* AWS
* API Reference
The attribute to reset (currently you can only reset the launch permission * attribute).
*/ inline const ResetImageAttributeName& GetAttribute() const{ return m_attribute; } /** *The attribute to reset (currently you can only reset the launch permission * attribute).
*/ inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; } /** *The attribute to reset (currently you can only reset the launch permission * attribute).
*/ inline void SetAttribute(const ResetImageAttributeName& value) { m_attributeHasBeenSet = true; m_attribute = value; } /** *The attribute to reset (currently you can only reset the launch permission * attribute).
*/ inline void SetAttribute(ResetImageAttributeName&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); } /** *The attribute to reset (currently you can only reset the launch permission * attribute).
*/ inline ResetImageAttributeRequest& WithAttribute(const ResetImageAttributeName& value) { SetAttribute(value); return *this;} /** *The attribute to reset (currently you can only reset the launch permission * attribute).
*/ inline ResetImageAttributeRequest& WithAttribute(ResetImageAttributeName&& value) { SetAttribute(std::move(value)); return *this;} /** *The ID of the AMI.
*/ inline const Aws::String& GetImageId() const{ return m_imageId; } /** *The ID of the AMI.
*/ inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; } /** *The ID of the AMI.
*/ inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; } /** *The ID of the AMI.
*/ inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); } /** *The ID of the AMI.
*/ inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); } /** *The ID of the AMI.
*/ inline ResetImageAttributeRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *The ID of the AMI.
*/ inline ResetImageAttributeRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *The ID of the AMI.
*/ inline ResetImageAttributeRequest& WithImageId(const char* value) { SetImageId(value); return *this;} /** *Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.