AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetResourcePolicyResult.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticloadbalancingv2/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 ElasticLoadBalancingv2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ELASTICLOADBALANCINGV2_API GetResourcePolicyResult() = default;
34
35
37
40 inline const Aws::String& GetPolicy() const { return m_policy; }
41 template<typename PolicyT = Aws::String>
42 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet = true; m_policy = std::forward<PolicyT>(value); }
43 template<typename PolicyT = Aws::String>
44 GetResourcePolicyResult& WithPolicy(PolicyT&& value) { SetPolicy(std::forward<PolicyT>(value)); return *this;}
46
48
49 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
50 template<typename ResponseMetadataT = ResponseMetadata>
51 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
52 template<typename ResponseMetadataT = ResponseMetadata>
53 GetResourcePolicyResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
55 private:
56
57 Aws::String m_policy;
58 bool m_policyHasBeenSet = false;
59
60 ResponseMetadata m_responseMetadata;
61 bool m_responseMetadataHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace ElasticLoadBalancingv2
66} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCINGV2_API GetResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCINGV2_API GetResourcePolicyResult()=default
GetResourcePolicyResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument