AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetStackPolicyResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudformation/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace CloudFormation
25{
26namespace Model
27{
35 {
36 public:
37 AWS_CLOUDFORMATION_API GetStackPolicyResult();
40
41
43
48 inline const Aws::String& GetStackPolicyBody() const{ return m_stackPolicyBody; }
49 inline void SetStackPolicyBody(const Aws::String& value) { m_stackPolicyBody = value; }
50 inline void SetStackPolicyBody(Aws::String&& value) { m_stackPolicyBody = std::move(value); }
51 inline void SetStackPolicyBody(const char* value) { m_stackPolicyBody.assign(value); }
52 inline GetStackPolicyResult& WithStackPolicyBody(const Aws::String& value) { SetStackPolicyBody(value); return *this;}
53 inline GetStackPolicyResult& WithStackPolicyBody(Aws::String&& value) { SetStackPolicyBody(std::move(value)); return *this;}
54 inline GetStackPolicyResult& WithStackPolicyBody(const char* value) { SetStackPolicyBody(value); return *this;}
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
63 inline GetStackPolicyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 private:
66
67 Aws::String m_stackPolicyBody;
68
69 ResponseMetadata m_responseMetadata;
70 };
71
72} // namespace Model
73} // namespace CloudFormation
74} // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
GetStackPolicyResult & WithStackPolicyBody(const Aws::String &value)
GetStackPolicyResult & WithResponseMetadata(const ResponseMetadata &value)
GetStackPolicyResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_CLOUDFORMATION_API GetStackPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetStackPolicyResult & WithStackPolicyBody(Aws::String &&value)
AWS_CLOUDFORMATION_API GetStackPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
GetStackPolicyResult & WithStackPolicyBody(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument