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/PolicyEffect.h>
14#include <aws/verifiedpermissions/model/PolicyType.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
27namespace VerifiedPermissions {
40 template <
typename PolicyStoreIdT = Aws::String>
42 m_policyStoreIdHasBeenSet =
true;
43 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
45 template <
typename PolicyStoreIdT = Aws::String>
57 template <
typename PolicyIdT = Aws::String>
59 m_policyIdHasBeenSet =
true;
60 m_policyId = std::forward<PolicyIdT>(value);
62 template <
typename PolicyIdT = Aws::String>
75 m_policyTypeHasBeenSet =
true;
91 template <
typename PrincipalT = EntityIdentifier>
93 m_principalHasBeenSet =
true;
94 m_principal = std::forward<PrincipalT>(value);
96 template <
typename PrincipalT = EntityIdentifier>
109 template <
typename ResourceT = EntityIdentifier>
111 m_resourceHasBeenSet =
true;
112 m_resource = std::forward<ResourceT>(value);
114 template <
typename ResourceT = EntityIdentifier>
128 template <
typename ActionsT = Aws::Vector<ActionIdentifier>>
130 m_actionsHasBeenSet =
true;
131 m_actions = std::forward<ActionsT>(value);
133 template <
typename ActionsT = Aws::Vector<ActionIdentifier>>
138 template <
typename ActionsT = ActionIdentifier>
140 m_actionsHasBeenSet =
true;
141 m_actions.emplace_back(std::forward<ActionsT>(value));
151 template <
typename CreatedDateT = Aws::Utils::DateTime>
153 m_createdDateHasBeenSet =
true;
154 m_createdDate = std::forward<CreatedDateT>(value);
156 template <
typename CreatedDateT = Aws::Utils::DateTime>
168 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
170 m_lastUpdatedDateHasBeenSet =
true;
171 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
173 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
187 m_effectHasBeenSet =
true;
199 template <
typename RequestIdT = Aws::String>
201 m_requestIdHasBeenSet =
true;
202 m_requestId = std::forward<RequestIdT>(value);
204 template <
typename RequestIdT = Aws::String>
217 EntityIdentifier m_principal;
219 EntityIdentifier m_resource;
230 bool m_policyStoreIdHasBeenSet =
false;
231 bool m_policyIdHasBeenSet =
false;
232 bool m_policyTypeHasBeenSet =
false;
233 bool m_principalHasBeenSet =
false;
234 bool m_resourceHasBeenSet =
false;
235 bool m_actionsHasBeenSet =
false;
236 bool m_createdDateHasBeenSet =
false;
237 bool m_lastUpdatedDateHasBeenSet =
false;
238 bool m_effectHasBeenSet =
false;
239 bool m_requestIdHasBeenSet =
false;
UpdatePolicyResult & WithPolicyStoreId(PolicyStoreIdT &&value)
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePolicyResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
UpdatePolicyResult & WithPrincipal(PrincipalT &&value)
void SetEffect(PolicyEffect value)
const Aws::String & GetPolicyId() const
UpdatePolicyResult & WithRequestId(RequestIdT &&value)
void SetCreatedDate(CreatedDateT &&value)
void SetPolicyStoreId(PolicyStoreIdT &&value)
UpdatePolicyResult & WithEffect(PolicyEffect value)
void SetResource(ResourceT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const EntityIdentifier & GetResource() const
void SetPrincipal(PrincipalT &&value)
UpdatePolicyResult & WithCreatedDate(CreatedDateT &&value)
UpdatePolicyResult & WithResource(ResourceT &&value)
const Aws::Vector< ActionIdentifier > & GetActions() const
const Aws::String & GetPolicyStoreId() const
void SetActions(ActionsT &&value)
void SetRequestId(RequestIdT &&value)
void SetPolicyId(PolicyIdT &&value)
PolicyEffect GetEffect() const
AWS_VERIFIEDPERMISSIONS_API UpdatePolicyResult()=default
UpdatePolicyResult & WithActions(ActionsT &&value)
const Aws::String & GetRequestId() const
UpdatePolicyResult & WithPolicyId(PolicyIdT &&value)
const EntityIdentifier & GetPrincipal() const
PolicyType GetPolicyType() const
void SetLastUpdatedDate(LastUpdatedDateT &&value)
void SetPolicyType(PolicyType value)
const Aws::Utils::DateTime & GetCreatedDate() const
UpdatePolicyResult & AddActions(ActionsT &&value)
UpdatePolicyResult & WithPolicyType(PolicyType 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