AWS SDK for C++  1.9.104
AWS SDK for C++
CreateWirelessGatewayTaskResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetWirelessGatewayTaskDefinitionId() const{ return m_wirelessGatewayTaskDefinitionId; }
40 
44  inline void SetWirelessGatewayTaskDefinitionId(const Aws::String& value) { m_wirelessGatewayTaskDefinitionId = value; }
45 
49  inline void SetWirelessGatewayTaskDefinitionId(Aws::String&& value) { m_wirelessGatewayTaskDefinitionId = std::move(value); }
50 
54  inline void SetWirelessGatewayTaskDefinitionId(const char* value) { m_wirelessGatewayTaskDefinitionId.assign(value); }
55 
59  inline CreateWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(const Aws::String& value) { SetWirelessGatewayTaskDefinitionId(value); return *this;}
60 
64  inline CreateWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(Aws::String&& value) { SetWirelessGatewayTaskDefinitionId(std::move(value)); return *this;}
65 
69  inline CreateWirelessGatewayTaskResult& WithWirelessGatewayTaskDefinitionId(const char* value) { SetWirelessGatewayTaskDefinitionId(value); return *this;}
70 
71 
75  inline const WirelessGatewayTaskStatus& GetStatus() const{ return m_status; }
76 
80  inline void SetStatus(const WirelessGatewayTaskStatus& value) { m_status = value; }
81 
85  inline void SetStatus(WirelessGatewayTaskStatus&& value) { m_status = std::move(value); }
86 
90  inline CreateWirelessGatewayTaskResult& WithStatus(const WirelessGatewayTaskStatus& value) { SetStatus(value); return *this;}
91 
95  inline CreateWirelessGatewayTaskResult& WithStatus(WirelessGatewayTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_wirelessGatewayTaskDefinitionId;
100 
101  WirelessGatewayTaskStatus m_status;
102  };
103 
104 } // namespace Model
105 } // namespace IoTWireless
106 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::WithStatus
CreateWirelessGatewayTaskResult & WithStatus(WirelessGatewayTaskStatus &&value)
Definition: CreateWirelessGatewayTaskResult.h:95
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::SetStatus
void SetStatus(const WirelessGatewayTaskStatus &value)
Definition: CreateWirelessGatewayTaskResult.h:80
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::SetWirelessGatewayTaskDefinitionId
void SetWirelessGatewayTaskDefinitionId(Aws::String &&value)
Definition: CreateWirelessGatewayTaskResult.h:49
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::GetWirelessGatewayTaskDefinitionId
const Aws::String & GetWirelessGatewayTaskDefinitionId() const
Definition: CreateWirelessGatewayTaskResult.h:39
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::SetWirelessGatewayTaskDefinitionId
void SetWirelessGatewayTaskDefinitionId(const Aws::String &value)
Definition: CreateWirelessGatewayTaskResult.h:44
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::CreateWirelessGatewayTaskResult
CreateWirelessGatewayTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::operator=
CreateWirelessGatewayTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::SetStatus
void SetStatus(WirelessGatewayTaskStatus &&value)
Definition: CreateWirelessGatewayTaskResult.h:85
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::GetStatus
const WirelessGatewayTaskStatus & GetStatus() const
Definition: CreateWirelessGatewayTaskResult.h:75
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::WithWirelessGatewayTaskDefinitionId
CreateWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(const Aws::String &value)
Definition: CreateWirelessGatewayTaskResult.h:59
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::WithWirelessGatewayTaskDefinitionId
CreateWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(Aws::String &&value)
Definition: CreateWirelessGatewayTaskResult.h:64
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult
Definition: CreateWirelessGatewayTaskResult.h:29
AWSString.h
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::SetWirelessGatewayTaskDefinitionId
void SetWirelessGatewayTaskDefinitionId(const char *value)
Definition: CreateWirelessGatewayTaskResult.h:54
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::WithStatus
CreateWirelessGatewayTaskResult & WithStatus(const WirelessGatewayTaskStatus &value)
Definition: CreateWirelessGatewayTaskResult.h:90
Aws::IoTWireless::Model::WirelessGatewayTaskStatus
WirelessGatewayTaskStatus
Definition: WirelessGatewayTaskStatus.h:17
WirelessGatewayTaskStatus.h
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::CreateWirelessGatewayTaskResult
CreateWirelessGatewayTaskResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::CreateWirelessGatewayTaskResult::WithWirelessGatewayTaskDefinitionId
CreateWirelessGatewayTaskResult & WithWirelessGatewayTaskDefinitionId(const char *value)
Definition: CreateWirelessGatewayTaskResult.h:69