AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CreatePolicyTemplateResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace VerifiedPermissions {
23namespace Model {
25 public:
26 AWS_VERIFIEDPERMISSIONS_API CreatePolicyTemplateResult() = default;
29
31
34 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
35 template <typename PolicyStoreIdT = Aws::String>
36 void SetPolicyStoreId(PolicyStoreIdT&& value) {
37 m_policyStoreIdHasBeenSet = true;
38 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
39 }
40 template <typename PolicyStoreIdT = Aws::String>
42 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetPolicyTemplateId() const { return m_policyTemplateId; }
52 template <typename PolicyTemplateIdT = Aws::String>
53 void SetPolicyTemplateId(PolicyTemplateIdT&& value) {
54 m_policyTemplateIdHasBeenSet = true;
55 m_policyTemplateId = std::forward<PolicyTemplateIdT>(value);
56 }
57 template <typename PolicyTemplateIdT = Aws::String>
59 SetPolicyTemplateId(std::forward<PolicyTemplateIdT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
69 template <typename CreatedDateT = Aws::Utils::DateTime>
70 void SetCreatedDate(CreatedDateT&& value) {
71 m_createdDateHasBeenSet = true;
72 m_createdDate = std::forward<CreatedDateT>(value);
73 }
74 template <typename CreatedDateT = Aws::Utils::DateTime>
76 SetCreatedDate(std::forward<CreatedDateT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
86 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
87 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
88 m_lastUpdatedDateHasBeenSet = true;
89 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
90 }
91 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
93 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_policyStoreId;
114
115 Aws::String m_policyTemplateId;
116
117 Aws::Utils::DateTime m_createdDate{};
118
119 Aws::Utils::DateTime m_lastUpdatedDate{};
120
121 Aws::String m_requestId;
122 bool m_policyStoreIdHasBeenSet = false;
123 bool m_policyTemplateIdHasBeenSet = false;
124 bool m_createdDateHasBeenSet = false;
125 bool m_lastUpdatedDateHasBeenSet = false;
126 bool m_requestIdHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace VerifiedPermissions
131} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API CreatePolicyTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePolicyTemplateResult & WithCreatedDate(CreatedDateT &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyTemplateResult()=default
CreatePolicyTemplateResult & WithPolicyTemplateId(PolicyTemplateIdT &&value)
CreatePolicyTemplateResult & WithPolicyStoreId(PolicyStoreIdT &&value)
CreatePolicyTemplateResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
CreatePolicyTemplateResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue