7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/oam/OAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
61 inline void SetSinkIdentifier(
const char* value) { m_sinkIdentifierHasBeenSet =
true; m_sinkIdentifier.assign(value); }
69 bool m_policyHasBeenSet =
false;
72 bool m_sinkIdentifierHasBeenSet =
false;
PutSinkPolicyRequest & WithPolicy(Aws::String &&value)
const Aws::String & GetPolicy() const
PutSinkPolicyRequest & WithSinkIdentifier(const Aws::String &value)
PutSinkPolicyRequest & WithPolicy(const Aws::String &value)
PutSinkPolicyRequest & WithSinkIdentifier(const char *value)
void SetSinkIdentifier(Aws::String &&value)
void SetPolicy(const Aws::String &value)
PutSinkPolicyRequest & WithSinkIdentifier(Aws::String &&value)
PutSinkPolicyRequest & WithPolicy(const char *value)
AWS_OAM_API PutSinkPolicyRequest()
void SetPolicy(Aws::String &&value)
void SetSinkIdentifier(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSinkIdentifier() const
AWS_OAM_API Aws::String SerializePayload() const override
bool PolicyHasBeenSet() const
void SetPolicy(const char *value)
void SetSinkIdentifier(const Aws::String &value)
bool SinkIdentifierHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String