AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetServiceEndpointRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWirelessRequest.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/WirelessGatewayServiceType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace IoTWireless {
18namespace Model {
19
23 public:
24 AWS_IOTWIRELESS_API GetServiceEndpointRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetServiceEndpoint"; }
31
32 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
33
34 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
42 inline WirelessGatewayServiceType GetServiceType() const { return m_serviceType; }
43 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
45 m_serviceTypeHasBeenSet = true;
46 m_serviceType = value;
47 }
49 SetServiceType(value);
50 return *this;
51 }
53 private:
55 bool m_serviceTypeHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace IoTWireless
60} // namespace Aws
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetServiceEndpointRequest & WithServiceType(WirelessGatewayServiceType value)
void SetServiceType(WirelessGatewayServiceType value)
virtual const char * GetServiceRequestName() const override
AWS_IOTWIRELESS_API GetServiceEndpointRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String