AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
UpdateLinkRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rtbfabric/RTBFabricRequest.h>
9#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
10#include <aws/rtbfabric/model/LinkLogSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace RTBFabric {
16namespace Model {
17
21 public:
22 AWS_RTBFABRIC_API UpdateLinkRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateLink"; }
29
30 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
37 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
38 template <typename GatewayIdT = Aws::String>
39 void SetGatewayId(GatewayIdT&& value) {
40 m_gatewayIdHasBeenSet = true;
41 m_gatewayId = std::forward<GatewayIdT>(value);
42 }
43 template <typename GatewayIdT = Aws::String>
44 UpdateLinkRequest& WithGatewayId(GatewayIdT&& value) {
45 SetGatewayId(std::forward<GatewayIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetLinkId() const { return m_linkId; }
55 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
56 template <typename LinkIdT = Aws::String>
57 void SetLinkId(LinkIdT&& value) {
58 m_linkIdHasBeenSet = true;
59 m_linkId = std::forward<LinkIdT>(value);
60 }
61 template <typename LinkIdT = Aws::String>
62 UpdateLinkRequest& WithLinkId(LinkIdT&& value) {
63 SetLinkId(std::forward<LinkIdT>(value));
64 return *this;
65 }
67
69
72 inline const LinkLogSettings& GetLogSettings() const { return m_logSettings; }
73 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
74 template <typename LogSettingsT = LinkLogSettings>
75 void SetLogSettings(LogSettingsT&& value) {
76 m_logSettingsHasBeenSet = true;
77 m_logSettings = std::forward<LogSettingsT>(value);
78 }
79 template <typename LogSettingsT = LinkLogSettings>
80 UpdateLinkRequest& WithLogSettings(LogSettingsT&& value) {
81 SetLogSettings(std::forward<LogSettingsT>(value));
82 return *this;
83 }
85
87
90 inline long long GetTimeoutInMillis() const { return m_timeoutInMillis; }
91 inline bool TimeoutInMillisHasBeenSet() const { return m_timeoutInMillisHasBeenSet; }
92 inline void SetTimeoutInMillis(long long value) {
93 m_timeoutInMillisHasBeenSet = true;
94 m_timeoutInMillis = value;
95 }
96 inline UpdateLinkRequest& WithTimeoutInMillis(long long value) {
97 SetTimeoutInMillis(value);
98 return *this;
99 }
101 private:
102 Aws::String m_gatewayId;
103
104 Aws::String m_linkId;
105
106 LinkLogSettings m_logSettings;
107
108 long long m_timeoutInMillis{0};
109 bool m_gatewayIdHasBeenSet = false;
110 bool m_linkIdHasBeenSet = false;
111 bool m_logSettingsHasBeenSet = false;
112 bool m_timeoutInMillisHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace RTBFabric
117} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String