AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
GetResourcePolicyResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
9#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticLoadBalancingv2 {
23namespace Model {
25 public:
26 AWS_ELASTICLOADBALANCINGV2_API GetResourcePolicyResult() = default;
28 AWS_ELASTICLOADBALANCINGV2_API GetResourcePolicyResult& operator=(
30
32
35 inline const Aws::String& GetPolicy() const { return m_policy; }
36 template <typename PolicyT = Aws::String>
37 void SetPolicy(PolicyT&& value) {
38 m_policyHasBeenSet = true;
39 m_policy = std::forward<PolicyT>(value);
40 }
41 template <typename PolicyT = Aws::String>
43 SetPolicy(std::forward<PolicyT>(value));
44 return *this;
45 }
47
49
50 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
51 template <typename ResponseMetadataT = ResponseMetadata>
52 void SetResponseMetadata(ResponseMetadataT&& value) {
53 m_responseMetadataHasBeenSet = true;
54 m_responseMetadata = std::forward<ResponseMetadataT>(value);
55 }
56 template <typename ResponseMetadataT = ResponseMetadata>
57 GetResourcePolicyResult& WithResponseMetadata(ResponseMetadataT&& value) {
58 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_policy;
64
65 ResponseMetadata m_responseMetadata;
66 bool m_policyHasBeenSet = false;
67 bool m_responseMetadataHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace ElasticLoadBalancingv2
72} // 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