AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ParameterConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/ParameterValue.h>
9#include <aws/securityhub/model/ParameterValueType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API ParameterConfiguration() = default;
32 AWS_SECURITYHUB_API ParameterConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
47 inline ParameterValueType GetValueType() const { return m_valueType; }
48 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
49 inline void SetValueType(ParameterValueType value) {
50 m_valueTypeHasBeenSet = true;
51 m_valueType = value;
52 }
54 SetValueType(value);
55 return *this;
56 }
58
60
63 inline const ParameterValue& GetValue() const { return m_value; }
64 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
65 template <typename ValueT = ParameterValue>
66 void SetValue(ValueT&& value) {
67 m_valueHasBeenSet = true;
68 m_value = std::forward<ValueT>(value);
69 }
70 template <typename ValueT = ParameterValue>
72 SetValue(std::forward<ValueT>(value));
73 return *this;
74 }
76 private:
78
79 ParameterValue m_value;
80 bool m_valueTypeHasBeenSet = false;
81 bool m_valueHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SecurityHub
86} // namespace Aws
ParameterConfiguration & WithValueType(ParameterValueType value)
AWS_SECURITYHUB_API ParameterConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ParameterConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API ParameterConfiguration()=default
ParameterConfiguration & WithValue(ValueT &&value)
Aws::Utils::Json::JsonValue JsonValue