AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTemplateResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudformation/model/ResponseMetadata.h>
11#include <aws/cloudformation/model/TemplateStage.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace CloudFormation
27{
28namespace Model
29{
36 {
37 public:
38 AWS_CLOUDFORMATION_API GetTemplateResult();
41
42
44
48 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
49 inline void SetTemplateBody(const Aws::String& value) { m_templateBody = value; }
50 inline void SetTemplateBody(Aws::String&& value) { m_templateBody = std::move(value); }
51 inline void SetTemplateBody(const char* value) { m_templateBody.assign(value); }
52 inline GetTemplateResult& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
53 inline GetTemplateResult& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
54 inline GetTemplateResult& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
56
58
65 inline const Aws::Vector<TemplateStage>& GetStagesAvailable() const{ return m_stagesAvailable; }
66 inline void SetStagesAvailable(const Aws::Vector<TemplateStage>& value) { m_stagesAvailable = value; }
67 inline void SetStagesAvailable(Aws::Vector<TemplateStage>&& value) { m_stagesAvailable = std::move(value); }
69 inline GetTemplateResult& WithStagesAvailable(Aws::Vector<TemplateStage>&& value) { SetStagesAvailable(std::move(value)); return *this;}
70 inline GetTemplateResult& AddStagesAvailable(const TemplateStage& value) { m_stagesAvailable.push_back(value); return *this; }
71 inline GetTemplateResult& AddStagesAvailable(TemplateStage&& value) { m_stagesAvailable.push_back(std::move(value)); return *this; }
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
77 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
79 inline GetTemplateResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
80 inline GetTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_templateBody;
85
86 Aws::Vector<TemplateStage> m_stagesAvailable;
87
88 ResponseMetadata m_responseMetadata;
89 };
90
91} // namespace Model
92} // namespace CloudFormation
93} // namespace Aws
GetTemplateResult & WithTemplateBody(const char *value)
AWS_CLOUDFORMATION_API GetTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetTemplateResult & WithResponseMetadata(ResponseMetadata &&value)
GetTemplateResult & WithTemplateBody(Aws::String &&value)
const Aws::Vector< TemplateStage > & GetStagesAvailable() const
void SetResponseMetadata(ResponseMetadata &&value)
GetTemplateResult & WithResponseMetadata(const ResponseMetadata &value)
GetTemplateResult & WithStagesAvailable(const Aws::Vector< TemplateStage > &value)
void SetResponseMetadata(const ResponseMetadata &value)
GetTemplateResult & WithStagesAvailable(Aws::Vector< TemplateStage > &&value)
void SetTemplateBody(const Aws::String &value)
void SetStagesAvailable(const Aws::Vector< TemplateStage > &value)
GetTemplateResult & AddStagesAvailable(const TemplateStage &value)
void SetStagesAvailable(Aws::Vector< TemplateStage > &&value)
AWS_CLOUDFORMATION_API GetTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetTemplateResult & WithTemplateBody(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
GetTemplateResult & AddStagesAvailable(TemplateStage &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument