AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
GetConnectionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-data/IoTDataPlaneRequest.h>
9#include <aws/iot-data/IoTDataPlane_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace IoTDataPlane {
18namespace Model {
19
23 public:
24 AWS_IOTDATAPLANE_API GetConnectionRequest() = 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 "GetConnection"; }
31
32 AWS_IOTDATAPLANE_API Aws::String SerializePayload() const override;
33
34 AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
43 inline const Aws::String& GetClientId() const { return m_clientId; }
44 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
45 template <typename ClientIdT = Aws::String>
46 void SetClientId(ClientIdT&& value) {
47 m_clientIdHasBeenSet = true;
48 m_clientId = std::forward<ClientIdT>(value);
49 }
50 template <typename ClientIdT = Aws::String>
51 GetConnectionRequest& WithClientId(ClientIdT&& value) {
52 SetClientId(std::forward<ClientIdT>(value));
53 return *this;
54 }
56
58
66 inline bool GetIncludeSocketInformation() const { return m_includeSocketInformation; }
67 inline bool IncludeSocketInformationHasBeenSet() const { return m_includeSocketInformationHasBeenSet; }
68 inline void SetIncludeSocketInformation(bool value) {
69 m_includeSocketInformationHasBeenSet = true;
70 m_includeSocketInformation = value;
71 }
74 return *this;
75 }
77 private:
78 Aws::String m_clientId;
79
80 bool m_includeSocketInformation{false};
81 bool m_clientIdHasBeenSet = false;
82 bool m_includeSocketInformationHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace IoTDataPlane
87} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_IOTDATAPLANE_API GetConnectionRequest()=default
AWS_IOTDATAPLANE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetConnectionRequest & WithClientId(ClientIdT &&value)
GetConnectionRequest & WithIncludeSocketInformation(bool value)
AWS_IOTDATAPLANE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String