AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/ParameterValueType.h>
9#include <aws/securityhub/model/ParameterValue.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API ParameterConfiguration();
37 AWS_SECURITYHUB_API ParameterConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const ParameterValueType& GetValueType() const{ return m_valueType; }
54 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
55 inline void SetValueType(const ParameterValueType& value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
56 inline void SetValueType(ParameterValueType&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); }
57 inline ParameterConfiguration& WithValueType(const ParameterValueType& value) { SetValueType(value); return *this;}
58 inline ParameterConfiguration& WithValueType(ParameterValueType&& value) { SetValueType(std::move(value)); return *this;}
60
62
65 inline const ParameterValue& GetValue() const{ return m_value; }
66 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
67 inline void SetValue(const ParameterValue& value) { m_valueHasBeenSet = true; m_value = value; }
68 inline void SetValue(ParameterValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
69 inline ParameterConfiguration& WithValue(const ParameterValue& value) { SetValue(value); return *this;}
70 inline ParameterConfiguration& WithValue(ParameterValue&& value) { SetValue(std::move(value)); return *this;}
72 private:
73
74 ParameterValueType m_valueType;
75 bool m_valueTypeHasBeenSet = false;
76
77 ParameterValue m_value;
78 bool m_valueHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SecurityHub
83} // namespace Aws
ParameterConfiguration & WithValueType(ParameterValueType &&value)
void SetValueType(const ParameterValueType &value)
AWS_SECURITYHUB_API ParameterConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ParameterConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ParameterConfiguration & WithValue(const ParameterValue &value)
ParameterConfiguration & WithValueType(const ParameterValueType &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ParameterConfiguration & WithValue(ParameterValue &&value)
Aws::Utils::Json::JsonValue JsonValue