7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/oam/OAMRequest.h>
11#include <aws/oam/OAM_EXPORTS.h>
12#include <aws/oam/model/LinkConfiguration.h>
13#include <aws/oam/model/ResourceType.h>
52 template <
typename LabelTemplateT = Aws::String>
54 m_labelTemplateHasBeenSet =
true;
55 m_labelTemplate = std::forward<LabelTemplateT>(value);
57 template <
typename LabelTemplateT = Aws::String>
72 template <
typename LinkConfigurationT = LinkConfiguration>
74 m_linkConfigurationHasBeenSet =
true;
75 m_linkConfiguration = std::forward<LinkConfigurationT>(value);
77 template <
typename LinkConfigurationT = LinkConfiguration>
91 template <
typename ResourceTypesT = Aws::Vector<ResourceType>>
93 m_resourceTypesHasBeenSet =
true;
94 m_resourceTypes = std::forward<ResourceTypesT>(value);
96 template <
typename ResourceTypesT = Aws::Vector<ResourceType>>
102 m_resourceTypesHasBeenSet =
true;
103 m_resourceTypes.push_back(value);
117 template <
typename SinkIdentifierT = Aws::String>
119 m_sinkIdentifierHasBeenSet =
true;
120 m_sinkIdentifier = std::forward<SinkIdentifierT>(value);
122 template <
typename SinkIdentifierT = Aws::String>
141 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 m_tagsHasBeenSet =
true;
144 m_tags = std::forward<TagsT>(value);
146 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 SetTags(std::forward<TagsT>(value));
151 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
153 m_tagsHasBeenSet =
true;
154 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
168 bool m_labelTemplateHasBeenSet =
false;
169 bool m_linkConfigurationHasBeenSet =
false;
170 bool m_resourceTypesHasBeenSet =
false;
171 bool m_sinkIdentifierHasBeenSet =
false;
172 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