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); }
GetSinkPolicyResult & WithPolicy(const Aws::String &value)
const Aws::String & GetPolicy() const
void SetSinkId(const Aws::String &value)
void SetSinkId(const char *value)
void SetSinkArn(const Aws::String &value)
AWS_OAM_API GetSinkPolicyResult()
const Aws::String & GetSinkId() const
GetSinkPolicyResult & WithSinkId(const char *value)
GetSinkPolicyResult & WithSinkId(const Aws::String &value)
void SetRequestId(const char *value)
void SetSinkArn(Aws::String &&value)
AWS_OAM_API GetSinkPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSinkPolicyResult & WithRequestId(const char *value)
GetSinkPolicyResult & WithSinkArn(const Aws::String &value)
void SetSinkArn(const char *value)
GetSinkPolicyResult & WithSinkId(Aws::String &&value)
void SetPolicy(Aws::String &&value)
AWS_OAM_API GetSinkPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSinkPolicyResult & WithRequestId(const Aws::String &value)
GetSinkPolicyResult & WithRequestId(Aws::String &&value)
GetSinkPolicyResult & WithSinkArn(Aws::String &&value)
void SetPolicy(const char *value)
const Aws::String & GetSinkArn() const
void SetRequestId(const Aws::String &value)
GetSinkPolicyResult & WithPolicy(const char *value)
void SetSinkId(Aws::String &&value)
void SetPolicy(const Aws::String &value)
GetSinkPolicyResult & WithPolicy(Aws::String &&value)
const Aws::String & GetRequestId() const
GetSinkPolicyResult & WithSinkArn(const char *value)
void SetRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue