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>
56 template<
typename LabelTemplateT = Aws::String>
57 void SetLabelTemplate(LabelTemplateT&& value) { m_labelTemplateHasBeenSet =
true; m_labelTemplate = std::forward<LabelTemplateT>(value); }
58 template<
typename LabelTemplateT = Aws::String>
70 template<
typename LinkConfigurationT = LinkConfiguration>
71 void SetLinkConfiguration(LinkConfigurationT&& value) { m_linkConfigurationHasBeenSet =
true; m_linkConfiguration = std::forward<LinkConfigurationT>(value); }
72 template<
typename LinkConfigurationT = LinkConfiguration>
83 template<
typename ResourceTypesT = Aws::Vector<ResourceType>>
84 void SetResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet =
true; m_resourceTypes = std::forward<ResourceTypesT>(value); }
85 template<
typename ResourceTypesT = Aws::Vector<ResourceType>>
99 template<
typename SinkIdentifierT = Aws::String>
100 void SetSinkIdentifier(SinkIdentifierT&& value) { m_sinkIdentifierHasBeenSet =
true; m_sinkIdentifier = std::forward<SinkIdentifierT>(value); }
101 template<
typename SinkIdentifierT = Aws::String>
117 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
119 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
123 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
129 bool m_labelTemplateHasBeenSet =
false;
132 bool m_linkConfigurationHasBeenSet =
false;
135 bool m_resourceTypesHasBeenSet =
false;
138 bool m_sinkIdentifierHasBeenSet =
false;
141 bool m_tagsHasBeenSet =
false;
bool LabelTemplateHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSinkIdentifier() const
const Aws::Vector< ResourceType > & GetResourceTypes() const
CreateLinkRequest & WithLabelTemplate(LabelTemplateT &&value)
AWS_OAM_API CreateLinkRequest()=default
void SetSinkIdentifier(SinkIdentifierT &&value)
AWS_OAM_API Aws::String SerializePayload() const override
bool SinkIdentifierHasBeenSet() const
CreateLinkRequest & WithSinkIdentifier(SinkIdentifierT &&value)
CreateLinkRequest & WithLinkConfiguration(LinkConfigurationT &&value)
const LinkConfiguration & GetLinkConfiguration() const
CreateLinkRequest & WithTags(TagsT &&value)
void SetResourceTypes(ResourceTypesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLinkConfiguration(LinkConfigurationT &&value)
bool LinkConfigurationHasBeenSet() const
bool TagsHasBeenSet() const
CreateLinkRequest & AddResourceTypes(ResourceType value)
void SetTags(TagsT &&value)
void SetLabelTemplate(LabelTemplateT &&value)
CreateLinkRequest & WithResourceTypes(ResourceTypesT &&value)
CreateLinkRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool ResourceTypesHasBeenSet() const
const Aws::String & GetLabelTemplate() const
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