AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemediationParameterValue.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ResourceValue.h>
9#include <aws/config/model/StaticValue.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 ConfigService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONFIGSERVICE_API RemediationParameterValue();
37 AWS_CONFIGSERVICE_API RemediationParameterValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ResourceValue& GetResourceValue() const{ return m_resourceValue; }
47 inline bool ResourceValueHasBeenSet() const { return m_resourceValueHasBeenSet; }
48 inline void SetResourceValue(const ResourceValue& value) { m_resourceValueHasBeenSet = true; m_resourceValue = value; }
49 inline void SetResourceValue(ResourceValue&& value) { m_resourceValueHasBeenSet = true; m_resourceValue = std::move(value); }
50 inline RemediationParameterValue& WithResourceValue(const ResourceValue& value) { SetResourceValue(value); return *this;}
51 inline RemediationParameterValue& WithResourceValue(ResourceValue&& value) { SetResourceValue(std::move(value)); return *this;}
53
55
58 inline const StaticValue& GetStaticValue() const{ return m_staticValue; }
59 inline bool StaticValueHasBeenSet() const { return m_staticValueHasBeenSet; }
60 inline void SetStaticValue(const StaticValue& value) { m_staticValueHasBeenSet = true; m_staticValue = value; }
61 inline void SetStaticValue(StaticValue&& value) { m_staticValueHasBeenSet = true; m_staticValue = std::move(value); }
62 inline RemediationParameterValue& WithStaticValue(const StaticValue& value) { SetStaticValue(value); return *this;}
63 inline RemediationParameterValue& WithStaticValue(StaticValue&& value) { SetStaticValue(std::move(value)); return *this;}
65 private:
66
67 ResourceValue m_resourceValue;
68 bool m_resourceValueHasBeenSet = false;
69
70 StaticValue m_staticValue;
71 bool m_staticValueHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ConfigService
76} // namespace Aws
RemediationParameterValue & WithStaticValue(StaticValue &&value)
AWS_CONFIGSERVICE_API RemediationParameterValue(Aws::Utils::Json::JsonView jsonValue)
RemediationParameterValue & WithStaticValue(const StaticValue &value)
RemediationParameterValue & WithResourceValue(ResourceValue &&value)
RemediationParameterValue & WithResourceValue(const ResourceValue &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API RemediationParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue