AWS SDK for C++  1.9.106
AWS SDK for C++
GetServiceEndpointResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const WirelessGatewayServiceType& GetServiceType() const{ return m_serviceType; }
40 
44  inline void SetServiceType(const WirelessGatewayServiceType& value) { m_serviceType = value; }
45 
49  inline void SetServiceType(WirelessGatewayServiceType&& value) { m_serviceType = std::move(value); }
50 
54  inline GetServiceEndpointResult& WithServiceType(const WirelessGatewayServiceType& value) { SetServiceType(value); return *this;}
55 
59  inline GetServiceEndpointResult& WithServiceType(WirelessGatewayServiceType&& value) { SetServiceType(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetServiceEndpoint() const{ return m_serviceEndpoint; }
66 
70  inline void SetServiceEndpoint(const Aws::String& value) { m_serviceEndpoint = value; }
71 
75  inline void SetServiceEndpoint(Aws::String&& value) { m_serviceEndpoint = std::move(value); }
76 
80  inline void SetServiceEndpoint(const char* value) { m_serviceEndpoint.assign(value); }
81 
85  inline GetServiceEndpointResult& WithServiceEndpoint(const Aws::String& value) { SetServiceEndpoint(value); return *this;}
86 
90  inline GetServiceEndpointResult& WithServiceEndpoint(Aws::String&& value) { SetServiceEndpoint(std::move(value)); return *this;}
91 
95  inline GetServiceEndpointResult& WithServiceEndpoint(const char* value) { SetServiceEndpoint(value); return *this;}
96 
97 
101  inline const Aws::String& GetServerTrust() const{ return m_serverTrust; }
102 
106  inline void SetServerTrust(const Aws::String& value) { m_serverTrust = value; }
107 
111  inline void SetServerTrust(Aws::String&& value) { m_serverTrust = std::move(value); }
112 
116  inline void SetServerTrust(const char* value) { m_serverTrust.assign(value); }
117 
121  inline GetServiceEndpointResult& WithServerTrust(const Aws::String& value) { SetServerTrust(value); return *this;}
122 
126  inline GetServiceEndpointResult& WithServerTrust(Aws::String&& value) { SetServerTrust(std::move(value)); return *this;}
127 
131  inline GetServiceEndpointResult& WithServerTrust(const char* value) { SetServerTrust(value); return *this;}
132 
133  private:
134 
135  WirelessGatewayServiceType m_serviceType;
136 
137  Aws::String m_serviceEndpoint;
138 
139  Aws::String m_serverTrust;
140  };
141 
142 } // namespace Model
143 } // namespace IoTWireless
144 } // namespace Aws
Aws::IoTWireless::Model::GetServiceEndpointResult
Definition: GetServiceEndpointResult.h:29
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServiceType
GetServiceEndpointResult & WithServiceType(WirelessGatewayServiceType &&value)
Definition: GetServiceEndpointResult.h:59
WirelessGatewayServiceType.h
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServiceType
GetServiceEndpointResult & WithServiceType(const WirelessGatewayServiceType &value)
Definition: GetServiceEndpointResult.h:54
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServerTrust
void SetServerTrust(Aws::String &&value)
Definition: GetServiceEndpointResult.h:111
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServerTrust
GetServiceEndpointResult & WithServerTrust(const Aws::String &value)
Definition: GetServiceEndpointResult.h:121
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServiceEndpoint
void SetServiceEndpoint(const char *value)
Definition: GetServiceEndpointResult.h:80
Aws::IoTWireless::Model::GetServiceEndpointResult::GetServiceType
const WirelessGatewayServiceType & GetServiceType() const
Definition: GetServiceEndpointResult.h:39
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServiceType
void SetServiceType(WirelessGatewayServiceType &&value)
Definition: GetServiceEndpointResult.h:49
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServiceEndpoint
void SetServiceEndpoint(Aws::String &&value)
Definition: GetServiceEndpointResult.h:75
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServerTrust
void SetServerTrust(const Aws::String &value)
Definition: GetServiceEndpointResult.h:106
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServerTrust
GetServiceEndpointResult & WithServerTrust(const char *value)
Definition: GetServiceEndpointResult.h:131
Aws::IoTWireless::Model::WirelessGatewayServiceType
WirelessGatewayServiceType
Definition: WirelessGatewayServiceType.h:17
Aws::IoTWireless::Model::GetServiceEndpointResult::operator=
GetServiceEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServerTrust
GetServiceEndpointResult & WithServerTrust(Aws::String &&value)
Definition: GetServiceEndpointResult.h:126
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServiceEndpoint
GetServiceEndpointResult & WithServiceEndpoint(Aws::String &&value)
Definition: GetServiceEndpointResult.h:90
AWSString.h
Aws::IoTWireless::Model::GetServiceEndpointResult::GetServerTrust
const Aws::String & GetServerTrust() const
Definition: GetServiceEndpointResult.h:101
Aws::IoTWireless::Model::GetServiceEndpointResult::GetServiceEndpoint
const Aws::String & GetServiceEndpoint() const
Definition: GetServiceEndpointResult.h:65
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServiceType
void SetServiceType(const WirelessGatewayServiceType &value)
Definition: GetServiceEndpointResult.h:44
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServiceEndpoint
void SetServiceEndpoint(const Aws::String &value)
Definition: GetServiceEndpointResult.h:70
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServiceEndpoint
GetServiceEndpointResult & WithServiceEndpoint(const char *value)
Definition: GetServiceEndpointResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::GetServiceEndpointResult::GetServiceEndpointResult
GetServiceEndpointResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetServiceEndpointResult::SetServerTrust
void SetServerTrust(const char *value)
Definition: GetServiceEndpointResult.h:116
Aws::IoTWireless::Model::GetServiceEndpointResult::GetServiceEndpointResult
GetServiceEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetServiceEndpointResult::WithServiceEndpoint
GetServiceEndpointResult & WithServiceEndpoint(const Aws::String &value)
Definition: GetServiceEndpointResult.h:85