7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/model/Ami.h>
10#include <aws/imagebuilder/model/Container.h>
21namespace imagebuilder {
44 template <
typename AmisT = Aws::Vector<Ami>>
46 m_amisHasBeenSet =
true;
47 m_amis = std::forward<AmisT>(value);
49 template <
typename AmisT = Aws::Vector<Ami>>
51 SetAmis(std::forward<AmisT>(value));
54 template <
typename AmisT = Ami>
56 m_amisHasBeenSet =
true;
57 m_amis.emplace_back(std::forward<AmisT>(value));
69 template <
typename ContainersT = Aws::Vector<Container>>
71 m_containersHasBeenSet =
true;
72 m_containers = std::forward<ContainersT>(value);
74 template <
typename ContainersT = Aws::Vector<Container>>
79 template <
typename ContainersT = Container>
81 m_containersHasBeenSet =
true;
82 m_containers.emplace_back(std::forward<ContainersT>(value));
90 bool m_amisHasBeenSet =
false;
91 bool m_containersHasBeenSet =
false;
AWS_IMAGEBUILDER_API OutputResources(Aws::Utils::Json::JsonView jsonValue)
bool AmisHasBeenSet() const
AWS_IMAGEBUILDER_API OutputResources & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Container > & GetContainers() const
void SetContainers(ContainersT &&value)
AWS_IMAGEBUILDER_API OutputResources()=default
OutputResources & AddAmis(AmisT &&value)
const Aws::Vector< Ami > & GetAmis() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
OutputResources & WithContainers(ContainersT &&value)
void SetAmis(AmisT &&value)
OutputResources & WithAmis(AmisT &&value)
bool ContainersHasBeenSet() const
OutputResources & AddContainers(ContainersT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue