AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TemplateParameter.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFormation
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CLOUDFORMATION_API TemplateParameter() = default;
35 AWS_CLOUDFORMATION_API TemplateParameter(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFORMATION_API TemplateParameter& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetParameterKey() const { return m_parameterKey; }
47 inline bool ParameterKeyHasBeenSet() const { return m_parameterKeyHasBeenSet; }
48 template<typename ParameterKeyT = Aws::String>
49 void SetParameterKey(ParameterKeyT&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = std::forward<ParameterKeyT>(value); }
50 template<typename ParameterKeyT = Aws::String>
51 TemplateParameter& WithParameterKey(ParameterKeyT&& value) { SetParameterKey(std::forward<ParameterKeyT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDefaultValue() const { return m_defaultValue; }
59 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
60 template<typename DefaultValueT = Aws::String>
61 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::forward<DefaultValueT>(value); }
62 template<typename DefaultValueT = Aws::String>
63 TemplateParameter& WithDefaultValue(DefaultValueT&& value) { SetDefaultValue(std::forward<DefaultValueT>(value)); return *this;}
65
67
71 inline bool GetNoEcho() const { return m_noEcho; }
72 inline bool NoEchoHasBeenSet() const { return m_noEchoHasBeenSet; }
73 inline void SetNoEcho(bool value) { m_noEchoHasBeenSet = true; m_noEcho = value; }
74 inline TemplateParameter& WithNoEcho(bool value) { SetNoEcho(value); return *this;}
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template<typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
85 template<typename DescriptionT = Aws::String>
86 TemplateParameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
88 private:
89
90 Aws::String m_parameterKey;
91 bool m_parameterKeyHasBeenSet = false;
92
93 Aws::String m_defaultValue;
94 bool m_defaultValueHasBeenSet = false;
95
96 bool m_noEcho{false};
97 bool m_noEchoHasBeenSet = false;
98
99 Aws::String m_description;
100 bool m_descriptionHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace CloudFormation
105} // namespace Aws
TemplateParameter & WithDefaultValue(DefaultValueT &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDFORMATION_API TemplateParameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API TemplateParameter(const Aws::Utils::Xml::XmlNode &xmlNode)
TemplateParameter & WithParameterKey(ParameterKeyT &&value)
AWS_CLOUDFORMATION_API TemplateParameter()=default
TemplateParameter & WithNoEcho(bool value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TemplateParameter & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream