AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Export.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 class Export
33 {
34 public:
35 AWS_CLOUDFORMATION_API Export() = default;
36 AWS_CLOUDFORMATION_API Export(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFORMATION_API Export& 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& GetExportingStackId() const { return m_exportingStackId; }
48 inline bool ExportingStackIdHasBeenSet() const { return m_exportingStackIdHasBeenSet; }
49 template<typename ExportingStackIdT = Aws::String>
50 void SetExportingStackId(ExportingStackIdT&& value) { m_exportingStackIdHasBeenSet = true; m_exportingStackId = std::forward<ExportingStackIdT>(value); }
51 template<typename ExportingStackIdT = Aws::String>
52 Export& WithExportingStackId(ExportingStackIdT&& value) { SetExportingStackId(std::forward<ExportingStackIdT>(value)); return *this;}
54
56
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template<typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 Export& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
76 inline const Aws::String& GetValue() const { return m_value; }
77 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
78 template<typename ValueT = Aws::String>
79 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
80 template<typename ValueT = Aws::String>
81 Export& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
83 private:
84
85 Aws::String m_exportingStackId;
86 bool m_exportingStackIdHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 Aws::String m_value;
92 bool m_valueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CloudFormation
97} // namespace Aws
const Aws::String & GetExportingStackId() const
Definition Export.h:47
AWS_CLOUDFORMATION_API Export(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(NameT &&value)
Definition Export.h:65
Export & WithExportingStackId(ExportingStackIdT &&value)
Definition Export.h:52
Export & WithValue(ValueT &&value)
Definition Export.h:81
AWS_CLOUDFORMATION_API Export & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API Export()=default
bool ExportingStackIdHasBeenSet() const
Definition Export.h:48
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetName() const
Definition Export.h:62
const Aws::String & GetValue() const
Definition Export.h:76
Export & WithName(NameT &&value)
Definition Export.h:67
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetExportingStackId(ExportingStackIdT &&value)
Definition Export.h:50
void SetValue(ValueT &&value)
Definition Export.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream