AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DocumentParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DocumentParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DocumentParameter& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const DocumentParameterType& GetType() const{ return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(const DocumentParameterType& value) { m_typeHasBeenSet = true; m_type = value; }
63 inline void SetType(DocumentParameterType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
64 inline DocumentParameter& WithType(const DocumentParameterType& value) { SetType(value); return *this;}
65 inline DocumentParameter& WithType(DocumentParameterType&& value) { SetType(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline DocumentParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline DocumentParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline DocumentParameter& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
88 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
89 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
90 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
91 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
92 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
93 inline DocumentParameter& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
94 inline DocumentParameter& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
95 inline DocumentParameter& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
103 bool m_typeHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107
108 Aws::String m_defaultValue;
109 bool m_defaultValueHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SSM
114} // namespace Aws
const Aws::String & GetDescription() const
void SetDefaultValue(const char *value)
void SetName(const Aws::String &value)
DocumentParameter & WithDescription(Aws::String &&value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
DocumentParameter & WithName(Aws::String &&value)
DocumentParameter & WithDefaultValue(const char *value)
void SetDescription(const Aws::String &value)
void SetType(const DocumentParameterType &value)
AWS_SSM_API DocumentParameter(Aws::Utils::Json::JsonView jsonValue)
DocumentParameter & WithName(const char *value)
void SetDescription(Aws::String &&value)
DocumentParameter & WithDefaultValue(const Aws::String &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
DocumentParameter & WithDefaultValue(Aws::String &&value)
void SetDefaultValue(Aws::String &&value)
AWS_SSM_API DocumentParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
DocumentParameter & WithType(DocumentParameterType &&value)
const DocumentParameterType & GetType() const
DocumentParameter & WithType(const DocumentParameterType &value)
const Aws::String & GetDefaultValue() const
DocumentParameter & WithDescription(const Aws::String &value)
DocumentParameter & WithName(const Aws::String &value)
DocumentParameter & WithDescription(const char *value)
void SetDefaultValue(const Aws::String &value)
void SetType(DocumentParameterType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue