AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeEndpointRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoT
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "DescribeEndpoint"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
55  inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
56 
68  inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
69 
81  inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
82 
94  inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
95 
107  inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
108 
120  inline DescribeEndpointRequest& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
121 
133  inline DescribeEndpointRequest& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
134 
146  inline DescribeEndpointRequest& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
147 
148  private:
149 
150  Aws::String m_endpointType;
151  bool m_endpointTypeHasBeenSet;
152  };
153 
154 } // namespace Model
155 } // namespace IoT
156 } // namespace Aws
Aws::IoT::Model::DescribeEndpointRequest::GetEndpointType
const Aws::String & GetEndpointType() const
Definition: DescribeEndpointRequest.h:55
Aws::Http::URI
Definition: URI.h:32
Aws::IoT::Model::DescribeEndpointRequest::WithEndpointType
DescribeEndpointRequest & WithEndpointType(const Aws::String &value)
Definition: DescribeEndpointRequest.h:120
Aws::IoT::Model::DescribeEndpointRequest::SetEndpointType
void SetEndpointType(const Aws::String &value)
Definition: DescribeEndpointRequest.h:81
Aws::IoT::Model::DescribeEndpointRequest
Definition: DescribeEndpointRequest.h:29
Aws::IoT::Model::DescribeEndpointRequest::WithEndpointType
DescribeEndpointRequest & WithEndpointType(Aws::String &&value)
Definition: DescribeEndpointRequest.h:133
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DescribeEndpointRequest::SetEndpointType
void SetEndpointType(Aws::String &&value)
Definition: DescribeEndpointRequest.h:94
Aws::IoT::Model::DescribeEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeEndpointRequest.h:37
Aws::IoT::Model::DescribeEndpointRequest::WithEndpointType
DescribeEndpointRequest & WithEndpointType(const char *value)
Definition: DescribeEndpointRequest.h:146
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeEndpointRequest::DescribeEndpointRequest
DescribeEndpointRequest()
Aws::IoT::Model::DescribeEndpointRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoT::Model::DescribeEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeEndpointRequest::EndpointTypeHasBeenSet
bool EndpointTypeHasBeenSet() const
Definition: DescribeEndpointRequest.h:68
IoTRequest.h
IoT_EXPORTS.h
Aws::IoT::Model::DescribeEndpointRequest::SetEndpointType
void SetEndpointType(const char *value)
Definition: DescribeEndpointRequest.h:107