/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details of an Amazon EC2 AMI.See Also:
AWS
* API Reference
The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline Ami& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline Ami& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region of the Amazon EC2 AMI.
*/ inline Ami& WithRegion(const char* value) { SetRegion(value); return *this;} /** *The AMI ID of the Amazon EC2 AMI.
*/ inline const Aws::String& GetImage() const{ return m_image; } /** *The AMI ID of the Amazon EC2 AMI.
*/ inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; } /** *The AMI ID of the Amazon EC2 AMI.
*/ inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; } /** *The AMI ID of the Amazon EC2 AMI.
*/ inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); } /** *The AMI ID of the Amazon EC2 AMI.
*/ inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); } /** *The AMI ID of the Amazon EC2 AMI.
*/ inline Ami& WithImage(const Aws::String& value) { SetImage(value); return *this;} /** *The AMI ID of the Amazon EC2 AMI.
*/ inline Ami& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;} /** *The AMI ID of the Amazon EC2 AMI.
*/ inline Ami& WithImage(const char* value) { SetImage(value); return *this;} /** *The name of the Amazon EC2 AMI.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the Amazon EC2 AMI.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the Amazon EC2 AMI.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the Amazon EC2 AMI.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the Amazon EC2 AMI.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the Amazon EC2 AMI.
*/ inline Ami& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the Amazon EC2 AMI.
*/ inline Ami& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the Amazon EC2 AMI.
*/ inline Ami& WithName(const char* value) { SetName(value); return *this;} /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline Ami& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline Ami& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the Amazon EC2 AMI. Minimum and maximum length are in * characters.
*/ inline Ami& WithDescription(const char* value) { SetDescription(value); return *this;} inline const ImageState& GetState() const{ return m_state; } inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } inline void SetState(const ImageState& value) { m_stateHasBeenSet = true; m_state = value; } inline void SetState(ImageState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } inline Ami& WithState(const ImageState& value) { SetState(value); return *this;} inline Ami& WithState(ImageState&& value) { SetState(std::move(value)); return *this;} /** *The account ID of the owner of the AMI.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The account ID of the owner of the AMI.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The account ID of the owner of the AMI.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The account ID of the owner of the AMI.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The account ID of the owner of the AMI.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The account ID of the owner of the AMI.
*/ inline Ami& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The account ID of the owner of the AMI.
*/ inline Ami& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The account ID of the owner of the AMI.
*/ inline Ami& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_region; bool m_regionHasBeenSet = false; Aws::String m_image; bool m_imageHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ImageState m_state; bool m_stateHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace imagebuilder } // namespace Aws