AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DynamicSsmParameterValue.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/model/VariableType.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 SSMIncidents
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SSMINCIDENTS_API DynamicSsmParameterValue();
37 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const VariableType& GetVariable() const{ return m_variable; }
46 inline bool VariableHasBeenSet() const { return m_variableHasBeenSet; }
47 inline void SetVariable(const VariableType& value) { m_variableHasBeenSet = true; m_variable = value; }
48 inline void SetVariable(VariableType&& value) { m_variableHasBeenSet = true; m_variable = std::move(value); }
49 inline DynamicSsmParameterValue& WithVariable(const VariableType& value) { SetVariable(value); return *this;}
50 inline DynamicSsmParameterValue& WithVariable(VariableType&& value) { SetVariable(std::move(value)); return *this;}
52 private:
53
54 VariableType m_variable;
55 bool m_variableHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace SSMIncidents
60} // namespace Aws
AWS_SSMINCIDENTS_API DynamicSsmParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
DynamicSsmParameterValue & WithVariable(VariableType &&value)
AWS_SSMINCIDENTS_API DynamicSsmParameterValue(Aws::Utils::Json::JsonView jsonValue)
DynamicSsmParameterValue & WithVariable(const VariableType &value)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue