7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
12#include <aws/verifiedpermissions/model/ActionIdentifier.h>
13#include <aws/verifiedpermissions/model/EntityIdentifier.h>
14#include <aws/verifiedpermissions/model/PolicyEffect.h>
15#include <aws/verifiedpermissions/model/PolicyType.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
28namespace VerifiedPermissions {
41 template <
typename PolicyStoreIdT = Aws::String>
43 m_policyStoreIdHasBeenSet =
true;
44 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
46 template <
typename PolicyStoreIdT = Aws::String>
58 template <
typename PolicyIdT = Aws::String>
60 m_policyIdHasBeenSet =
true;
61 m_policyId = std::forward<PolicyIdT>(value);
63 template <
typename PolicyIdT = Aws::String>
76 m_policyTypeHasBeenSet =
true;
92 template <
typename PrincipalT = EntityIdentifier>
94 m_principalHasBeenSet =
true;
95 m_principal = std::forward<PrincipalT>(value);
97 template <
typename PrincipalT = EntityIdentifier>
110 template <
typename ResourceT = EntityIdentifier>
112 m_resourceHasBeenSet =
true;
113 m_resource = std::forward<ResourceT>(value);
115 template <
typename ResourceT = EntityIdentifier>
129 template <
typename ActionsT = Aws::Vector<ActionIdentifier>>
131 m_actionsHasBeenSet =
true;
132 m_actions = std::forward<ActionsT>(value);
134 template <
typename ActionsT = Aws::Vector<ActionIdentifier>>
139 template <
typename ActionsT = ActionIdentifier>
141 m_actionsHasBeenSet =
true;
142 m_actions.emplace_back(std::forward<ActionsT>(value));
152 template <
typename CreatedDateT = Aws::Utils::DateTime>
154 m_createdDateHasBeenSet =
true;
155 m_createdDate = std::forward<CreatedDateT>(value);
157 template <
typename CreatedDateT = Aws::Utils::DateTime>
169 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
171 m_lastUpdatedDateHasBeenSet =
true;
172 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
174 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
188 m_effectHasBeenSet =
true;
200 template <
typename RequestIdT = Aws::String>
202 m_requestIdHasBeenSet =
true;
203 m_requestId = std::forward<RequestIdT>(value);
205 template <
typename RequestIdT = Aws::String>
220 EntityIdentifier m_principal;
222 EntityIdentifier m_resource;
234 bool m_policyStoreIdHasBeenSet =
false;
235 bool m_policyIdHasBeenSet =
false;
236 bool m_policyTypeHasBeenSet =
false;
237 bool m_principalHasBeenSet =
false;
238 bool m_resourceHasBeenSet =
false;
239 bool m_actionsHasBeenSet =
false;
240 bool m_createdDateHasBeenSet =
false;
241 bool m_lastUpdatedDateHasBeenSet =
false;
242 bool m_effectHasBeenSet =
false;
243 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::Http::HttpResponseCode GetHttpResponseCode() 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