AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetParameterKey(const Aws::String& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = value; }
49 inline void SetParameterKey(Aws::String&& value) { m_parameterKeyHasBeenSet = true; m_parameterKey = std::move(value); }
50 inline void SetParameterKey(const char* value) { m_parameterKeyHasBeenSet = true; m_parameterKey.assign(value); }
51 inline TemplateParameter& WithParameterKey(const Aws::String& value) { SetParameterKey(value); return *this;}
52 inline TemplateParameter& WithParameterKey(Aws::String&& value) { SetParameterKey(std::move(value)); return *this;}
53 inline TemplateParameter& WithParameterKey(const char* value) { SetParameterKey(value); return *this;}
55
57
60 inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; }
61 inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; }
62 inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; }
63 inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); }
64 inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); }
65 inline TemplateParameter& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;}
66 inline TemplateParameter& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;}
67 inline TemplateParameter& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;}
69
71
75 inline bool GetNoEcho() const{ return m_noEcho; }
76 inline bool NoEchoHasBeenSet() const { return m_noEchoHasBeenSet; }
77 inline void SetNoEcho(bool value) { m_noEchoHasBeenSet = true; m_noEcho = value; }
78 inline TemplateParameter& WithNoEcho(bool value) { SetNoEcho(value); return *this;}
80
82
85 inline const Aws::String& GetDescription() const{ return m_description; }
86 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
88 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
89 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline TemplateParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
91 inline TemplateParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
92 inline TemplateParameter& WithDescription(const char* value) { SetDescription(value); return *this;}
94 private:
95
96 Aws::String m_parameterKey;
97 bool m_parameterKeyHasBeenSet = false;
98
99 Aws::String m_defaultValue;
100 bool m_defaultValueHasBeenSet = false;
101
102 bool m_noEcho;
103 bool m_noEchoHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudFormation
111} // namespace Aws
void SetParameterKey(const Aws::String &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDescription(const Aws::String &value)
TemplateParameter & WithParameterKey(const char *value)
AWS_CLOUDFORMATION_API TemplateParameter & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDefaultValue(const Aws::String &value)
TemplateParameter & WithDescription(const char *value)
TemplateParameter & WithDescription(Aws::String &&value)
AWS_CLOUDFORMATION_API TemplateParameter(const Aws::Utils::Xml::XmlNode &xmlNode)
TemplateParameter & WithParameterKey(Aws::String &&value)
TemplateParameter & WithParameterKey(const Aws::String &value)
TemplateParameter & WithDefaultValue(Aws::String &&value)
TemplateParameter & WithDescription(const Aws::String &value)
TemplateParameter & WithDefaultValue(const Aws::String &value)
TemplateParameter & WithNoEcho(bool value)
TemplateParameter & WithDefaultValue(const char *value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream