AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
CreateInboundExternalLinkRequest.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 CreateInboundExternalLinkRequest() = 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 "CreateInboundExternalLink"; }
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 LinkLogSettings& GetLogSettings() const { return m_logSettings; }
103 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
104 template <typename LogSettingsT = LinkLogSettings>
105 void SetLogSettings(LogSettingsT&& value) {
106 m_logSettingsHasBeenSet = true;
107 m_logSettings = std::forward<LogSettingsT>(value);
108 }
109 template <typename LogSettingsT = LinkLogSettings>
111 SetLogSettings(std::forward<LogSettingsT>(value));
112 return *this;
113 }
115
117
121 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
122 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
123 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 void SetTags(TagsT&& value) {
125 m_tagsHasBeenSet = true;
126 m_tags = std::forward<TagsT>(value);
127 }
128 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 SetTags(std::forward<TagsT>(value));
131 return *this;
132 }
133 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
134 CreateInboundExternalLinkRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
135 m_tagsHasBeenSet = true;
136 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
137 return *this;
138 }
140 private:
142
143 Aws::String m_gatewayId;
144
145 LinkAttributes m_attributes;
146
147 LinkLogSettings m_logSettings;
148
150 bool m_clientTokenHasBeenSet = true;
151 bool m_gatewayIdHasBeenSet = false;
152 bool m_attributesHasBeenSet = false;
153 bool m_logSettingsHasBeenSet = false;
154 bool m_tagsHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace RTBFabric
159} // 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