AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWirelessDeviceRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/WirelessDeviceIdType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTWireless
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTWIRELESS_API GetWirelessDeviceRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetWirelessDevice"; }
36
37 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
38
39 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
47 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
48 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
49 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
50 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
51 inline GetWirelessDeviceRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
52 inline GetWirelessDeviceRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
53 inline GetWirelessDeviceRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
55
57
60 inline const WirelessDeviceIdType& GetIdentifierType() const{ return m_identifierType; }
61 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
62 inline void SetIdentifierType(const WirelessDeviceIdType& value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
63 inline void SetIdentifierType(WirelessDeviceIdType&& value) { m_identifierTypeHasBeenSet = true; m_identifierType = std::move(value); }
65 inline GetWirelessDeviceRequest& WithIdentifierType(WirelessDeviceIdType&& value) { SetIdentifierType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_identifier;
70 bool m_identifierHasBeenSet = false;
71
72 WirelessDeviceIdType m_identifierType;
73 bool m_identifierTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTWireless
78} // namespace Aws
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetIdentifierType(const WirelessDeviceIdType &value)
GetWirelessDeviceRequest & WithIdentifier(const Aws::String &value)
GetWirelessDeviceRequest & WithIdentifierType(const WirelessDeviceIdType &value)
GetWirelessDeviceRequest & WithIdentifier(Aws::String &&value)
const WirelessDeviceIdType & GetIdentifierType() const
GetWirelessDeviceRequest & WithIdentifierType(WirelessDeviceIdType &&value)
GetWirelessDeviceRequest & WithIdentifier(const char *value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String