7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/model/PolicyType.h>
10#include <aws/verifiedpermissions/model/EntityIdentifier.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/verifiedpermissions/model/PolicyEffect.h>
14#include <aws/verifiedpermissions/model/ActionIdentifier.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace VerifiedPermissions
46 template<
typename PolicyStoreIdT = Aws::String>
47 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet =
true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
48 template<
typename PolicyStoreIdT = Aws::String>
57 template<
typename PolicyIdT = Aws::String>
58 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
59 template<
typename PolicyIdT = Aws::String>
79 template<
typename PrincipalT = EntityIdentifier>
80 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet =
true; m_principal = std::forward<PrincipalT>(value); }
81 template<
typename PrincipalT = EntityIdentifier>
92 template<
typename ResourceT = EntityIdentifier>
93 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
94 template<
typename ResourceT = EntityIdentifier>
105 template<
typename ActionsT = Aws::Vector<ActionIdentifier>>
106 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
107 template<
typename ActionsT = Aws::Vector<ActionIdentifier>>
109 template<
typename ActionsT = ActionIdentifier>
118 template<
typename CreatedDateT = Aws::Utils::DateTime>
119 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
120 template<
typename CreatedDateT = Aws::Utils::DateTime>
129 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
130 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
131 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
148 template<
typename RequestIdT = Aws::String>
149 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
150 template<
typename RequestIdT = Aws::String>
156 bool m_policyStoreIdHasBeenSet =
false;
159 bool m_policyIdHasBeenSet =
false;
162 bool m_policyTypeHasBeenSet =
false;
164 EntityIdentifier m_principal;
165 bool m_principalHasBeenSet =
false;
167 EntityIdentifier m_resource;
168 bool m_resourceHasBeenSet =
false;
171 bool m_actionsHasBeenSet =
false;
174 bool m_createdDateHasBeenSet =
false;
177 bool m_lastUpdatedDateHasBeenSet =
false;
180 bool m_effectHasBeenSet =
false;
183 bool m_requestIdHasBeenSet =
false;
void SetPolicyId(PolicyIdT &&value)
CreatePolicyResult & WithPolicyStoreId(PolicyStoreIdT &&value)
void SetResource(ResourceT &&value)
CreatePolicyResult & AddActions(ActionsT &&value)
CreatePolicyResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::Vector< ActionIdentifier > & GetActions() const
void SetLastUpdatedDate(LastUpdatedDateT &&value)
void SetPrincipal(PrincipalT &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyResult()=default
PolicyEffect GetEffect() const
void SetActions(ActionsT &&value)
CreatePolicyResult & WithPrincipal(PrincipalT &&value)
CreatePolicyResult & WithResource(ResourceT &&value)
void SetCreatedDate(CreatedDateT &&value)
CreatePolicyResult & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetPolicyStoreId() const
void SetPolicyType(PolicyType value)
CreatePolicyResult & WithPolicyId(PolicyIdT &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePolicyResult & WithActions(ActionsT &&value)
CreatePolicyResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
const EntityIdentifier & GetResource() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetEffect(PolicyEffect value)
const Aws::String & GetRequestId() const
const Aws::String & GetPolicyId() const
const EntityIdentifier & GetPrincipal() const
CreatePolicyResult & WithPolicyType(PolicyType value)
PolicyType GetPolicyType() const
CreatePolicyResult & WithEffect(PolicyEffect value)
void SetPolicyStoreId(PolicyStoreIdT &&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