AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetServiceEndpointResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/WirelessGatewayServiceType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless {
24namespace Model {
26 public:
27 AWS_IOTWIRELESS_API GetServiceEndpointResult() = default;
30
32
35 inline WirelessGatewayServiceType GetServiceType() const { return m_serviceType; }
37 m_serviceTypeHasBeenSet = true;
38 m_serviceType = value;
39 }
41 SetServiceType(value);
42 return *this;
43 }
45
47
50 inline const Aws::String& GetServiceEndpoint() const { return m_serviceEndpoint; }
51 template <typename ServiceEndpointT = Aws::String>
52 void SetServiceEndpoint(ServiceEndpointT&& value) {
53 m_serviceEndpointHasBeenSet = true;
54 m_serviceEndpoint = std::forward<ServiceEndpointT>(value);
55 }
56 template <typename ServiceEndpointT = Aws::String>
57 GetServiceEndpointResult& WithServiceEndpoint(ServiceEndpointT&& value) {
58 SetServiceEndpoint(std::forward<ServiceEndpointT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetServerTrust() const { return m_serverTrust; }
68 template <typename ServerTrustT = Aws::String>
69 void SetServerTrust(ServerTrustT&& value) {
70 m_serverTrustHasBeenSet = true;
71 m_serverTrust = std::forward<ServerTrustT>(value);
72 }
73 template <typename ServerTrustT = Aws::String>
75 SetServerTrust(std::forward<ServerTrustT>(value));
76 return *this;
77 }
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template <typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) {
85 m_requestIdHasBeenSet = true;
86 m_requestId = std::forward<RequestIdT>(value);
87 }
88 template <typename RequestIdT = Aws::String>
90 SetRequestId(std::forward<RequestIdT>(value));
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
98
99 Aws::String m_serviceEndpoint;
100
101 Aws::String m_serverTrust;
102
103 Aws::String m_requestId;
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_serviceTypeHasBeenSet = false;
106 bool m_serviceEndpointHasBeenSet = false;
107 bool m_serverTrustHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace IoTWireless
113} // namespace Aws
GetServiceEndpointResult & WithServerTrust(ServerTrustT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetServiceEndpointResult & WithRequestId(RequestIdT &&value)
AWS_IOTWIRELESS_API GetServiceEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetServiceType(WirelessGatewayServiceType value)
GetServiceEndpointResult & WithServiceType(WirelessGatewayServiceType value)
AWS_IOTWIRELESS_API GetServiceEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceEndpointResult & WithServiceEndpoint(ServiceEndpointT &&value)
AWS_IOTWIRELESS_API GetServiceEndpointResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue