AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DocumentParameter.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/DocumentParameterType.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 SSM
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSM_API DocumentParameter() = default;
40
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 DocumentParameter& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline DocumentParameterType GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(DocumentParameterType value) { m_typeHasBeenSet = true; m_type = value; }
61 inline DocumentParameter& WithType(DocumentParameterType value) { SetType(value); return *this;}
63
65
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 DocumentParameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
82 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
83 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
84 template<typename DefaultValueT = Aws::String>
85 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
86 template<typename DefaultValueT = Aws::String>
87 DocumentParameter& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
89 private:
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
95 bool m_typeHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::String m_defaultValue;
101 bool m_defaultValueHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SSM
106} // namespace Aws
const Aws::String & GetDescription() const
DocumentParameter & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
void SetDefaultValue(DefaultValueT &&value)
AWS_SSM_API DocumentParameter(Aws::Utils::Json::JsonView jsonValue)
DocumentParameter & WithName(NameT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API DocumentParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(DocumentParameterType value)
DocumentParameter & WithDefaultValue(DefaultValueT &&value)
DocumentParameter & WithType(DocumentParameterType value)
AWS_SSM_API DocumentParameter()=default
const Aws::String & GetDefaultValue() const
DocumentParameterType GetType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue