AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetResourcePolicyResult.h
1
6#pragma once
7#include <aws/glue/Glue_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 Glue
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetPolicyInJson() const{ return m_policyInJson; }
41 inline void SetPolicyInJson(const Aws::String& value) { m_policyInJson = value; }
42 inline void SetPolicyInJson(Aws::String&& value) { m_policyInJson = std::move(value); }
43 inline void SetPolicyInJson(const char* value) { m_policyInJson.assign(value); }
44 inline GetResourcePolicyResult& WithPolicyInJson(const Aws::String& value) { SetPolicyInJson(value); return *this;}
45 inline GetResourcePolicyResult& WithPolicyInJson(Aws::String&& value) { SetPolicyInJson(std::move(value)); return *this;}
46 inline GetResourcePolicyResult& WithPolicyInJson(const char* value) { SetPolicyInJson(value); return *this;}
48
50
53 inline const Aws::String& GetPolicyHash() const{ return m_policyHash; }
54 inline void SetPolicyHash(const Aws::String& value) { m_policyHash = value; }
55 inline void SetPolicyHash(Aws::String&& value) { m_policyHash = std::move(value); }
56 inline void SetPolicyHash(const char* value) { m_policyHash.assign(value); }
57 inline GetResourcePolicyResult& WithPolicyHash(const Aws::String& value) { SetPolicyHash(value); return *this;}
58 inline GetResourcePolicyResult& WithPolicyHash(Aws::String&& value) { SetPolicyHash(std::move(value)); return *this;}
59 inline GetResourcePolicyResult& WithPolicyHash(const char* value) { SetPolicyHash(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
67 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
68 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
69 inline GetResourcePolicyResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
70 inline GetResourcePolicyResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
78 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
79 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
80 inline GetResourcePolicyResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
81 inline GetResourcePolicyResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline GetResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline GetResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline GetResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_policyInJson;
97
98 Aws::String m_policyHash;
99
100 Aws::Utils::DateTime m_createTime;
101
102 Aws::Utils::DateTime m_updateTime;
103
104 Aws::String m_requestId;
105 };
106
107} // namespace Model
108} // namespace Glue
109} // namespace Aws
GetResourcePolicyResult & WithPolicyInJson(const Aws::String &value)
GetResourcePolicyResult & WithUpdateTime(const Aws::Utils::DateTime &value)
AWS_GLUE_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourcePolicyResult & WithPolicyHash(Aws::String &&value)
GetResourcePolicyResult & WithPolicyInJson(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
GetResourcePolicyResult & WithRequestId(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
GetResourcePolicyResult & WithCreateTime(const Aws::Utils::DateTime &value)
GetResourcePolicyResult & WithCreateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
GetResourcePolicyResult & WithPolicyHash(const char *value)
AWS_GLUE_API GetResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetResourcePolicyResult & WithPolicyHash(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
GetResourcePolicyResult & WithUpdateTime(Aws::Utils::DateTime &&value)
GetResourcePolicyResult & WithRequestId(Aws::String &&value)
GetResourcePolicyResult & WithRequestId(const char *value)
GetResourcePolicyResult & WithPolicyInJson(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue