AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWirelessGatewayRequest.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/WirelessGatewayIdType.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 GetWirelessGatewayRequest();
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 "GetWirelessGateway"; }
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 GetWirelessGatewayRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
52 inline GetWirelessGatewayRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
53 inline GetWirelessGatewayRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
55
57
60 inline const WirelessGatewayIdType& GetIdentifierType() const{ return m_identifierType; }
61 inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
62 inline void SetIdentifierType(const WirelessGatewayIdType& value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
63 inline void SetIdentifierType(WirelessGatewayIdType&& value) { m_identifierTypeHasBeenSet = true; m_identifierType = std::move(value); }
65 inline GetWirelessGatewayRequest& WithIdentifierType(WirelessGatewayIdType&& value) { SetIdentifierType(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_identifier;
70 bool m_identifierHasBeenSet = false;
71
72 WirelessGatewayIdType m_identifierType;
73 bool m_identifierTypeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoTWireless
78} // namespace Aws
GetWirelessGatewayRequest & WithIdentifier(Aws::String &&value)
void SetIdentifierType(const WirelessGatewayIdType &value)
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
GetWirelessGatewayRequest & WithIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetWirelessGatewayRequest & WithIdentifierType(const WirelessGatewayIdType &value)
const WirelessGatewayIdType & GetIdentifierType() const
GetWirelessGatewayRequest & WithIdentifierType(WirelessGatewayIdType &&value)
GetWirelessGatewayRequest & WithIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String