AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ParameterDeclaration.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/ParameterConstraints.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFormation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLOUDFORMATION_API ParameterDeclaration();
36 AWS_CLOUDFORMATION_API ParameterDeclaration(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFORMATION_API ParameterDeclaration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetParameterKey() const{ return m_parameterKey; }
48 inline bool ParameterKeyHasBeenSet() const { return m_parameterKeyHasBeenSet; }
49 inline void SetParameterKey(const Aws::String& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = value; }
50 inline void SetParameterKey(Aws::String&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = std::move(value); }
51 inline void SetParameterKey(const char* value) { m_parameterKeyHasBeenSet = true; m_parameterKey.assign(value); }
52 inline ParameterDeclaration& WithParameterKey(const Aws::String& value) { SetParameterKey(value); return *this;}
53 inline ParameterDeclaration& WithParameterKey(Aws::String&& value) { SetParameterKey(std::move(value)); return *this;}
54 inline ParameterDeclaration& WithParameterKey(const char* value) { SetParameterKey(value); return *this;}
56
58
61 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
62 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
63 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
64 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
65 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
66 inline ParameterDeclaration& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
67 inline ParameterDeclaration& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
68 inline ParameterDeclaration& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
70
72
75 inline const Aws::String& GetParameterType() const{ return m_parameterType; }
76 inline bool ParameterTypeHasBeenSet() const { return m_parameterTypeHasBeenSet; }
77 inline void SetParameterType(const Aws::String& value) { m_parameterTypeHasBeenSet = true; m_parameterType = value; }
78 inline void SetParameterType(Aws::String&& value) { m_parameterTypeHasBeenSet = true; m_parameterType = std::move(value); }
79 inline void SetParameterType(const char* value) { m_parameterTypeHasBeenSet = true; m_parameterType.assign(value); }
80 inline ParameterDeclaration& WithParameterType(const Aws::String& value) { SetParameterType(value); return *this;}
81 inline ParameterDeclaration& WithParameterType(Aws::String&& value) { SetParameterType(std::move(value)); return *this;}
82 inline ParameterDeclaration& WithParameterType(const char* value) { SetParameterType(value); return *this;}
84
86
90 inline bool GetNoEcho() const{ return m_noEcho; }
91 inline bool NoEchoHasBeenSet() const { return m_noEchoHasBeenSet; }
92 inline void SetNoEcho(bool value) { m_noEchoHasBeenSet = true; m_noEcho = value; }
93 inline ParameterDeclaration& WithNoEcho(bool value) { SetNoEcho(value); return *this;}
95
97
100 inline const Aws::String& GetDescription() const{ return m_description; }
101 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
102 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
103 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 inline ParameterDeclaration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 inline ParameterDeclaration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 inline ParameterDeclaration& WithDescription(const char* value) { SetDescription(value); return *this;}
109
111
114 inline const ParameterConstraints& GetParameterConstraints() const{ return m_parameterConstraints; }
115 inline bool ParameterConstraintsHasBeenSet() const { return m_parameterConstraintsHasBeenSet; }
116 inline void SetParameterConstraints(const ParameterConstraints& value) { m_parameterConstraintsHasBeenSet = true; m_parameterConstraints = value; }
117 inline void SetParameterConstraints(ParameterConstraints&& value) { m_parameterConstraintsHasBeenSet = true; m_parameterConstraints = std::move(value); }
121 private:
122
123 Aws::String m_parameterKey;
124 bool m_parameterKeyHasBeenSet = false;
125
126 Aws::String m_defaultValue;
127 bool m_defaultValueHasBeenSet = false;
128
129 Aws::String m_parameterType;
130 bool m_parameterTypeHasBeenSet = false;
131
132 bool m_noEcho;
133 bool m_noEchoHasBeenSet = false;
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
138 ParameterConstraints m_parameterConstraints;
139 bool m_parameterConstraintsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace CloudFormation
144} // namespace Aws
ParameterDeclaration & WithDescription(const Aws::String &value)
ParameterDeclaration & WithDescription(const char *value)
ParameterDeclaration & WithParameterType(Aws::String &&value)
ParameterDeclaration & WithParameterType(const Aws::String &value)
AWS_CLOUDFORMATION_API ParameterDeclaration(const Aws::Utils::Xml::XmlNode &xmlNode)
ParameterDeclaration & WithParameterKey(const char *value)
ParameterDeclaration & WithDefaultValue(const char *value)
ParameterDeclaration & WithParameterConstraints(ParameterConstraints &&value)
ParameterDeclaration & WithDefaultValue(const Aws::String &value)
ParameterDeclaration & WithParameterType(const char *value)
void SetParameterConstraints(const ParameterConstraints &value)
ParameterDeclaration & WithParameterKey(Aws::String &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ParameterDeclaration & WithParameterKey(const Aws::String &value)
ParameterDeclaration & WithParameterConstraints(const ParameterConstraints &value)
ParameterDeclaration & WithDefaultValue(Aws::String &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const ParameterConstraints & GetParameterConstraints() const
void SetParameterConstraints(ParameterConstraints &&value)
ParameterDeclaration & WithDescription(Aws::String &&value)
AWS_CLOUDFORMATION_API ParameterDeclaration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream