AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGeneratedTemplateResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/model/GeneratedTemplateStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace CloudFormation
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDFORMATION_API GetGeneratedTemplateResult();
35
36
38
51 inline const GeneratedTemplateStatus& GetStatus() const{ return m_status; }
52 inline void SetStatus(const GeneratedTemplateStatus& value) { m_status = value; }
53 inline void SetStatus(GeneratedTemplateStatus&& value) { m_status = std::move(value); }
54 inline GetGeneratedTemplateResult& WithStatus(const GeneratedTemplateStatus& value) { SetStatus(value); return *this;}
55 inline GetGeneratedTemplateResult& WithStatus(GeneratedTemplateStatus&& value) { SetStatus(std::move(value)); return *this;}
57
59
63 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
64 inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
65 inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
66 inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
67 inline GetGeneratedTemplateResult& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
68 inline GetGeneratedTemplateResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
69 inline GetGeneratedTemplateResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
71
73
74 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
76 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
78 inline GetGeneratedTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
80 private:
81
83
84 Aws::String m_templateBody;
85
86 ResponseMetadata m_responseMetadata;
87 };
88
89} // namespace Model
90} // namespace CloudFormation
91} // namespace Aws
AWS_CLOUDFORMATION_API GetGeneratedTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetGeneratedTemplateResult & WithTemplateBody(const char *value)
GetGeneratedTemplateResult & WithStatus(GeneratedTemplateStatus &&value)
GetGeneratedTemplateResult & WithTemplateBody(Aws::String &&value)
GetGeneratedTemplateResult & WithTemplateBody(const Aws::String &value)
GetGeneratedTemplateResult & WithResponseMetadata(const ResponseMetadata &value)
GetGeneratedTemplateResult & WithStatus(const GeneratedTemplateStatus &value)
GetGeneratedTemplateResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_CLOUDFORMATION_API GetGeneratedTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument