AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetWirelessGatewayTaskDefinitionResult.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/model/UpdateWirelessGatewayTaskCreate.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTWIRELESS_API GetWirelessGatewayTaskDefinitionResult() = default;
34
35
37
42 inline bool GetAutoCreateTasks() const { return m_autoCreateTasks; }
43 inline void SetAutoCreateTasks(bool value) { m_autoCreateTasksHasBeenSet = true; m_autoCreateTasks = value; }
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 template<typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
54 template<typename NameT = Aws::String>
55 GetWirelessGatewayTaskDefinitionResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
57
59
62 inline const UpdateWirelessGatewayTaskCreate& GetUpdate() const { return m_update; }
63 template<typename UpdateT = UpdateWirelessGatewayTaskCreate>
64 void SetUpdate(UpdateT&& value) { m_updateHasBeenSet = true; m_update = std::forward<UpdateT>(value); }
65 template<typename UpdateT = UpdateWirelessGatewayTaskCreate>
66 GetWirelessGatewayTaskDefinitionResult& WithUpdate(UpdateT&& value) { SetUpdate(std::forward<UpdateT>(value)); return *this;}
68
70
73 inline const Aws::String& GetArn() const { return m_arn; }
74 template<typename ArnT = Aws::String>
75 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
76 template<typename ArnT = Aws::String>
77 GetWirelessGatewayTaskDefinitionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const { return m_requestId; }
83 template<typename RequestIdT = Aws::String>
84 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
85 template<typename RequestIdT = Aws::String>
86 GetWirelessGatewayTaskDefinitionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
88 private:
89
90 bool m_autoCreateTasks{false};
91 bool m_autoCreateTasksHasBeenSet = false;
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 UpdateWirelessGatewayTaskCreate m_update;
97 bool m_updateHasBeenSet = false;
98
99 Aws::String m_arn;
100 bool m_arnHasBeenSet = false;
101
102 Aws::String m_requestId;
103 bool m_requestIdHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTWireless
108} // namespace Aws
GetWirelessGatewayTaskDefinitionResult & WithRequestId(RequestIdT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayTaskDefinitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTWIRELESS_API GetWirelessGatewayTaskDefinitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWirelessGatewayTaskDefinitionResult & WithUpdate(UpdateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue