7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/oam/OAMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
44 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
72 inline CreateSinkRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
77 bool m_nameHasBeenSet =
false;
80 bool m_tagsHasBeenSet =
false;
CreateSinkRequest & WithName(const char *value)
CreateSinkRequest & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetName(Aws::String &&value)
CreateSinkRequest & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetName() const
CreateSinkRequest & WithName(Aws::String &&value)
void SetName(const char *value)
CreateSinkRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateSinkRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_OAM_API CreateSinkRequest()
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_OAM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateSinkRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSinkRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSinkRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
CreateSinkRequest & AddTags(Aws::String &&key, const char *value)
bool NameHasBeenSet() const
CreateSinkRequest & AddTags(const char *key, const char *value)
CreateSinkRequest & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
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