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
61 inline void SetPolicyId(
const char* value) { m_policyId.assign(value); }
158 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
CreatePolicyResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetPrincipal(const EntityIdentifier &value)
void SetRequestId(const Aws::String &value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
CreatePolicyResult & WithPrincipal(EntityIdentifier &&value)
CreatePolicyResult & WithPolicyStoreId(Aws::String &&value)
void SetActions(Aws::Vector< ActionIdentifier > &&value)
void SetResource(const EntityIdentifier &value)
CreatePolicyResult & WithPolicyType(PolicyType &&value)
CreatePolicyResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetPolicyStoreId(const Aws::String &value)
CreatePolicyResult & WithPolicyStoreId(const char *value)
const Aws::Vector< ActionIdentifier > & GetActions() const
void SetEffect(PolicyEffect &&value)
CreatePolicyResult & WithResource(EntityIdentifier &&value)
CreatePolicyResult & AddActions(const ActionIdentifier &value)
CreatePolicyResult & WithEffect(PolicyEffect &&value)
void SetPolicyType(const PolicyType &value)
CreatePolicyResult & WithPolicyId(const char *value)
CreatePolicyResult & WithPolicyId(const Aws::String &value)
CreatePolicyResult & WithRequestId(const Aws::String &value)
void SetPolicyType(PolicyType &&value)
CreatePolicyResult & WithCreatedDate(const Aws::Utils::DateTime &value)
CreatePolicyResult & WithPrincipal(const EntityIdentifier &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
CreatePolicyResult & WithRequestId(const char *value)
CreatePolicyResult & WithPolicyType(const PolicyType &value)
CreatePolicyResult & WithResource(const EntityIdentifier &value)
void SetPolicyStoreId(const char *value)
CreatePolicyResult & WithRequestId(Aws::String &&value)
void SetPrincipal(EntityIdentifier &&value)
CreatePolicyResult & WithPolicyId(Aws::String &&value)
CreatePolicyResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetPolicyStoreId() const
void SetActions(const Aws::Vector< ActionIdentifier > &value)
void SetPolicyStoreId(Aws::String &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
CreatePolicyResult & WithPolicyStoreId(const Aws::String &value)
void SetEffect(const PolicyEffect &value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyResult()
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
CreatePolicyResult & WithActions(Aws::Vector< ActionIdentifier > &&value)
void SetRequestId(const char *value)
const PolicyEffect & GetEffect() const
AWS_VERIFIEDPERMISSIONS_API CreatePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPolicyId(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
const EntityIdentifier & GetResource() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetPolicyId(Aws::String &&value)
void SetResource(EntityIdentifier &&value)
CreatePolicyResult & AddActions(ActionIdentifier &&value)
const Aws::String & GetRequestId() const
CreatePolicyResult & WithEffect(const PolicyEffect &value)
const Aws::String & GetPolicyId() const
const EntityIdentifier & GetPrincipal() const
const PolicyType & GetPolicyType() const
void SetPolicyId(const Aws::String &value)
CreatePolicyResult & WithActions(const Aws::Vector< ActionIdentifier > &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