AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetPolicyStoreResult.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/model/ValidationSettings.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/verifiedpermissions/model/DeletionProtection.h>
12#include <aws/verifiedpermissions/model/CedarVersion.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace VerifiedPermissions
29{
30namespace Model
31{
33 {
34 public:
35 AWS_VERIFIEDPERMISSIONS_API GetPolicyStoreResult() = default;
38
39
41
44 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
45 template<typename PolicyStoreIdT = Aws::String>
46 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
47 template<typename PolicyStoreIdT = Aws::String>
48 GetPolicyStoreResult& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 GetPolicyStoreResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
66 inline const ValidationSettings& GetValidationSettings() const { return m_validationSettings; }
67 template<typename ValidationSettingsT = ValidationSettings>
68 void SetValidationSettings(ValidationSettingsT&& value) { m_validationSettingsHasBeenSet = true; m_validationSettings = std::forward<ValidationSettingsT>(value); }
69 template<typename ValidationSettingsT = ValidationSettings>
70 GetPolicyStoreResult& WithValidationSettings(ValidationSettingsT&& value) { SetValidationSettings(std::forward<ValidationSettingsT>(value)); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
78 template<typename CreatedDateT = Aws::Utils::DateTime>
79 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
80 template<typename CreatedDateT = Aws::Utils::DateTime>
81 GetPolicyStoreResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
89 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
90 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
91 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
92 GetPolicyStoreResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
94
96
100 inline const Aws::String& GetDescription() const { return m_description; }
101 template<typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
103 template<typename DescriptionT = Aws::String>
104 GetPolicyStoreResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
106
108
112 inline DeletionProtection GetDeletionProtection() const { return m_deletionProtection; }
113 inline void SetDeletionProtection(DeletionProtection value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
116
118
124 inline CedarVersion GetCedarVersion() const { return m_cedarVersion; }
125 inline void SetCedarVersion(CedarVersion value) { m_cedarVersionHasBeenSet = true; m_cedarVersion = value; }
128
130
133 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
134 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
136 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 GetPolicyStoreResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
138 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
139 GetPolicyStoreResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
140 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
141 }
143
145
146 inline const Aws::String& GetRequestId() const { return m_requestId; }
147 template<typename RequestIdT = Aws::String>
148 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
149 template<typename RequestIdT = Aws::String>
150 GetPolicyStoreResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
152 private:
153
154 Aws::String m_policyStoreId;
155 bool m_policyStoreIdHasBeenSet = false;
156
157 Aws::String m_arn;
158 bool m_arnHasBeenSet = false;
159
160 ValidationSettings m_validationSettings;
161 bool m_validationSettingsHasBeenSet = false;
162
163 Aws::Utils::DateTime m_createdDate{};
164 bool m_createdDateHasBeenSet = false;
165
166 Aws::Utils::DateTime m_lastUpdatedDate{};
167 bool m_lastUpdatedDateHasBeenSet = false;
168
169 Aws::String m_description;
170 bool m_descriptionHasBeenSet = false;
171
173 bool m_deletionProtectionHasBeenSet = false;
174
175 CedarVersion m_cedarVersion{CedarVersion::NOT_SET};
176 bool m_cedarVersionHasBeenSet = false;
177
179 bool m_tagsHasBeenSet = false;
180
181 Aws::String m_requestId;
182 bool m_requestIdHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace VerifiedPermissions
187} // namespace Aws
GetPolicyStoreResult & WithPolicyStoreId(PolicyStoreIdT &&value)
GetPolicyStoreResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyStoreResult & WithDeletionProtection(DeletionProtection value)
GetPolicyStoreResult & WithRequestId(RequestIdT &&value)
GetPolicyStoreResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
GetPolicyStoreResult & WithCedarVersion(CedarVersion value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_VERIFIEDPERMISSIONS_API GetPolicyStoreResult()=default
GetPolicyStoreResult & WithValidationSettings(ValidationSettingsT &&value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetPolicyStoreResult & WithDescription(DescriptionT &&value)
GetPolicyStoreResult & WithCreatedDate(CreatedDateT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue