7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/EntityResolutionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace EntityResolution
43 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
44 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
62 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
76 inline void SetToken(
const char* value) { m_tokenHasBeenSet =
true; m_token.assign(value); }
84 bool m_arnHasBeenSet =
false;
87 bool m_policyHasBeenSet =
false;
90 bool m_tokenHasBeenSet =
false;
void SetToken(const char *value)
PutPolicyRequest & WithArn(Aws::String &&value)
PutPolicyRequest & WithPolicy(Aws::String &&value)
bool PolicyHasBeenSet() const
AWS_ENTITYRESOLUTION_API PutPolicyRequest()
void SetToken(const Aws::String &value)
void SetPolicy(const char *value)
PutPolicyRequest & WithArn(const char *value)
PutPolicyRequest & WithToken(const Aws::String &value)
const Aws::String & GetToken() const
PutPolicyRequest & WithToken(const char *value)
PutPolicyRequest & WithToken(Aws::String &&value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool TokenHasBeenSet() const
const Aws::String & GetPolicy() const
PutPolicyRequest & WithPolicy(const char *value)
bool ArnHasBeenSet() const
void SetArn(Aws::String &&value)
PutPolicyRequest & WithPolicy(const Aws::String &value)
void SetPolicy(const Aws::String &value)
void SetToken(Aws::String &&value)
void SetPolicy(Aws::String &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetArn() const
PutPolicyRequest & WithArn(const Aws::String &value)
void SetArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String