AWS SDK for C++  1.9.104
AWS SDK for C++
GetServiceEndpointRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTWireless
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "GetServiceEndpoint"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
46  inline const WirelessGatewayServiceType& GetServiceType() const{ return m_serviceType; }
47 
53  inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
54 
60  inline void SetServiceType(const WirelessGatewayServiceType& value) { m_serviceTypeHasBeenSet = true; m_serviceType = value; }
61 
67  inline void SetServiceType(WirelessGatewayServiceType&& value) { m_serviceTypeHasBeenSet = true; m_serviceType = std::move(value); }
68 
74  inline GetServiceEndpointRequest& WithServiceType(const WirelessGatewayServiceType& value) { SetServiceType(value); return *this;}
75 
81  inline GetServiceEndpointRequest& WithServiceType(WirelessGatewayServiceType&& value) { SetServiceType(std::move(value)); return *this;}
82 
83  private:
84 
85  WirelessGatewayServiceType m_serviceType;
86  bool m_serviceTypeHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace IoTWireless
91 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::GetServiceEndpointRequest::SetServiceType
void SetServiceType(const WirelessGatewayServiceType &value)
Definition: GetServiceEndpointRequest.h:60
WirelessGatewayServiceType.h
Aws::IoTWireless::Model::GetServiceEndpointRequest::SetServiceType
void SetServiceType(WirelessGatewayServiceType &&value)
Definition: GetServiceEndpointRequest.h:67
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetServiceEndpointRequest::ServiceTypeHasBeenSet
bool ServiceTypeHasBeenSet() const
Definition: GetServiceEndpointRequest.h:53
Aws::IoTWireless::Model::WirelessGatewayServiceType
WirelessGatewayServiceType
Definition: WirelessGatewayServiceType.h:17
Aws::IoTWireless::Model::GetServiceEndpointRequest::GetServiceEndpointRequest
GetServiceEndpointRequest()
Aws::IoTWireless::Model::GetServiceEndpointRequest::WithServiceType
GetServiceEndpointRequest & WithServiceType(const WirelessGatewayServiceType &value)
Definition: GetServiceEndpointRequest.h:74
Aws::IoTWireless::Model::GetServiceEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetServiceEndpointRequest.h:34
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
Aws::IoTWireless::Model::GetServiceEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::GetServiceEndpointRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTWireless::Model::GetServiceEndpointRequest::GetServiceType
const WirelessGatewayServiceType & GetServiceType() const
Definition: GetServiceEndpointRequest.h:46
Aws::IoTWireless::Model::GetServiceEndpointRequest
Definition: GetServiceEndpointRequest.h:26
Aws::IoTWireless::Model::GetServiceEndpointRequest::WithServiceType
GetServiceEndpointRequest & WithServiceType(WirelessGatewayServiceType &&value)
Definition: GetServiceEndpointRequest.h:81
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97