7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11#include <aws/imagebuilder/model/LifecyclePolicyResourceSelectionRecipe.h>
22namespace imagebuilder {
45 template <
typename RecipesT = Aws::Vector<LifecyclePolicyResourceSelectionRecipe>>
47 m_recipesHasBeenSet =
true;
48 m_recipes = std::forward<RecipesT>(value);
50 template <
typename RecipesT = Aws::Vector<LifecyclePolicyResourceSelectionRecipe>>
55 template <
typename RecipesT = LifecyclePolicyResourceSelectionRecipe>
57 m_recipesHasBeenSet =
true;
58 m_recipes.emplace_back(std::forward<RecipesT>(value));
70 template <
typename TagMapT = Aws::Map<Aws::String, Aws::String>>
72 m_tagMapHasBeenSet =
true;
73 m_tagMap = std::forward<TagMapT>(value);
75 template <
typename TagMapT = Aws::Map<Aws::String, Aws::String>>
80 template <
typename TagMapKeyT = Aws::String,
typename TagMapValueT = Aws::String>
82 m_tagMapHasBeenSet =
true;
83 m_tagMap.emplace(std::forward<TagMapKeyT>(key), std::forward<TagMapValueT>(value));
91 bool m_recipesHasBeenSet =
false;
92 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