AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetOutputKey(const Aws::String& value) { m_outputKeyHasBeenSet = true; m_outputKey = value; }
49 inline void SetOutputKey(Aws::String&& value) { m_outputKeyHasBeenSet = true; m_outputKey = std::move(value); }
50 inline void SetOutputKey(const char* value) { m_outputKeyHasBeenSet = true; m_outputKey.assign(value); }
51 inline Output& WithOutputKey(const Aws::String& value) { SetOutputKey(value); return *this;}
52 inline Output& WithOutputKey(Aws::String&& value) { SetOutputKey(std::move(value)); return *this;}
53 inline Output& WithOutputKey(const char* value) { SetOutputKey(value); return *this;}
55
57
60 inline const Aws::String& GetOutputValue() const{ return m_outputValue; }
61 inline bool OutputValueHasBeenSet() const { return m_outputValueHasBeenSet; }
62 inline void SetOutputValue(const Aws::String& value) { m_outputValueHasBeenSet = true; m_outputValue = value; }
63 inline void SetOutputValue(Aws::String&& value) { m_outputValueHasBeenSet = true; m_outputValue = std::move(value); }
64 inline void SetOutputValue(const char* value) { m_outputValueHasBeenSet = true; m_outputValue.assign(value); }
65 inline Output& WithOutputValue(const Aws::String& value) { SetOutputValue(value); return *this;}
66 inline Output& WithOutputValue(Aws::String&& value) { SetOutputValue(std::move(value)); return *this;}
67 inline Output& WithOutputValue(const char* value) { SetOutputValue(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline Output& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline Output& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline Output& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetExportName() const{ return m_exportName; }
89 inline bool ExportNameHasBeenSet() const { return m_exportNameHasBeenSet; }
90 inline void SetExportName(const Aws::String& value) { m_exportNameHasBeenSet = true; m_exportName = value; }
91 inline void SetExportName(Aws::String&& value) { m_exportNameHasBeenSet = true; m_exportName = std::move(value); }
92 inline void SetExportName(const char* value) { m_exportNameHasBeenSet = true; m_exportName.assign(value); }
93 inline Output& WithExportName(const Aws::String& value) { SetExportName(value); return *this;}
94 inline Output& WithExportName(Aws::String&& value) { SetExportName(std::move(value)); return *this;}
95 inline Output& WithExportName(const char* value) { SetExportName(value); return *this;}
97 private:
98
99 Aws::String m_outputKey;
100 bool m_outputKeyHasBeenSet = false;
101
102 Aws::String m_outputValue;
103 bool m_outputValueHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107
108 Aws::String m_exportName;
109 bool m_exportNameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CloudFormation
114} // namespace Aws
void SetOutputKey(const Aws::String &value)
Definition Output.h:48
AWS_CLOUDFORMATION_API Output(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(const char *value)
Definition Output.h:78
Output & WithOutputKey(Aws::String &&value)
Definition Output.h:52
Output & WithDescription(Aws::String &&value)
Definition Output.h:80
Output & WithOutputKey(const Aws::String &value)
Definition Output.h:51
void SetOutputValue(const char *value)
Definition Output.h:64
AWS_CLOUDFORMATION_API Output & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExportName(Aws::String &&value)
Definition Output.h:91
void SetDescription(const Aws::String &value)
Definition Output.h:76
const Aws::String & GetOutputKey() const
Definition Output.h:46
Output & WithOutputValue(Aws::String &&value)
Definition Output.h:66
const Aws::String & GetExportName() const
Definition Output.h:88
Output & WithExportName(Aws::String &&value)
Definition Output.h:94
void SetOutputKey(Aws::String &&value)
Definition Output.h:49
Output & WithOutputValue(const Aws::String &value)
Definition Output.h:65
void SetExportName(const Aws::String &value)
Definition Output.h:90
void SetDescription(Aws::String &&value)
Definition Output.h:77
Output & WithDescription(const Aws::String &value)
Definition Output.h:79
Output & WithExportName(const char *value)
Definition Output.h:95
const Aws::String & GetOutputValue() const
Definition Output.h:60
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Output & WithExportName(const Aws::String &value)
Definition Output.h:93
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Output & WithOutputValue(const char *value)
Definition Output.h:67
void SetExportName(const char *value)
Definition Output.h:92
void SetOutputValue(const Aws::String &value)
Definition Output.h:62
AWS_CLOUDFORMATION_API Output()
const Aws::String & GetDescription() const
Definition Output.h:74
Output & WithOutputKey(const char *value)
Definition Output.h:53
Output & WithDescription(const char *value)
Definition Output.h:81
void SetOutputKey(const char *value)
Definition Output.h:50
void SetOutputValue(Aws::String &&value)
Definition Output.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream