7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/imagebuilder/model/LifecyclePolicyResourceSelectionRecipe.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
51 template<
typename RecipesT = Aws::Vector<LifecyclePolicyResourceSelectionRecipe>>
52 void SetRecipes(RecipesT&& value) { m_recipesHasBeenSet =
true; m_recipes = std::forward<RecipesT>(value); }
53 template<
typename RecipesT = Aws::Vector<LifecyclePolicyResourceSelectionRecipe>>
55 template<
typename RecipesT = LifecyclePolicyResourceSelectionRecipe>
66 template<
typename TagMapT = Aws::Map<Aws::String, Aws::String>>
67 void SetTagMap(TagMapT&& value) { m_tagMapHasBeenSet =
true; m_tagMap = std::forward<TagMapT>(value); }
68 template<
typename TagMapT = Aws::Map<Aws::String, Aws::String>>
70 template<
typename TagMapKeyT = Aws::String,
typename TagMapValueT = Aws::String>
72 m_tagMapHasBeenSet =
true; m_tagMap.emplace(std::forward<TagMapKeyT>(key), std::forward<TagMapValueT>(value));
return *
this;
78 bool m_recipesHasBeenSet =
false;
81 bool m_tagMapHasBeenSet =
false;
AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelection(Aws::Utils::Json::JsonView jsonValue)
void SetTagMap(TagMapT &&value)
const Aws::Vector< LifecyclePolicyResourceSelectionRecipe > & GetRecipes() const
LifecyclePolicyResourceSelection & AddTagMap(TagMapKeyT &&key, TagMapValueT &&value)
LifecyclePolicyResourceSelection & WithTagMap(TagMapT &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RecipesHasBeenSet() const
AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelection()=default
LifecyclePolicyResourceSelection & WithRecipes(RecipesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTagMap() const
LifecyclePolicyResourceSelection & AddRecipes(RecipesT &&value)
AWS_IMAGEBUILDER_API LifecyclePolicyResourceSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TagMapHasBeenSet() const
void SetRecipes(RecipesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue