AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
DescribeEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace IoT {
18namespace Model {
19
26 public:
27 AWS_IOT_API DescribeEndpointRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpoint"; }
34
35 AWS_IOT_API Aws::String SerializePayload() const override;
36
37 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
52 inline const Aws::String& GetEndpointType() const { return m_endpointType; }
53 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
54 template <typename EndpointTypeT = Aws::String>
55 void SetEndpointType(EndpointTypeT&& value) {
56 m_endpointTypeHasBeenSet = true;
57 m_endpointType = std::forward<EndpointTypeT>(value);
58 }
59 template <typename EndpointTypeT = Aws::String>
60 DescribeEndpointRequest& WithEndpointType(EndpointTypeT&& value) {
61 SetEndpointType(std::forward<EndpointTypeT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_endpointType;
67 bool m_endpointTypeHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace IoT
72} // namespace Aws
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeEndpointRequest & WithEndpointType(EndpointTypeT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_IOT_API DescribeEndpointRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String