AWS SDK for C++  1.9.104
AWS SDK for C++
GetWirelessGatewayRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoTWireless
20 {
21 namespace Model
22 {
23 
27  {
28  public:
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::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetIdentifier() const{ return m_identifier; }
46 
50  inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
51 
55  inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
56 
60  inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
61 
65  inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
66 
70  inline GetWirelessGatewayRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
71 
75  inline GetWirelessGatewayRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
76 
80  inline GetWirelessGatewayRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
81 
82 
86  inline const WirelessGatewayIdType& GetIdentifierType() const{ return m_identifierType; }
87 
91  inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; }
92 
96  inline void SetIdentifierType(const WirelessGatewayIdType& value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; }
97 
101  inline void SetIdentifierType(WirelessGatewayIdType&& value) { m_identifierTypeHasBeenSet = true; m_identifierType = std::move(value); }
102 
106  inline GetWirelessGatewayRequest& WithIdentifierType(const WirelessGatewayIdType& value) { SetIdentifierType(value); return *this;}
107 
111  inline GetWirelessGatewayRequest& WithIdentifierType(WirelessGatewayIdType&& value) { SetIdentifierType(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_identifier;
116  bool m_identifierHasBeenSet;
117 
118  WirelessGatewayIdType m_identifierType;
119  bool m_identifierTypeHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace IoTWireless
124 } // namespace Aws
Aws::IoTWireless::Model::GetWirelessGatewayRequest::SetIdentifierType
void SetIdentifierType(const WirelessGatewayIdType &value)
Definition: GetWirelessGatewayRequest.h:96
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::GetWirelessGatewayRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::GetWirelessGatewayRequest::IdentifierHasBeenSet
bool IdentifierHasBeenSet() const
Definition: GetWirelessGatewayRequest.h:50
Aws::IoTWireless::Model::GetWirelessGatewayRequest::WithIdentifier
GetWirelessGatewayRequest & WithIdentifier(Aws::String &&value)
Definition: GetWirelessGatewayRequest.h:75
Aws::IoTWireless::Model::GetWirelessGatewayRequest::SetIdentifier
void SetIdentifier(const Aws::String &value)
Definition: GetWirelessGatewayRequest.h:55
Aws::IoTWireless::Model::GetWirelessGatewayRequest::IdentifierTypeHasBeenSet
bool IdentifierTypeHasBeenSet() const
Definition: GetWirelessGatewayRequest.h:91
Aws::IoTWireless::Model::GetWirelessGatewayRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetWirelessGatewayRequest.h:35
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetWirelessGatewayRequest::GetWirelessGatewayRequest
GetWirelessGatewayRequest()
Aws::IoTWireless::Model::GetWirelessGatewayRequest::WithIdentifier
GetWirelessGatewayRequest & WithIdentifier(const Aws::String &value)
Definition: GetWirelessGatewayRequest.h:70
Aws::IoTWireless::Model::GetWirelessGatewayRequest::SetIdentifier
void SetIdentifier(Aws::String &&value)
Definition: GetWirelessGatewayRequest.h:60
Aws::IoTWireless::Model::GetWirelessGatewayRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::GetWirelessGatewayRequest::SetIdentifier
void SetIdentifier(const char *value)
Definition: GetWirelessGatewayRequest.h:65
Aws::IoTWireless::Model::WirelessGatewayIdType
WirelessGatewayIdType
Definition: WirelessGatewayIdType.h:17
Aws::IoTWireless::Model::GetWirelessGatewayRequest::WithIdentifierType
GetWirelessGatewayRequest & WithIdentifierType(WirelessGatewayIdType &&value)
Definition: GetWirelessGatewayRequest.h:111
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
AWSString.h
Aws::IoTWireless::Model::GetWirelessGatewayRequest::GetIdentifier
const Aws::String & GetIdentifier() const
Definition: GetWirelessGatewayRequest.h:45
WirelessGatewayIdType.h
Aws::IoTWireless::Model::GetWirelessGatewayRequest
Definition: GetWirelessGatewayRequest.h:27
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetWirelessGatewayRequest::GetIdentifierType
const WirelessGatewayIdType & GetIdentifierType() const
Definition: GetWirelessGatewayRequest.h:86
Aws::IoTWireless::Model::GetWirelessGatewayRequest::WithIdentifier
GetWirelessGatewayRequest & WithIdentifier(const char *value)
Definition: GetWirelessGatewayRequest.h:80
Aws::IoTWireless::Model::GetWirelessGatewayRequest::SetIdentifierType
void SetIdentifierType(WirelessGatewayIdType &&value)
Definition: GetWirelessGatewayRequest.h:101
Aws::IoTWireless::Model::GetWirelessGatewayRequest::WithIdentifierType
GetWirelessGatewayRequest & WithIdentifierType(const WirelessGatewayIdType &value)
Definition: GetWirelessGatewayRequest.h:106