AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnvironmentConfigurationParameter.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API EnvironmentConfigurationParameter() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline bool GetIsEditable() const { return m_isEditable; }
45 inline bool IsEditableHasBeenSet() const { return m_isEditableHasBeenSet; }
46 inline void SetIsEditable(bool value) { m_isEditableHasBeenSet = true; m_isEditable = value; }
47 inline EnvironmentConfigurationParameter& WithIsEditable(bool value) { SetIsEditable(value); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 EnvironmentConfigurationParameter& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetValue() const { return m_value; }
67 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
68 template<typename ValueT = Aws::String>
69 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
70 template<typename ValueT = Aws::String>
71 EnvironmentConfigurationParameter& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
73 private:
74
75 bool m_isEditable{false};
76 bool m_isEditableHasBeenSet = false;
77
78 Aws::String m_name;
79 bool m_nameHasBeenSet = false;
80
81 Aws::String m_value;
82 bool m_valueHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace DataZone
87} // namespace Aws
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API EnvironmentConfigurationParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API EnvironmentConfigurationParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentConfigurationParameter & WithValue(ValueT &&value)
EnvironmentConfigurationParameter & WithIsEditable(bool value)
AWS_DATAZONE_API EnvironmentConfigurationParameter()=default
EnvironmentConfigurationParameter & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue