AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLinkResult.h
1
6#pragma once
7#include <aws/oam/OAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/oam/model/LinkConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace OAM
27{
28namespace Model
29{
31 {
32 public:
33 AWS_OAM_API GetLinkResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 GetLinkResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
54 inline const Aws::String& GetId() const { return m_id; }
55 template<typename IdT = Aws::String>
56 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
57 template<typename IdT = Aws::String>
58 GetLinkResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetLabel() const { return m_label; }
67 template<typename LabelT = Aws::String>
68 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
69 template<typename LabelT = Aws::String>
70 GetLinkResult& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
72
74
78 inline const Aws::String& GetLabelTemplate() const { return m_labelTemplate; }
79 template<typename LabelTemplateT = Aws::String>
80 void SetLabelTemplate(LabelTemplateT&& value) { m_labelTemplateHasBeenSet = true; m_labelTemplate = std::forward<LabelTemplateT>(value); }
81 template<typename LabelTemplateT = Aws::String>
82 GetLinkResult& WithLabelTemplate(LabelTemplateT&& value) { SetLabelTemplate(std::forward<LabelTemplateT>(value)); return *this;}
84
86
91 inline const LinkConfiguration& GetLinkConfiguration() const { return m_linkConfiguration; }
92 template<typename LinkConfigurationT = LinkConfiguration>
93 void SetLinkConfiguration(LinkConfigurationT&& value) { m_linkConfigurationHasBeenSet = true; m_linkConfiguration = std::forward<LinkConfigurationT>(value); }
94 template<typename LinkConfigurationT = LinkConfiguration>
95 GetLinkResult& WithLinkConfiguration(LinkConfigurationT&& value) { SetLinkConfiguration(std::forward<LinkConfigurationT>(value)); return *this;}
97
99
102 inline const Aws::Vector<Aws::String>& GetResourceTypes() const { return m_resourceTypes; }
103 template<typename ResourceTypesT = Aws::Vector<Aws::String>>
104 void SetResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::forward<ResourceTypesT>(value); }
105 template<typename ResourceTypesT = Aws::Vector<Aws::String>>
106 GetLinkResult& WithResourceTypes(ResourceTypesT&& value) { SetResourceTypes(std::forward<ResourceTypesT>(value)); return *this;}
107 template<typename ResourceTypesT = Aws::String>
108 GetLinkResult& AddResourceTypes(ResourceTypesT&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.emplace_back(std::forward<ResourceTypesT>(value)); return *this; }
110
112
115 inline const Aws::String& GetSinkArn() const { return m_sinkArn; }
116 template<typename SinkArnT = Aws::String>
117 void SetSinkArn(SinkArnT&& value) { m_sinkArnHasBeenSet = true; m_sinkArn = std::forward<SinkArnT>(value); }
118 template<typename SinkArnT = Aws::String>
119 GetLinkResult& WithSinkArn(SinkArnT&& value) { SetSinkArn(std::forward<SinkArnT>(value)); return *this;}
121
123
126 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
129 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 GetLinkResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
131 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
132 GetLinkResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
133 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
134 }
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template<typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
142 template<typename RequestIdT = Aws::String>
143 GetLinkResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
145 private:
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 Aws::String m_id;
151 bool m_idHasBeenSet = false;
152
153 Aws::String m_label;
154 bool m_labelHasBeenSet = false;
155
156 Aws::String m_labelTemplate;
157 bool m_labelTemplateHasBeenSet = false;
158
159 LinkConfiguration m_linkConfiguration;
160 bool m_linkConfigurationHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_resourceTypes;
163 bool m_resourceTypesHasBeenSet = false;
164
165 Aws::String m_sinkArn;
166 bool m_sinkArnHasBeenSet = false;
167
169 bool m_tagsHasBeenSet = false;
170
171 Aws::String m_requestId;
172 bool m_requestIdHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace OAM
177} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue