/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an Amazon FPGA image (AFI) attribute.See Also:
AWS
* API Reference
The ID of the AFI.
*/ inline const Aws::String& GetFpgaImageId() const{ return m_fpgaImageId; } /** *The ID of the AFI.
*/ inline bool FpgaImageIdHasBeenSet() const { return m_fpgaImageIdHasBeenSet; } /** *The ID of the AFI.
*/ inline void SetFpgaImageId(const Aws::String& value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId = value; } /** *The ID of the AFI.
*/ inline void SetFpgaImageId(Aws::String&& value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId = std::move(value); } /** *The ID of the AFI.
*/ inline void SetFpgaImageId(const char* value) { m_fpgaImageIdHasBeenSet = true; m_fpgaImageId.assign(value); } /** *The ID of the AFI.
*/ inline FpgaImageAttribute& WithFpgaImageId(const Aws::String& value) { SetFpgaImageId(value); return *this;} /** *The ID of the AFI.
*/ inline FpgaImageAttribute& WithFpgaImageId(Aws::String&& value) { SetFpgaImageId(std::move(value)); return *this;} /** *The ID of the AFI.
*/ inline FpgaImageAttribute& WithFpgaImageId(const char* value) { SetFpgaImageId(value); return *this;} /** *The name of the AFI.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the AFI.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the AFI.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the AFI.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the AFI.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the AFI.
*/ inline FpgaImageAttribute& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the AFI.
*/ inline FpgaImageAttribute& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the AFI.
*/ inline FpgaImageAttribute& WithName(const char* value) { SetName(value); return *this;} /** *The description of the AFI.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the AFI.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the AFI.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the AFI.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the AFI.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the AFI.
*/ inline FpgaImageAttribute& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the AFI.
*/ inline FpgaImageAttribute& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the AFI.
*/ inline FpgaImageAttribute& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The load permissions.
*/ inline const Aws::VectorThe load permissions.
*/ inline bool LoadPermissionsHasBeenSet() const { return m_loadPermissionsHasBeenSet; } /** *The load permissions.
*/ inline void SetLoadPermissions(const Aws::VectorThe load permissions.
*/ inline void SetLoadPermissions(Aws::VectorThe load permissions.
*/ inline FpgaImageAttribute& WithLoadPermissions(const Aws::VectorThe load permissions.
*/ inline FpgaImageAttribute& WithLoadPermissions(Aws::VectorThe load permissions.
*/ inline FpgaImageAttribute& AddLoadPermissions(const LoadPermission& value) { m_loadPermissionsHasBeenSet = true; m_loadPermissions.push_back(value); return *this; } /** *The load permissions.
*/ inline FpgaImageAttribute& AddLoadPermissions(LoadPermission&& value) { m_loadPermissionsHasBeenSet = true; m_loadPermissions.push_back(std::move(value)); return *this; } /** *The product codes.
*/ inline const Aws::VectorThe product codes.
*/ inline bool ProductCodesHasBeenSet() const { return m_productCodesHasBeenSet; } /** *The product codes.
*/ inline void SetProductCodes(const Aws::VectorThe product codes.
*/ inline void SetProductCodes(Aws::VectorThe product codes.
*/ inline FpgaImageAttribute& WithProductCodes(const Aws::VectorThe product codes.
*/ inline FpgaImageAttribute& WithProductCodes(Aws::VectorThe product codes.
*/ inline FpgaImageAttribute& AddProductCodes(const ProductCode& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; } /** *The product codes.
*/ inline FpgaImageAttribute& AddProductCodes(ProductCode&& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(std::move(value)); return *this; } private: Aws::String m_fpgaImageId; bool m_fpgaImageIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector