AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidateTemplateResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/ResponseMetadata.h>
11#include <aws/cloudformation/model/TemplateParameter.h>
12#include <aws/cloudformation/model/Capability.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace CloudFormation
28{
29namespace Model
30{
37 {
38 public:
39 AWS_CLOUDFORMATION_API ValidateTemplateResult();
42
43
45
48 inline const Aws::Vector<TemplateParameter>& GetParameters() const{ return m_parameters; }
49 inline void SetParameters(const Aws::Vector<TemplateParameter>& value) { m_parameters = value; }
50 inline void SetParameters(Aws::Vector<TemplateParameter>&& value) { m_parameters = std::move(value); }
52 inline ValidateTemplateResult& WithParameters(Aws::Vector<TemplateParameter>&& value) { SetParameters(std::move(value)); return *this;}
53 inline ValidateTemplateResult& AddParameters(const TemplateParameter& value) { m_parameters.push_back(value); return *this; }
54 inline ValidateTemplateResult& AddParameters(TemplateParameter&& value) { m_parameters.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline void SetDescription(const Aws::String& value) { m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_description.assign(value); }
65 inline ValidateTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline ValidateTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline ValidateTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
80 inline const Aws::Vector<Capability>& GetCapabilities() const{ return m_capabilities; }
81 inline void SetCapabilities(const Aws::Vector<Capability>& value) { m_capabilities = value; }
82 inline void SetCapabilities(Aws::Vector<Capability>&& value) { m_capabilities = std::move(value); }
84 inline ValidateTemplateResult& WithCapabilities(Aws::Vector<Capability>&& value) { SetCapabilities(std::move(value)); return *this;}
85 inline ValidateTemplateResult& AddCapabilities(const Capability& value) { m_capabilities.push_back(value); return *this; }
86 inline ValidateTemplateResult& AddCapabilities(Capability&& value) { m_capabilities.push_back(std::move(value)); return *this; }
88
90
94 inline const Aws::String& GetCapabilitiesReason() const{ return m_capabilitiesReason; }
95 inline void SetCapabilitiesReason(const Aws::String& value) { m_capabilitiesReason = value; }
96 inline void SetCapabilitiesReason(Aws::String&& value) { m_capabilitiesReason = std::move(value); }
97 inline void SetCapabilitiesReason(const char* value) { m_capabilitiesReason.assign(value); }
99 inline ValidateTemplateResult& WithCapabilitiesReason(Aws::String&& value) { SetCapabilitiesReason(std::move(value)); return *this;}
100 inline ValidateTemplateResult& WithCapabilitiesReason(const char* value) { SetCapabilitiesReason(value); return *this;}
102
104
107 inline const Aws::Vector<Aws::String>& GetDeclaredTransforms() const{ return m_declaredTransforms; }
108 inline void SetDeclaredTransforms(const Aws::Vector<Aws::String>& value) { m_declaredTransforms = value; }
109 inline void SetDeclaredTransforms(Aws::Vector<Aws::String>&& value) { m_declaredTransforms = std::move(value); }
112 inline ValidateTemplateResult& AddDeclaredTransforms(const Aws::String& value) { m_declaredTransforms.push_back(value); return *this; }
113 inline ValidateTemplateResult& AddDeclaredTransforms(Aws::String&& value) { m_declaredTransforms.push_back(std::move(value)); return *this; }
114 inline ValidateTemplateResult& AddDeclaredTransforms(const char* value) { m_declaredTransforms.push_back(value); return *this; }
116
118
119 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
120 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
121 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
123 inline ValidateTemplateResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
125 private:
126
128
129 Aws::String m_description;
130
131 Aws::Vector<Capability> m_capabilities;
132
133 Aws::String m_capabilitiesReason;
134
135 Aws::Vector<Aws::String> m_declaredTransforms;
136
137 ResponseMetadata m_responseMetadata;
138 };
139
140} // namespace Model
141} // namespace CloudFormation
142} // namespace Aws
ValidateTemplateResult & AddDeclaredTransforms(const char *value)
ValidateTemplateResult & WithCapabilities(Aws::Vector< Capability > &&value)
ValidateTemplateResult & AddParameters(TemplateParameter &&value)
ValidateTemplateResult & WithParameters(const Aws::Vector< TemplateParameter > &value)
AWS_CLOUDFORMATION_API ValidateTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFORMATION_API ValidateTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetParameters(Aws::Vector< TemplateParameter > &&value)
void SetCapabilities(const Aws::Vector< Capability > &value)
void SetResponseMetadata(const ResponseMetadata &value)
ValidateTemplateResult & WithCapabilities(const Aws::Vector< Capability > &value)
void SetDeclaredTransforms(Aws::Vector< Aws::String > &&value)
ValidateTemplateResult & WithResponseMetadata(ResponseMetadata &&value)
ValidateTemplateResult & AddCapabilities(const Capability &value)
void SetCapabilities(Aws::Vector< Capability > &&value)
ValidateTemplateResult & WithDescription(const char *value)
ValidateTemplateResult & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< Capability > & GetCapabilities() const
ValidateTemplateResult & AddCapabilities(Capability &&value)
ValidateTemplateResult & WithCapabilitiesReason(Aws::String &&value)
ValidateTemplateResult & WithParameters(Aws::Vector< TemplateParameter > &&value)
ValidateTemplateResult & AddDeclaredTransforms(Aws::String &&value)
ValidateTemplateResult & WithCapabilitiesReason(const Aws::String &value)
ValidateTemplateResult & WithDescription(const Aws::String &value)
ValidateTemplateResult & AddParameters(const TemplateParameter &value)
ValidateTemplateResult & WithDeclaredTransforms(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetDeclaredTransforms() const
ValidateTemplateResult & WithCapabilitiesReason(const char *value)
ValidateTemplateResult & WithDescription(Aws::String &&value)
ValidateTemplateResult & AddDeclaredTransforms(const Aws::String &value)
ValidateTemplateResult & WithDeclaredTransforms(const Aws::Vector< Aws::String > &value)
const Aws::Vector< TemplateParameter > & GetParameters() const
void SetDeclaredTransforms(const Aws::Vector< Aws::String > &value)
void SetParameters(const Aws::Vector< TemplateParameter > &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