AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetServiceEndpointResult.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/WirelessGatewayServiceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTWIRELESS_API GetServiceEndpointResult() = default;
34
35
37
40 inline WirelessGatewayServiceType GetServiceType() const { return m_serviceType; }
41 inline void SetServiceType(WirelessGatewayServiceType value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
44
46
49 inline const Aws::String& GetServiceEndpoint() const { return m_serviceEndpoint; }
50 template<typename ServiceEndpointT = Aws::String>
51 void SetServiceEndpoint(ServiceEndpointT&& value) { m_serviceEndpointHasBeenSet = true; m_serviceEndpoint = std::forward<ServiceEndpointT>(value); }
52 template<typename ServiceEndpointT = Aws::String>
53 GetServiceEndpointResult& WithServiceEndpoint(ServiceEndpointT&& value) { SetServiceEndpoint(std::forward<ServiceEndpointT>(value)); return *this;}
55
57
60 inline const Aws::String& GetServerTrust() const { return m_serverTrust; }
61 template<typename ServerTrustT = Aws::String>
62 void SetServerTrust(ServerTrustT&& value) { m_serverTrustHasBeenSet = true; m_serverTrust = std::forward<ServerTrustT>(value); }
63 template<typename ServerTrustT = Aws::String>
64 GetServiceEndpointResult& WithServerTrust(ServerTrustT&& value) { SetServerTrust(std::forward<ServerTrustT>(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 GetServiceEndpointResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
78 bool m_serviceTypeHasBeenSet = false;
79
80 Aws::String m_serviceEndpoint;
81 bool m_serviceEndpointHasBeenSet = false;
82
83 Aws::String m_serverTrust;
84 bool m_serverTrustHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTWireless
92} // namespace Aws
GetServiceEndpointResult & WithServerTrust(ServerTrustT &&value)
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