AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPolicyTemplateResult.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_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 VerifiedPermissions
25{
26namespace Model
27{
29 {
30 public:
31 AWS_VERIFIEDPERMISSIONS_API GetPolicyTemplateResult();
34
35
37
40 inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; }
41 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreId = value; }
42 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreId = std::move(value); }
43 inline void SetPolicyStoreId(const char* value) { m_policyStoreId.assign(value); }
44 inline GetPolicyTemplateResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
45 inline GetPolicyTemplateResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
46 inline GetPolicyTemplateResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
48
50
53 inline const Aws::String& GetPolicyTemplateId() const{ return m_policyTemplateId; }
54 inline void SetPolicyTemplateId(const Aws::String& value) { m_policyTemplateId = value; }
55 inline void SetPolicyTemplateId(Aws::String&& value) { m_policyTemplateId = std::move(value); }
56 inline void SetPolicyTemplateId(const char* value) { m_policyTemplateId.assign(value); }
57 inline GetPolicyTemplateResult& WithPolicyTemplateId(const Aws::String& value) { SetPolicyTemplateId(value); return *this;}
58 inline GetPolicyTemplateResult& WithPolicyTemplateId(Aws::String&& value) { SetPolicyTemplateId(std::move(value)); return *this;}
59 inline GetPolicyTemplateResult& WithPolicyTemplateId(const char* value) { SetPolicyTemplateId(value); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetPolicyTemplateResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetPolicyTemplateResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetPolicyTemplateResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
80 inline const Aws::String& GetStatement() const{ return m_statement; }
81 inline void SetStatement(const Aws::String& value) { m_statement = value; }
82 inline void SetStatement(Aws::String&& value) { m_statement = std::move(value); }
83 inline void SetStatement(const char* value) { m_statement.assign(value); }
84 inline GetPolicyTemplateResult& WithStatement(const Aws::String& value) { SetStatement(value); return *this;}
85 inline GetPolicyTemplateResult& WithStatement(Aws::String&& value) { SetStatement(std::move(value)); return *this;}
86 inline GetPolicyTemplateResult& WithStatement(const char* value) { SetStatement(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
94 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
95 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
96 inline GetPolicyTemplateResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
97 inline GetPolicyTemplateResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
105 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
106 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
108 inline GetPolicyTemplateResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline GetPolicyTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline GetPolicyTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline GetPolicyTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_policyStoreId;
124
125 Aws::String m_policyTemplateId;
126
127 Aws::String m_description;
128
129 Aws::String m_statement;
130
131 Aws::Utils::DateTime m_createdDate;
132
133 Aws::Utils::DateTime m_lastUpdatedDate;
134
135 Aws::String m_requestId;
136 };
137
138} // namespace Model
139} // namespace VerifiedPermissions
140} // namespace Aws
GetPolicyTemplateResult & WithRequestId(const Aws::String &value)
GetPolicyTemplateResult & WithDescription(const Aws::String &value)
GetPolicyTemplateResult & WithCreatedDate(Aws::Utils::DateTime &&value)
GetPolicyTemplateResult & WithStatement(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyTemplateResult & WithRequestId(const char *value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyTemplateResult & WithPolicyTemplateId(const char *value)
GetPolicyTemplateResult & WithPolicyTemplateId(const Aws::String &value)
GetPolicyTemplateResult & WithPolicyStoreId(const Aws::String &value)
GetPolicyTemplateResult & WithStatement(Aws::String &&value)
GetPolicyTemplateResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
GetPolicyTemplateResult & WithRequestId(Aws::String &&value)
GetPolicyTemplateResult & WithStatement(const char *value)
GetPolicyTemplateResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetPolicyTemplateResult & WithDescription(Aws::String &&value)
GetPolicyTemplateResult & WithPolicyStoreId(Aws::String &&value)
GetPolicyTemplateResult & WithDescription(const char *value)
GetPolicyTemplateResult & WithPolicyTemplateId(Aws::String &&value)
GetPolicyTemplateResult & WithPolicyStoreId(const char *value)
GetPolicyTemplateResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue