AWS SDK for C++

AWS SDK for C++ Version 1.11.859

Loading...
Searching...
No Matches
Governance.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DefaultCategoryEffect.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
34 public:
35 AWS_QUICKSIGHT_API Governance() = default;
36 AWS_QUICKSIGHT_API Governance(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Governance& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Map<Aws::String, DefaultCategoryEffect>& GetDefaultCategoryEffects() const { return m_defaultCategoryEffects; }
45 inline bool DefaultCategoryEffectsHasBeenSet() const { return m_defaultCategoryEffectsHasBeenSet; }
46 template <typename DefaultCategoryEffectsT = Aws::Map<Aws::String, DefaultCategoryEffect>>
47 void SetDefaultCategoryEffects(DefaultCategoryEffectsT&& value) {
48 m_defaultCategoryEffectsHasBeenSet = true;
49 m_defaultCategoryEffects = std::forward<DefaultCategoryEffectsT>(value);
50 }
51 template <typename DefaultCategoryEffectsT = Aws::Map<Aws::String, DefaultCategoryEffect>>
52 Governance& WithDefaultCategoryEffects(DefaultCategoryEffectsT&& value) {
53 SetDefaultCategoryEffects(std::forward<DefaultCategoryEffectsT>(value));
54 return *this;
55 }
57 m_defaultCategoryEffectsHasBeenSet = true;
58 m_defaultCategoryEffects.emplace(key, value);
59 return *this;
60 }
62 private:
63 Aws::Map<Aws::String, DefaultCategoryEffect> m_defaultCategoryEffects;
64 bool m_defaultCategoryEffectsHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace QuickSight
69} // namespace Aws
Governance & WithDefaultCategoryEffects(DefaultCategoryEffectsT &&value)
Definition Governance.h:52
Governance & AddDefaultCategoryEffects(Aws::String key, DefaultCategoryEffect value)
Definition Governance.h:56
AWS_QUICKSIGHT_API Governance & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API Governance()=default
AWS_QUICKSIGHT_API Governance(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultCategoryEffects(DefaultCategoryEffectsT &&value)
Definition Governance.h:47
const Aws::Map< Aws::String, DefaultCategoryEffect > & GetDefaultCategoryEffects() const
Definition Governance.h:44
bool DefaultCategoryEffectsHasBeenSet() const
Definition Governance.h:45
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