AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
UpdateResponderGatewayResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
10#include <aws/rtbfabric/model/ClientRoutingPolicy.h>
11#include <aws/rtbfabric/model/ResponderGatewayStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace RTBFabric {
25namespace Model {
27 public:
28 AWS_RTBFABRIC_API UpdateResponderGatewayResult() = default;
31
33
36 inline const Aws::String& GetGatewayId() const { return m_gatewayId; }
37 template <typename GatewayIdT = Aws::String>
38 void SetGatewayId(GatewayIdT&& value) {
39 m_gatewayIdHasBeenSet = true;
40 m_gatewayId = std::forward<GatewayIdT>(value);
41 }
42 template <typename GatewayIdT = Aws::String>
44 SetGatewayId(std::forward<GatewayIdT>(value));
45 return *this;
46 }
48
50
53 inline ResponderGatewayStatus GetStatus() const { return m_status; }
54 inline void SetStatus(ResponderGatewayStatus value) {
55 m_statusHasBeenSet = true;
56 m_status = value;
57 }
59 SetStatus(value);
60 return *this;
61 }
63
65
73 inline ClientRoutingPolicy GetClientRoutingPolicy() const { return m_clientRoutingPolicy; }
75 m_clientRoutingPolicyHasBeenSet = true;
76 m_clientRoutingPolicy = value;
77 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
99
100 private:
101 Aws::String m_gatewayId;
102
104
106
107 Aws::String m_requestId;
108 Aws::Http::HttpResponseCode m_HttpResponseCode;
109 bool m_gatewayIdHasBeenSet = false;
110 bool m_statusHasBeenSet = false;
111 bool m_clientRoutingPolicyHasBeenSet = false;
112 bool m_requestIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace RTBFabric
117} // namespace Aws
AWS_RTBFABRIC_API UpdateResponderGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateResponderGatewayResult & WithRequestId(RequestIdT &&value)
UpdateResponderGatewayResult & WithClientRoutingPolicy(ClientRoutingPolicy value)
AWS_RTBFABRIC_API UpdateResponderGatewayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateResponderGatewayResult & WithStatus(ResponderGatewayStatus value)
UpdateResponderGatewayResult & WithGatewayId(GatewayIdT &&value)
AWS_RTBFABRIC_API UpdateResponderGatewayResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue