AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnabledControlParameterSummary.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 EnabledControlParameterSummary();
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 EnabledControlParameterSummary& WithKey(const Aws::String& value) { SetKey(value); return *this;}
52 inline EnabledControlParameterSummary& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
53 inline EnabledControlParameterSummary& WithKey(const char* value) { SetKey(value); return *this;}
55
57
60 inline Aws::Utils::DocumentView GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const Aws::Utils::Document& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(Aws::Utils::Document&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline EnabledControlParameterSummary& WithValue(const Aws::Utils::Document& value) { SetValue(value); return *this;}
65 inline EnabledControlParameterSummary& WithValue(Aws::Utils::Document&& value) { SetValue(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_key;
70 bool m_keyHasBeenSet = false;
71
73 bool m_valueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ControlTower
78} // namespace Aws
EnabledControlParameterSummary & WithKey(const char *value)
EnabledControlParameterSummary & WithValue(Aws::Utils::Document &&value)
EnabledControlParameterSummary & WithValue(const Aws::Utils::Document &value)
EnabledControlParameterSummary & WithKey(const Aws::String &value)
EnabledControlParameterSummary & WithKey(Aws::String &&value)
AWS_CONTROLTOWER_API EnabledControlParameterSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTROLTOWER_API EnabledControlParameterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue