7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/VerifiedPermissionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/model/PolicyDefinition.h>
12#include <aws/core/utils/UUID.h>
16namespace VerifiedPermissions
59 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
74 inline void SetPolicyStoreId(
const char* value) { m_policyStoreIdHasBeenSet =
true; m_policyStoreId.assign(value); }
96 bool m_clientTokenHasBeenSet =
false;
99 bool m_policyStoreIdHasBeenSet =
false;
102 bool m_definitionHasBeenSet =
false;
bool ClientTokenHasBeenSet() const
bool DefinitionHasBeenSet() const
void SetDefinition(const PolicyDefinition &value)
CreatePolicyRequest & WithDefinition(const PolicyDefinition &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClientToken() const
CreatePolicyRequest & WithClientToken(const char *value)
void SetPolicyStoreId(Aws::String &&value)
CreatePolicyRequest & WithDefinition(PolicyDefinition &&value)
const PolicyDefinition & GetDefinition() const
void SetPolicyStoreId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override
CreatePolicyRequest & WithPolicyStoreId(const char *value)
AWS_VERIFIEDPERMISSIONS_API CreatePolicyRequest()
CreatePolicyRequest & WithPolicyStoreId(const Aws::String &value)
void SetClientToken(const char *value)
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreatePolicyRequest & WithPolicyStoreId(Aws::String &&value)
CreatePolicyRequest & WithClientToken(const Aws::String &value)
void SetPolicyStoreId(const char *value)
void SetDefinition(PolicyDefinition &&value)
CreatePolicyRequest & WithClientToken(Aws::String &&value)
bool PolicyStoreIdHasBeenSet() const
const Aws::String & GetPolicyStoreId() const
void SetClientToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String