7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
11#include <aws/verifiedpermissions/model/ActionIdentifier.h>
12#include <aws/verifiedpermissions/model/EntityIdentifier.h>
13#include <aws/verifiedpermissions/model/PolicyDefinitionDetail.h>
14#include <aws/verifiedpermissions/model/PolicyEffect.h>
15#include <aws/verifiedpermissions/model/PolicyType.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace VerifiedPermissions {
42 template <
typename PolicyStoreIdT = Aws::String>
44 m_policyStoreIdHasBeenSet =
true;
45 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
47 template <
typename PolicyStoreIdT = Aws::String>
59 template <
typename PolicyIdT = Aws::String>
61 m_policyIdHasBeenSet =
true;
62 m_policyId = std::forward<PolicyIdT>(value);
64 template <
typename PolicyIdT = Aws::String>
77 m_policyTypeHasBeenSet =
true;
93 template <
typename PrincipalT = EntityIdentifier>
95 m_principalHasBeenSet =
true;
96 m_principal = std::forward<PrincipalT>(value);
98 template <
typename PrincipalT = EntityIdentifier>
111 template <
typename ResourceT = EntityIdentifier>
113 m_resourceHasBeenSet =
true;
114 m_resource = std::forward<ResourceT>(value);
116 template <
typename ResourceT = EntityIdentifier>
130 template <
typename ActionsT = Aws::Vector<ActionIdentifier>>
132 m_actionsHasBeenSet =
true;
133 m_actions = std::forward<ActionsT>(value);
135 template <
typename ActionsT = Aws::Vector<ActionIdentifier>>
140 template <
typename ActionsT = ActionIdentifier>
142 m_actionsHasBeenSet =
true;
143 m_actions.emplace_back(std::forward<ActionsT>(value));
153 template <
typename DefinitionT = PolicyDefinitionDetail>
155 m_definitionHasBeenSet =
true;
156 m_definition = std::forward<DefinitionT>(value);
158 template <
typename DefinitionT = PolicyDefinitionDetail>
170 template <
typename CreatedDateT = Aws::Utils::DateTime>
172 m_createdDateHasBeenSet =
true;
173 m_createdDate = std::forward<CreatedDateT>(value);
175 template <
typename CreatedDateT = Aws::Utils::DateTime>
187 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
189 m_lastUpdatedDateHasBeenSet =
true;
190 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
192 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
206 m_effectHasBeenSet =
true;
218 template <
typename RequestIdT = Aws::String>
220 m_requestIdHasBeenSet =
true;
221 m_requestId = std::forward<RequestIdT>(value);
223 template <
typename RequestIdT = Aws::String>
236 EntityIdentifier m_principal;
238 EntityIdentifier m_resource;
242 PolicyDefinitionDetail m_definition;
251 bool m_policyStoreIdHasBeenSet =
false;
252 bool m_policyIdHasBeenSet =
false;
253 bool m_policyTypeHasBeenSet =
false;
254 bool m_principalHasBeenSet =
false;
255 bool m_resourceHasBeenSet =
false;
256 bool m_actionsHasBeenSet =
false;
257 bool m_definitionHasBeenSet =
false;
258 bool m_createdDateHasBeenSet =
false;
259 bool m_lastUpdatedDateHasBeenSet =
false;
260 bool m_effectHasBeenSet =
false;
261 bool m_requestIdHasBeenSet =
false;
void SetResource(ResourceT &&value)
void SetEffect(PolicyEffect value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::Vector< ActionIdentifier > & GetActions() const
void SetDefinition(DefinitionT &&value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
GetPolicyResult & WithPolicyType(PolicyType value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyResult()=default
const EntityIdentifier & GetPrincipal() const
GetPolicyResult & WithDefinition(DefinitionT &&value)
void SetPolicyType(PolicyType value)
GetPolicyResult & WithActions(ActionsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
GetPolicyResult & WithPolicyStoreId(PolicyStoreIdT &&value)
void SetPolicyStoreId(PolicyStoreIdT &&value)
const Aws::String & GetPolicyStoreId() const
void SetPrincipal(PrincipalT &&value)
const Aws::String & GetRequestId() const
GetPolicyResult & WithPrincipal(PrincipalT &&value)
GetPolicyResult & WithEffect(PolicyEffect value)
void SetCreatedDate(CreatedDateT &&value)
const EntityIdentifier & GetResource() const
GetPolicyResult & AddActions(ActionsT &&value)
GetPolicyResult & WithResource(ResourceT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetRequestId(RequestIdT &&value)
PolicyType GetPolicyType() const
GetPolicyResult & WithPolicyId(PolicyIdT &&value)
const PolicyDefinitionDetail & GetDefinition() const
void SetActions(ActionsT &&value)
PolicyEffect GetEffect() const
const Aws::String & GetPolicyId() const
GetPolicyResult & WithRequestId(RequestIdT &&value)
void SetPolicyId(PolicyIdT &&value)
GetPolicyResult & WithCreatedDate(CreatedDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue