AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetEnabledIpamPolicyResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9#include <aws/ec2/model/IpamPolicyManagedBy.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace EC2 {
24namespace Model {
26 public:
27 AWS_EC2_API GetEnabledIpamPolicyResponse() = default;
30
32
35 inline bool GetIpamPolicyEnabled() const { return m_ipamPolicyEnabled; }
36 inline void SetIpamPolicyEnabled(bool value) {
37 m_ipamPolicyEnabledHasBeenSet = true;
38 m_ipamPolicyEnabled = value;
39 }
42 return *this;
43 }
45
47
50 inline const Aws::String& GetIpamPolicyId() const { return m_ipamPolicyId; }
51 template <typename IpamPolicyIdT = Aws::String>
52 void SetIpamPolicyId(IpamPolicyIdT&& value) {
53 m_ipamPolicyIdHasBeenSet = true;
54 m_ipamPolicyId = std::forward<IpamPolicyIdT>(value);
55 }
56 template <typename IpamPolicyIdT = Aws::String>
58 SetIpamPolicyId(std::forward<IpamPolicyIdT>(value));
59 return *this;
60 }
62
64
67 inline IpamPolicyManagedBy GetManagedBy() const { return m_managedBy; }
68 inline void SetManagedBy(IpamPolicyManagedBy value) {
69 m_managedByHasBeenSet = true;
70 m_managedBy = value;
71 }
73 SetManagedBy(value);
74 return *this;
75 }
77
79
80 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
81 template <typename ResponseMetadataT = ResponseMetadata>
82 void SetResponseMetadata(ResponseMetadataT&& value) {
83 m_responseMetadataHasBeenSet = true;
84 m_responseMetadata = std::forward<ResponseMetadataT>(value);
85 }
86 template <typename ResponseMetadataT = ResponseMetadata>
88 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
89 return *this;
90 }
92 private:
93 bool m_ipamPolicyEnabled{false};
94
95 Aws::String m_ipamPolicyId;
96
98
99 ResponseMetadata m_responseMetadata;
100 bool m_ipamPolicyEnabledHasBeenSet = false;
101 bool m_ipamPolicyIdHasBeenSet = false;
102 bool m_managedByHasBeenSet = false;
103 bool m_responseMetadataHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace EC2
108} // namespace Aws
AWS_EC2_API GetEnabledIpamPolicyResponse()=default
AWS_EC2_API GetEnabledIpamPolicyResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetEnabledIpamPolicyResponse & WithManagedBy(IpamPolicyManagedBy value)
GetEnabledIpamPolicyResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API GetEnabledIpamPolicyResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetEnabledIpamPolicyResponse & WithIpamPolicyId(IpamPolicyIdT &&value)
GetEnabledIpamPolicyResponse & WithIpamPolicyEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument