AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnabledControlParameter.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
35 {
36 public:
37 AWS_CONTROLTOWER_API EnabledControlParameter();
38 AWS_CONTROLTOWER_API EnabledControlParameter(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetKey() const{ return m_key; }
48 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
50 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
51 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
52 inline EnabledControlParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
53 inline EnabledControlParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
54 inline EnabledControlParameter& WithKey(const char* value) { SetKey(value); return *this;}
56
58
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 EnabledControlParameter& WithValue(const Aws::Utils::Document& value) { SetValue(value); return *this;}
66 inline EnabledControlParameter& 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
EnabledControlParameter & WithKey(Aws::String &&value)
AWS_CONTROLTOWER_API EnabledControlParameter(Aws::Utils::Json::JsonView jsonValue)
EnabledControlParameter & WithValue(const Aws::Utils::Document &value)
void SetValue(const Aws::Utils::Document &value)
EnabledControlParameter & WithKey(const Aws::String &value)
EnabledControlParameter & WithValue(Aws::Utils::Document &&value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
EnabledControlParameter & WithKey(const char *value)
AWS_CONTROLTOWER_API EnabledControlParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue