/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace imagebuilder { namespace Model { /** *

The resources produced by this image.

See Also:

AWS * API Reference

*/ class AWS_IMAGEBUILDER_API OutputResources { public: OutputResources(); OutputResources(Aws::Utils::Json::JsonView jsonValue); OutputResources& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

The EC2 AMIs created by this image.

*/ inline const Aws::Vector& GetAmis() const{ return m_amis; } /** *

The EC2 AMIs created by this image.

*/ inline bool AmisHasBeenSet() const { return m_amisHasBeenSet; } /** *

The EC2 AMIs created by this image.

*/ inline void SetAmis(const Aws::Vector& value) { m_amisHasBeenSet = true; m_amis = value; } /** *

The EC2 AMIs created by this image.

*/ inline void SetAmis(Aws::Vector&& value) { m_amisHasBeenSet = true; m_amis = std::move(value); } /** *

The EC2 AMIs created by this image.

*/ inline OutputResources& WithAmis(const Aws::Vector& value) { SetAmis(value); return *this;} /** *

The EC2 AMIs created by this image.

*/ inline OutputResources& WithAmis(Aws::Vector&& value) { SetAmis(std::move(value)); return *this;} /** *

The EC2 AMIs created by this image.

*/ inline OutputResources& AddAmis(const Ami& value) { m_amisHasBeenSet = true; m_amis.push_back(value); return *this; } /** *

The EC2 AMIs created by this image.

*/ inline OutputResources& AddAmis(Ami&& value) { m_amisHasBeenSet = true; m_amis.push_back(std::move(value)); return *this; } private: Aws::Vector m_amis; bool m_amisHasBeenSet; }; } // namespace Model } // namespace imagebuilder } // namespace Aws