AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
34
35
37
40 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
41 template<typename PolicyStoreIdT = Aws::String>
42 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
43 template<typename PolicyStoreIdT = Aws::String>
44 GetPolicyTemplateResult& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetPolicyTemplateId() const { return m_policyTemplateId; }
52 template<typename PolicyTemplateIdT = Aws::String>
53 void SetPolicyTemplateId(PolicyTemplateIdT&& value) { m_policyTemplateIdHasBeenSet = true; m_policyTemplateId = std::forward<PolicyTemplateIdT>(value); }
54 template<typename PolicyTemplateIdT = Aws::String>
55 GetPolicyTemplateResult& WithPolicyTemplateId(PolicyTemplateIdT&& value) { SetPolicyTemplateId(std::forward<PolicyTemplateIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 GetPolicyTemplateResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
74 inline const Aws::String& GetStatement() const { return m_statement; }
75 template<typename StatementT = Aws::String>
76 void SetStatement(StatementT&& value) { m_statementHasBeenSet = true; m_statement = std::forward<StatementT>(value); }
77 template<typename StatementT = Aws::String>
78 GetPolicyTemplateResult& WithStatement(StatementT&& value) { SetStatement(std::forward<StatementT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
86 template<typename CreatedDateT = Aws::Utils::DateTime>
87 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
88 template<typename CreatedDateT = Aws::Utils::DateTime>
89 GetPolicyTemplateResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
97 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
98 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
99 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
100 GetPolicyTemplateResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template<typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
108 template<typename RequestIdT = Aws::String>
109 GetPolicyTemplateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
111 private:
112
113 Aws::String m_policyStoreId;
114 bool m_policyStoreIdHasBeenSet = false;
115
116 Aws::String m_policyTemplateId;
117 bool m_policyTemplateIdHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 Aws::String m_statement;
123 bool m_statementHasBeenSet = false;
124
125 Aws::Utils::DateTime m_createdDate{};
126 bool m_createdDateHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastUpdatedDate{};
129 bool m_lastUpdatedDateHasBeenSet = false;
130
131 Aws::String m_requestId;
132 bool m_requestIdHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace VerifiedPermissions
137} // namespace Aws
GetPolicyTemplateResult & WithRequestId(RequestIdT &&value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyTemplateResult()=default
AWS_VERIFIEDPERMISSIONS_API GetPolicyTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VERIFIEDPERMISSIONS_API GetPolicyTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyTemplateResult & WithDescription(DescriptionT &&value)
GetPolicyTemplateResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
GetPolicyTemplateResult & WithPolicyTemplateId(PolicyTemplateIdT &&value)
GetPolicyTemplateResult & WithStatement(StatementT &&value)
GetPolicyTemplateResult & WithCreatedDate(CreatedDateT &&value)
GetPolicyTemplateResult & WithPolicyStoreId(PolicyStoreIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue