AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExportingStackId(const Aws::String& value) { m_exportingStackIdHasBeenSet = true; m_exportingStackId = value; }
50 inline void SetExportingStackId(Aws::String&& value) { m_exportingStackIdHasBeenSet = true; m_exportingStackId = std::move(value); }
51 inline void SetExportingStackId(const char* value) { m_exportingStackIdHasBeenSet = true; m_exportingStackId.assign(value); }
52 inline Export& WithExportingStackId(const Aws::String& value) { SetExportingStackId(value); return *this;}
53 inline Export& WithExportingStackId(Aws::String&& value) { SetExportingStackId(std::move(value)); return *this;}
54 inline Export& WithExportingStackId(const char* value) { SetExportingStackId(value); return *this;}
56
58
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline Export& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline Export& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline Export& WithName(const char* value) { SetName(value); return *this;}
73
75
80 inline const Aws::String& GetValue() const{ return m_value; }
81 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
82 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
83 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
84 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
85 inline Export& WithValue(const Aws::String& value) { SetValue(value); return *this;}
86 inline Export& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
87 inline Export& WithValue(const char* value) { SetValue(value); return *this;}
89 private:
90
91 Aws::String m_exportingStackId;
92 bool m_exportingStackIdHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_value;
98 bool m_valueHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CloudFormation
103} // namespace Aws
const Aws::String & GetExportingStackId() const
Definition Export.h:47
AWS_CLOUDFORMATION_API Export(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API Export()
void SetName(const char *value)
Definition Export.h:68
Export & WithExportingStackId(const char *value)
Definition Export.h:54
void SetName(Aws::String &&value)
Definition Export.h:67
AWS_CLOUDFORMATION_API Export & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(const Aws::String &value)
Definition Export.h:66
void SetExportingStackId(const char *value)
Definition Export.h:51
bool ExportingStackIdHasBeenSet() const
Definition Export.h:48
Export & WithValue(const Aws::String &value)
Definition Export.h:85
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Export & WithName(Aws::String &&value)
Definition Export.h:70
const Aws::String & GetName() const
Definition Export.h:64
Export & WithName(const char *value)
Definition Export.h:71
const Aws::String & GetValue() const
Definition Export.h:80
void SetValue(const char *value)
Definition Export.h:84
void SetExportingStackId(Aws::String &&value)
Definition Export.h:50
Export & WithName(const Aws::String &value)
Definition Export.h:69
Export & WithValue(Aws::String &&value)
Definition Export.h:86
Export & WithExportingStackId(Aws::String &&value)
Definition Export.h:53
Export & WithExportingStackId(const Aws::String &value)
Definition Export.h:52
Export & WithValue(const char *value)
Definition Export.h:87
void SetValue(Aws::String &&value)
Definition Export.h:83
void SetValue(const Aws::String &value)
Definition Export.h:82
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetExportingStackId(const Aws::String &value)
Definition Export.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream