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/oam/model/LinkConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/oam/model/ResourceType.h>
53 inline void SetLabelTemplate(
const char* value) { m_labelTemplateHasBeenSet =
true; m_labelTemplate.assign(value); }
99 inline void SetSinkIdentifier(
const char* value) { m_sinkIdentifierHasBeenSet =
true; m_sinkIdentifier.assign(value); }
127 inline CreateLinkRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
132 bool m_labelTemplateHasBeenSet =
false;
135 bool m_linkConfigurationHasBeenSet =
false;
138 bool m_resourceTypesHasBeenSet =
false;
141 bool m_sinkIdentifierHasBeenSet =
false;
144 bool m_tagsHasBeenSet =
false;
bool LabelTemplateHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLinkRequest & AddTags(const char *key, const char *value)
CreateLinkRequest & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetSinkIdentifier() const
CreateLinkRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Vector< ResourceType > & GetResourceTypes() const
void SetLinkConfiguration(LinkConfiguration &&value)
CreateLinkRequest & WithLabelTemplate(Aws::String &&value)
void SetResourceTypes(const Aws::Vector< ResourceType > &value)
CreateLinkRequest & AddResourceTypes(ResourceType &&value)
CreateLinkRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLinkRequest & AddTags(Aws::String &&key, const char *value)
AWS_OAM_API Aws::String SerializePayload() const override
void SetLabelTemplate(const char *value)
void SetResourceTypes(Aws::Vector< ResourceType > &&value)
CreateLinkRequest & WithLinkConfiguration(const LinkConfiguration &value)
bool SinkIdentifierHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_OAM_API CreateLinkRequest()
CreateLinkRequest & AddResourceTypes(const ResourceType &value)
const LinkConfiguration & GetLinkConfiguration() const
CreateLinkRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSinkIdentifier(Aws::String &&value)
CreateLinkRequest & WithResourceTypes(const Aws::Vector< ResourceType > &value)
CreateLinkRequest & WithSinkIdentifier(Aws::String &&value)
CreateLinkRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetSinkIdentifier(const Aws::String &value)
void SetSinkIdentifier(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool LinkConfigurationHasBeenSet() const
bool TagsHasBeenSet() const
CreateLinkRequest & WithSinkIdentifier(const Aws::String &value)
CreateLinkRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLinkRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateLinkRequest & WithSinkIdentifier(const char *value)
CreateLinkRequest & WithLabelTemplate(const Aws::String &value)
void SetLinkConfiguration(const LinkConfiguration &value)
void SetLabelTemplate(const Aws::String &value)
CreateLinkRequest & WithLabelTemplate(const char *value)
void SetLabelTemplate(Aws::String &&value)
CreateLinkRequest & WithResourceTypes(Aws::Vector< ResourceType > &&value)
bool ResourceTypesHasBeenSet() const
const Aws::String & GetLabelTemplate() const
CreateLinkRequest & WithLinkConfiguration(LinkConfiguration &&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
std::vector< T, Aws::Allocator< T > > Vector