AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnabledBaselineParameter.h
1
6#pragma once
7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Document.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ControlTower
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONTROLTOWER_API EnabledBaselineParameter();
39 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKey() const{ return m_key; }
47 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
48 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
49 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
50 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
51 inline EnabledBaselineParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
52 inline EnabledBaselineParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
53 inline EnabledBaselineParameter& WithKey(const char* value) { SetKey(value); return *this;}
55
57
61 inline Aws::Utils::DocumentView GetValue() const{ return m_value; }
62 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
63 inline void SetValue(const Aws::Utils::Document& value) { m_valueHasBeenSet = true; m_value = value; }
64 inline void SetValue(Aws::Utils::Document&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
65 inline EnabledBaselineParameter& WithValue(const Aws::Utils::Document& value) { SetValue(value); return *this;}
66 inline EnabledBaselineParameter& WithValue(Aws::Utils::Document&& value) { SetValue(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_key;
71 bool m_keyHasBeenSet = false;
72
74 bool m_valueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ControlTower
79} // namespace Aws
EnabledBaselineParameter & WithValue(const Aws::Utils::Document &value)
EnabledBaselineParameter & WithKey(Aws::String &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
EnabledBaselineParameter & WithValue(Aws::Utils::Document &&value)
EnabledBaselineParameter & WithKey(const Aws::String &value)
AWS_CONTROLTOWER_API EnabledBaselineParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLTOWER_API EnabledBaselineParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
EnabledBaselineParameter & WithKey(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue