7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
43 inline void SetArn(
const char* value) { m_arn.assign(value); }
57 inline void SetId(
const char* value) { m_id.assign(value); }
70 inline void SetName(
const char* value) { m_name.assign(value); }
91 inline GetSinkResult&
AddTags(
const char* key,
const char* value) { m_tags.emplace(key, value);
return *
this; }
99 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetSinkResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSinkResult & WithName(const char *value)
GetSinkResult & AddTags(const Aws::String &key, const Aws::String &value)
AWS_OAM_API GetSinkResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
void SetName(const char *value)
void SetArn(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_OAM_API GetSinkResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetArn() const
GetSinkResult & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetId(const Aws::String &value)
void SetId(const char *value)
void SetArn(const Aws::String &value)
void SetId(Aws::String &&value)
GetSinkResult & WithId(const Aws::String &value)
GetSinkResult & WithName(Aws::String &&value)
GetSinkResult & AddTags(Aws::String &&key, const Aws::String &value)
GetSinkResult & WithId(Aws::String &&value)
GetSinkResult & WithRequestId(const Aws::String &value)
void SetRequestId(const char *value)
GetSinkResult & WithRequestId(Aws::String &&value)
GetSinkResult & AddTags(const Aws::String &key, Aws::String &&value)
GetSinkResult & WithArn(Aws::String &&value)
void SetName(const Aws::String &value)
GetSinkResult & AddTags(const char *key, Aws::String &&value)
GetSinkResult & WithRequestId(const char *value)
GetSinkResult & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetId() const
void SetArn(Aws::String &&value)
const Aws::String & GetName() const
GetSinkResult & WithArn(const Aws::String &value)
GetSinkResult & WithId(const char *value)
GetSinkResult & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
GetSinkResult & AddTags(Aws::String &&key, Aws::String &&value)
GetSinkResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSinkResult & WithArn(const char *value)
AWS_OAM_API GetSinkResult()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue