AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
CreateOutboundExternalLinkRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/rtbfabric/RTBFabricRequest.h>
11#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
12#include <aws/rtbfabric/model/LinkAttributes.h>
13#include <aws/rtbfabric/model/LinkLogSettings.h>
14
15#include <utility>
16
17namespace Aws {
18namespace RTBFabric {
19namespace Model {
20
24 public:
25 AWS_RTBFABRIC_API CreateOutboundExternalLinkRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateOutboundExternalLink"; }
32
33 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
34
36
48 inline const Aws::String& GetClientToken() const { return m_clientToken; }
49 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
50 template <typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) {
52 m_clientTokenHasBeenSet = true;
53 m_clientToken = std::forward<ClientTokenT>(value);
54 }
55 template <typename ClientTokenT = Aws::String>
57 SetClientToken(std::forward<ClientTokenT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
67 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
68 template <typename GatewayIdT = Aws::String>
69 void SetGatewayId(GatewayIdT&& value) {
70 m_gatewayIdHasBeenSet = true;
71 m_gatewayId = std::forward<GatewayIdT>(value);
72 }
73 template <typename GatewayIdT = Aws::String>
75 SetGatewayId(std::forward<GatewayIdT>(value));
76 return *this;
77 }
79
81
84 inline const LinkAttributes& GetAttributes() const { return m_attributes; }
85 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
86 template <typename AttributesT = LinkAttributes>
87 void SetAttributes(AttributesT&& value) {
88 m_attributesHasBeenSet = true;
89 m_attributes = std::forward<AttributesT>(value);
90 }
91 template <typename AttributesT = LinkAttributes>
93 SetAttributes(std::forward<AttributesT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetPublicEndpoint() const { return m_publicEndpoint; }
103 inline bool PublicEndpointHasBeenSet() const { return m_publicEndpointHasBeenSet; }
104 template <typename PublicEndpointT = Aws::String>
105 void SetPublicEndpoint(PublicEndpointT&& value) {
106 m_publicEndpointHasBeenSet = true;
107 m_publicEndpoint = std::forward<PublicEndpointT>(value);
108 }
109 template <typename PublicEndpointT = Aws::String>
111 SetPublicEndpoint(std::forward<PublicEndpointT>(value));
112 return *this;
113 }
115
117
120 inline const LinkLogSettings& GetLogSettings() const { return m_logSettings; }
121 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
122 template <typename LogSettingsT = LinkLogSettings>
123 void SetLogSettings(LogSettingsT&& value) {
124 m_logSettingsHasBeenSet = true;
125 m_logSettings = std::forward<LogSettingsT>(value);
126 }
127 template <typename LogSettingsT = LinkLogSettings>
129 SetLogSettings(std::forward<LogSettingsT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
140 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
141 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 void SetTags(TagsT&& value) {
143 m_tagsHasBeenSet = true;
144 m_tags = std::forward<TagsT>(value);
145 }
146 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 SetTags(std::forward<TagsT>(value));
149 return *this;
150 }
151 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
152 CreateOutboundExternalLinkRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
153 m_tagsHasBeenSet = true;
154 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
155 return *this;
156 }
158 private:
160
161 Aws::String m_gatewayId;
162
163 LinkAttributes m_attributes;
164
165 Aws::String m_publicEndpoint;
166
167 LinkLogSettings m_logSettings;
168
170 bool m_clientTokenHasBeenSet = true;
171 bool m_gatewayIdHasBeenSet = false;
172 bool m_attributesHasBeenSet = false;
173 bool m_publicEndpointHasBeenSet = false;
174 bool m_logSettingsHasBeenSet = false;
175 bool m_tagsHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace RTBFabric
180} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
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