AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
AcceptLinkRequest.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/LinkAttributes.h>
11#include <aws/rtbfabric/model/LinkLogSettings.h>
12
13#include <utility>
14
15namespace Aws {
16namespace RTBFabric {
17namespace Model {
18
22 public:
23 AWS_RTBFABRIC_API AcceptLinkRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "AcceptLink"; }
30
31 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
38 inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; }
39 template <typename GatewayIdT = Aws::String>
40 void SetGatewayId(GatewayIdT&& value) {
41 m_gatewayIdHasBeenSet = true;
42 m_gatewayId = std::forward<GatewayIdT>(value);
43 }
44 template <typename GatewayIdT = Aws::String>
45 AcceptLinkRequest& WithGatewayId(GatewayIdT&& value) {
46 SetGatewayId(std::forward<GatewayIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLinkId() const { return m_linkId; }
56 inline bool LinkIdHasBeenSet() const { return m_linkIdHasBeenSet; }
57 template <typename LinkIdT = Aws::String>
58 void SetLinkId(LinkIdT&& value) {
59 m_linkIdHasBeenSet = true;
60 m_linkId = std::forward<LinkIdT>(value);
61 }
62 template <typename LinkIdT = Aws::String>
63 AcceptLinkRequest& WithLinkId(LinkIdT&& value) {
64 SetLinkId(std::forward<LinkIdT>(value));
65 return *this;
66 }
68
70
73 inline const LinkAttributes& GetAttributes() const { return m_attributes; }
74 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
75 template <typename AttributesT = LinkAttributes>
76 void SetAttributes(AttributesT&& value) {
77 m_attributesHasBeenSet = true;
78 m_attributes = std::forward<AttributesT>(value);
79 }
80 template <typename AttributesT = LinkAttributes>
81 AcceptLinkRequest& WithAttributes(AttributesT&& value) {
82 SetAttributes(std::forward<AttributesT>(value));
83 return *this;
84 }
86
88
91 inline const LinkLogSettings& GetLogSettings() const { return m_logSettings; }
92 inline bool LogSettingsHasBeenSet() const { return m_logSettingsHasBeenSet; }
93 template <typename LogSettingsT = LinkLogSettings>
94 void SetLogSettings(LogSettingsT&& value) {
95 m_logSettingsHasBeenSet = true;
96 m_logSettings = std::forward<LogSettingsT>(value);
97 }
98 template <typename LogSettingsT = LinkLogSettings>
99 AcceptLinkRequest& WithLogSettings(LogSettingsT&& value) {
100 SetLogSettings(std::forward<LogSettingsT>(value));
101 return *this;
102 }
104
106
109 inline long long GetTimeoutInMillis() const { return m_timeoutInMillis; }
110 inline bool TimeoutInMillisHasBeenSet() const { return m_timeoutInMillisHasBeenSet; }
111 inline void SetTimeoutInMillis(long long value) {
112 m_timeoutInMillisHasBeenSet = true;
113 m_timeoutInMillis = value;
114 }
115 inline AcceptLinkRequest& WithTimeoutInMillis(long long value) {
116 SetTimeoutInMillis(value);
117 return *this;
118 }
120 private:
121 Aws::String m_gatewayId;
122
123 Aws::String m_linkId;
124
125 LinkAttributes m_attributes;
126
127 LinkLogSettings m_logSettings;
128
129 long long m_timeoutInMillis{0};
130 bool m_gatewayIdHasBeenSet = false;
131 bool m_linkIdHasBeenSet = false;
132 bool m_attributesHasBeenSet = false;
133 bool m_logSettingsHasBeenSet = false;
134 bool m_timeoutInMillisHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace RTBFabric
139} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String