7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
13template<
typename RESULT_TYPE>
14class AmazonWebServiceResult;
42 inline void SetPolicy(
const char* value) { m_policy.assign(value); }
55 inline void SetSinkArn(
const char* value) { m_sinkArn.assign(value); }
69 inline void SetSinkId(
const char* value) { m_sinkId.assign(value); }
80 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
void SetPolicy(Aws::String &&value)
AWS_OAM_API PutSinkPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
PutSinkPolicyResult & WithRequestId(const char *value)
void SetRequestId(const char *value)
PutSinkPolicyResult & WithPolicy(const Aws::String &value)
PutSinkPolicyResult & WithSinkArn(const Aws::String &value)
PutSinkPolicyResult & WithRequestId(const Aws::String &value)
void SetSinkId(Aws::String &&value)
PutSinkPolicyResult & WithSinkId(const char *value)
AWS_OAM_API PutSinkPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetSinkId() const
void SetPolicy(const char *value)
PutSinkPolicyResult & WithRequestId(Aws::String &&value)
PutSinkPolicyResult & WithPolicy(Aws::String &&value)
PutSinkPolicyResult & WithSinkArn(const char *value)
const Aws::String & GetSinkArn() const
void SetSinkArn(const char *value)
void SetSinkId(const char *value)
PutSinkPolicyResult & WithPolicy(const char *value)
AWS_OAM_API PutSinkPolicyResult()
PutSinkPolicyResult & WithSinkId(Aws::String &&value)
void SetSinkArn(Aws::String &&value)
void SetSinkArn(const Aws::String &value)
void SetSinkId(const Aws::String &value)
PutSinkPolicyResult & WithSinkArn(Aws::String &&value)
void SetRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetPolicy() const
void SetPolicy(const Aws::String &value)
PutSinkPolicyResult & WithSinkId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue