AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetVerifiedAccessEndpointPolicyResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/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 EC2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline bool GetPolicyEnabled() const{ return m_policyEnabled; }
41 inline void SetPolicyEnabled(bool value) { m_policyEnabled = value; }
44
46
49 inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; }
50 inline void SetPolicyDocument(const Aws::String& value) { m_policyDocument = value; }
51 inline void SetPolicyDocument(Aws::String&& value) { m_policyDocument = std::move(value); }
52 inline void SetPolicyDocument(const char* value) { m_policyDocument.assign(value); }
55 inline GetVerifiedAccessEndpointPolicyResponse& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;}
57
59
60 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
61 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
62 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
66 private:
67
68 bool m_policyEnabled;
69
70 Aws::String m_policyDocument;
71
72 ResponseMetadata m_responseMetadata;
73 };
74
75} // namespace Model
76} // namespace EC2
77} // namespace Aws
GetVerifiedAccessEndpointPolicyResponse & WithPolicyDocument(Aws::String &&value)
GetVerifiedAccessEndpointPolicyResponse & WithPolicyEnabled(bool value)
GetVerifiedAccessEndpointPolicyResponse & WithPolicyDocument(const char *value)
GetVerifiedAccessEndpointPolicyResponse & WithPolicyDocument(const Aws::String &value)
GetVerifiedAccessEndpointPolicyResponse & WithResponseMetadata(const ResponseMetadata &value)
AWS_EC2_API GetVerifiedAccessEndpointPolicyResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API GetVerifiedAccessEndpointPolicyResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetVerifiedAccessEndpointPolicyResponse & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument