7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/imagebuilder/model/Ami.h>
10#include <aws/imagebuilder/model/Container.h>
48 template<
typename AmisT = Aws::Vector<Ami>>
49 void SetAmis(AmisT&& value) { m_amisHasBeenSet =
true; m_amis = std::forward<AmisT>(value); }
50 template<
typename AmisT = Aws::Vector<Ami>>
52 template<
typename AmisT = Ami>
53 OutputResources&
AddAmis(AmisT&& value) { m_amisHasBeenSet =
true; m_amis.emplace_back(std::forward<AmisT>(value));
return *
this; }
63 template<
typename ContainersT = Aws::Vector<Container>>
64 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
65 template<
typename ContainersT = Aws::Vector<Container>>
67 template<
typename ContainersT = Container>
68 OutputResources&
AddContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers.emplace_back(std::forward<ContainersT>(value));
return *
this; }
73 bool m_amisHasBeenSet =
false;
76 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