AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Output.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
31 class Output
32 {
33 public:
34 AWS_CLOUDFORMATION_API Output() = default;
35 AWS_CLOUDFORMATION_API Output(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_CLOUDFORMATION_API Output& 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& GetOutputKey() const { return m_outputKey; }
47 inline bool OutputKeyHasBeenSet() const { return m_outputKeyHasBeenSet; }
48 template<typename OutputKeyT = Aws::String>
49 void SetOutputKey(OutputKeyT&& value) { m_outputKeyHasBeenSet = true; m_outputKey = std::forward<OutputKeyT>(value); }
50 template<typename OutputKeyT = Aws::String>
51 Output& WithOutputKey(OutputKeyT&& value) { SetOutputKey(std::forward<OutputKeyT>(value)); return *this;}
53
55
58 inline const Aws::String& GetOutputValue() const { return m_outputValue; }
59 inline bool OutputValueHasBeenSet() const { return m_outputValueHasBeenSet; }
60 template<typename OutputValueT = Aws::String>
61 void SetOutputValue(OutputValueT&& value) { m_outputValueHasBeenSet = true; m_outputValue = std::forward<OutputValueT>(value); }
62 template<typename OutputValueT = Aws::String>
63 Output& WithOutputValue(OutputValueT&& value) { SetOutputValue(std::forward<OutputValueT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 Output& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetExportName() const { return m_exportName; }
83 inline bool ExportNameHasBeenSet() const { return m_exportNameHasBeenSet; }
84 template<typename ExportNameT = Aws::String>
85 void SetExportName(ExportNameT&& value) { m_exportNameHasBeenSet = true; m_exportName = std::forward<ExportNameT>(value); }
86 template<typename ExportNameT = Aws::String>
87 Output& WithExportName(ExportNameT&& value) { SetExportName(std::forward<ExportNameT>(value)); return *this;}
89 private:
90
91 Aws::String m_outputKey;
92 bool m_outputKeyHasBeenSet = false;
93
94 Aws::String m_outputValue;
95 bool m_outputValueHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::String m_exportName;
101 bool m_exportNameHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CloudFormation
106} // namespace Aws
AWS_CLOUDFORMATION_API Output(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExportName(ExportNameT &&value)
Definition Output.h:85
void SetOutputKey(OutputKeyT &&value)
Definition Output.h:49
AWS_CLOUDFORMATION_API Output & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API Output()=default
const Aws::String & GetOutputKey() const
Definition Output.h:46
const Aws::String & GetExportName() const
Definition Output.h:82
Output & WithDescription(DescriptionT &&value)
Definition Output.h:75
Output & WithExportName(ExportNameT &&value)
Definition Output.h:87
const Aws::String & GetOutputValue() const
Definition Output.h:58
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Output & WithOutputValue(OutputValueT &&value)
Definition Output.h:63
void SetOutputValue(OutputValueT &&value)
Definition Output.h:61
void SetDescription(DescriptionT &&value)
Definition Output.h:73
Output & WithOutputKey(OutputKeyT &&value)
Definition Output.h:51
const Aws::String & GetDescription() const
Definition Output.h:70
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream