AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeResourcePolicyResult.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend
25{
26namespace Model
27{
29 {
30 public:
31 AWS_COMPREHEND_API DescribeResourcePolicyResult();
34
35
37
40 inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; }
41 inline void SetResourcePolicy(const Aws::String& value) { m_resourcePolicy = value; }
42 inline void SetResourcePolicy(Aws::String&& value) { m_resourcePolicy = std::move(value); }
43 inline void SetResourcePolicy(const char* value) { m_resourcePolicy.assign(value); }
45 inline DescribeResourcePolicyResult& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;}
46 inline DescribeResourcePolicyResult& WithResourcePolicy(const char* value) { SetResourcePolicy(value); return *this;}
48
50
53 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
54 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
55 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
57 inline DescribeResourcePolicyResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
65 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
66 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
70
72
77 inline const Aws::String& GetPolicyRevisionId() const{ return m_policyRevisionId; }
78 inline void SetPolicyRevisionId(const Aws::String& value) { m_policyRevisionId = value; }
79 inline void SetPolicyRevisionId(Aws::String&& value) { m_policyRevisionId = std::move(value); }
80 inline void SetPolicyRevisionId(const char* value) { m_policyRevisionId.assign(value); }
82 inline DescribeResourcePolicyResult& WithPolicyRevisionId(Aws::String&& value) { SetPolicyRevisionId(std::move(value)); return *this;}
83 inline DescribeResourcePolicyResult& WithPolicyRevisionId(const char* value) { SetPolicyRevisionId(value); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline DescribeResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline DescribeResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline DescribeResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_resourcePolicy;
99
100 Aws::Utils::DateTime m_creationTime;
101
102 Aws::Utils::DateTime m_lastModifiedTime;
103
104 Aws::String m_policyRevisionId;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace Comprehend
111} // namespace Aws
DescribeResourcePolicyResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeResourcePolicyResult & WithPolicyRevisionId(const Aws::String &value)
AWS_COMPREHEND_API DescribeResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COMPREHEND_API DescribeResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourcePolicyResult & WithRequestId(const char *value)
DescribeResourcePolicyResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeResourcePolicyResult & WithResourcePolicy(const Aws::String &value)
DescribeResourcePolicyResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeResourcePolicyResult & WithResourcePolicy(Aws::String &&value)
DescribeResourcePolicyResult & WithRequestId(const Aws::String &value)
DescribeResourcePolicyResult & WithPolicyRevisionId(const char *value)
DescribeResourcePolicyResult & WithPolicyRevisionId(Aws::String &&value)
DescribeResourcePolicyResult & WithRequestId(Aws::String &&value)
DescribeResourcePolicyResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeResourcePolicyResult & WithResourcePolicy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue