/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for DescribeImageAttribute.See Also:
* AWS
* API Reference
The AMI attribute.
Note: The blockDeviceMapping
* attribute is deprecated. Using this attribute returns the
* Client.AuthFailure
error. To get information about the block device
* mappings for an AMI, use the DescribeImages action.
The AMI attribute.
Note: The blockDeviceMapping
* attribute is deprecated. Using this attribute returns the
* Client.AuthFailure
error. To get information about the block device
* mappings for an AMI, use the DescribeImages action.
The AMI attribute.
Note: The blockDeviceMapping
* attribute is deprecated. Using this attribute returns the
* Client.AuthFailure
error. To get information about the block device
* mappings for an AMI, use the DescribeImages action.
The AMI attribute.
Note: The blockDeviceMapping
* attribute is deprecated. Using this attribute returns the
* Client.AuthFailure
error. To get information about the block device
* mappings for an AMI, use the DescribeImages action.
The AMI attribute.
Note: The blockDeviceMapping
* attribute is deprecated. Using this attribute returns the
* Client.AuthFailure
error. To get information about the block device
* mappings for an AMI, use the DescribeImages action.
The AMI attribute.
Note: The blockDeviceMapping
* attribute is deprecated. Using this attribute returns the
* Client.AuthFailure
error. To get information about the block device
* mappings for an AMI, use the DescribeImages action.
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 DescribeImageAttributeRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;} /** *The ID of the AMI.
*/ inline DescribeImageAttributeRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;} /** *The ID of the AMI.
*/ inline DescribeImageAttributeRequest& 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
.