AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LifecyclePolicyDetailExclusionRules.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/imagebuilder/model/LifecyclePolicyDetailExclusionRulesAmis.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace imagebuilder
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Map<Aws::String, Aws::String>& GetTagMap() const{ return m_tagMap; }
49 inline bool TagMapHasBeenSet() const { return m_tagMapHasBeenSet; }
50 inline void SetTagMap(const Aws::Map<Aws::String, Aws::String>& value) { m_tagMapHasBeenSet = true; m_tagMap = value; }
51 inline void SetTagMap(Aws::Map<Aws::String, Aws::String>&& value) { m_tagMapHasBeenSet = true; m_tagMap = std::move(value); }
54 inline LifecyclePolicyDetailExclusionRules& AddTagMap(const Aws::String& key, const Aws::String& value) { m_tagMapHasBeenSet = true; m_tagMap.emplace(key, value); return *this; }
55 inline LifecyclePolicyDetailExclusionRules& AddTagMap(Aws::String&& key, const Aws::String& value) { m_tagMapHasBeenSet = true; m_tagMap.emplace(std::move(key), value); return *this; }
56 inline LifecyclePolicyDetailExclusionRules& AddTagMap(const Aws::String& key, Aws::String&& value) { m_tagMapHasBeenSet = true; m_tagMap.emplace(key, std::move(value)); return *this; }
57 inline LifecyclePolicyDetailExclusionRules& AddTagMap(Aws::String&& key, Aws::String&& value) { m_tagMapHasBeenSet = true; m_tagMap.emplace(std::move(key), std::move(value)); return *this; }
58 inline LifecyclePolicyDetailExclusionRules& AddTagMap(const char* key, Aws::String&& value) { m_tagMapHasBeenSet = true; m_tagMap.emplace(key, std::move(value)); return *this; }
59 inline LifecyclePolicyDetailExclusionRules& AddTagMap(Aws::String&& key, const char* value) { m_tagMapHasBeenSet = true; m_tagMap.emplace(std::move(key), value); return *this; }
60 inline LifecyclePolicyDetailExclusionRules& AddTagMap(const char* key, const char* value) { m_tagMapHasBeenSet = true; m_tagMap.emplace(key, value); return *this; }
62
64
68 inline const LifecyclePolicyDetailExclusionRulesAmis& GetAmis() const{ return m_amis; }
69 inline bool AmisHasBeenSet() const { return m_amisHasBeenSet; }
70 inline void SetAmis(const LifecyclePolicyDetailExclusionRulesAmis& value) { m_amisHasBeenSet = true; m_amis = value; }
71 inline void SetAmis(LifecyclePolicyDetailExclusionRulesAmis&& value) { m_amisHasBeenSet = true; m_amis = std::move(value); }
75 private:
76
78 bool m_tagMapHasBeenSet = false;
79
81 bool m_amisHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace imagebuilder
86} // namespace Aws
LifecyclePolicyDetailExclusionRules & WithAmis(LifecyclePolicyDetailExclusionRulesAmis &&value)
LifecyclePolicyDetailExclusionRules & AddTagMap(const char *key, Aws::String &&value)
void SetTagMap(const Aws::Map< Aws::String, Aws::String > &value)
LifecyclePolicyDetailExclusionRules & WithAmis(const LifecyclePolicyDetailExclusionRulesAmis &value)
LifecyclePolicyDetailExclusionRules & WithTagMap(Aws::Map< Aws::String, Aws::String > &&value)
const LifecyclePolicyDetailExclusionRulesAmis & GetAmis() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
LifecyclePolicyDetailExclusionRules & AddTagMap(Aws::String &&key, const char *value)
LifecyclePolicyDetailExclusionRules & AddTagMap(const Aws::String &key, const Aws::String &value)
LifecyclePolicyDetailExclusionRules & AddTagMap(Aws::String &&key, const Aws::String &value)
void SetAmis(const LifecyclePolicyDetailExclusionRulesAmis &value)
LifecyclePolicyDetailExclusionRules & WithTagMap(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API LifecyclePolicyDetailExclusionRules & operator=(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicyDetailExclusionRules & AddTagMap(const char *key, const char *value)
LifecyclePolicyDetailExclusionRules & AddTagMap(const Aws::String &key, Aws::String &&value)
AWS_IMAGEBUILDER_API LifecyclePolicyDetailExclusionRules(Aws::Utils::Json::JsonView jsonValue)
LifecyclePolicyDetailExclusionRules & AddTagMap(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue