AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
GetThingConnectivityDataRequest.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 IoT {
15namespace Model {
16
20 public:
21 AWS_IOT_API GetThingConnectivityDataRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetThingConnectivityData"; }
28
29 AWS_IOT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetThingName() const { return m_thingName; }
36 inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
37 template <typename ThingNameT = Aws::String>
38 void SetThingName(ThingNameT&& value) {
39 m_thingNameHasBeenSet = true;
40 m_thingName = std::forward<ThingNameT>(value);
41 }
42 template <typename ThingNameT = Aws::String>
44 SetThingName(std::forward<ThingNameT>(value));
45 return *this;
46 }
48
50
56 inline bool GetIncludeSocketInformation() const { return m_includeSocketInformation; }
57 inline bool IncludeSocketInformationHasBeenSet() const { return m_includeSocketInformationHasBeenSet; }
58 inline void SetIncludeSocketInformation(bool value) {
59 m_includeSocketInformationHasBeenSet = true;
60 m_includeSocketInformation = value;
61 }
64 return *this;
65 }
67 private:
68 Aws::String m_thingName;
69
70 bool m_includeSocketInformation{false};
71 bool m_thingNameHasBeenSet = false;
72 bool m_includeSocketInformationHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
GetThingConnectivityDataRequest & WithThingName(ThingNameT &&value)
GetThingConnectivityDataRequest & WithIncludeSocketInformation(bool value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String