AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ControlParameter.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/controlcatalog/model/ControlParameterRequirement.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ControlCatalog {
21namespace Model {
22
59 public:
60 AWS_CONTROLCATALOG_API ControlParameter() = default;
61 AWS_CONTROLCATALOG_API ControlParameter(Aws::Utils::Json::JsonView jsonValue);
62 AWS_CONTROLCATALOG_API ControlParameter& operator=(Aws::Utils::Json::JsonView jsonValue);
63 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
64
66
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
82 ControlParameter& WithName(NameT&& value) {
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
93 inline ControlParameterRequirement GetRequirement() const { return m_requirement; }
94 inline bool RequirementHasBeenSet() const { return m_requirementHasBeenSet; }
96 m_requirementHasBeenSet = true;
97 m_requirement = value;
98 }
100 SetRequirement(value);
101 return *this;
102 }
104 private:
105 Aws::String m_name;
106
108 bool m_nameHasBeenSet = false;
109 bool m_requirementHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace ControlCatalog
114} // namespace Aws
ControlParameter & WithRequirement(ControlParameterRequirement value)
void SetRequirement(ControlParameterRequirement value)
ControlParameter & WithName(NameT &&value)
ControlParameterRequirement GetRequirement() const
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONTROLCATALOG_API ControlParameter()=default
AWS_CONTROLCATALOG_API ControlParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLCATALOG_API ControlParameter(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue