/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { class GetWirelessGatewayTaskDefinitionResult { public: AWS_IOTWIRELESS_API GetWirelessGatewayTaskDefinitionResult(); AWS_IOTWIRELESS_API GetWirelessGatewayTaskDefinitionResult(const Aws::AmazonWebServiceResult& result); AWS_IOTWIRELESS_API GetWirelessGatewayTaskDefinitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Whether to automatically create tasks using this task definition for all * gateways with the specified current version. If false, the task * must me created by calling CreateWirelessGatewayTask.

*/ inline bool GetAutoCreateTasks() const{ return m_autoCreateTasks; } /** *

Whether to automatically create tasks using this task definition for all * gateways with the specified current version. If false, the task * must me created by calling CreateWirelessGatewayTask.

*/ inline void SetAutoCreateTasks(bool value) { m_autoCreateTasks = value; } /** *

Whether to automatically create tasks using this task definition for all * gateways with the specified current version. If false, the task * must me created by calling CreateWirelessGatewayTask.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithAutoCreateTasks(bool value) { SetAutoCreateTasks(value); return *this;} /** *

The name of the resource.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the resource.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the resource.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the resource.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the resource.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the resource.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the resource.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithName(const char* value) { SetName(value); return *this;} /** *

Information about the gateways to update.

*/ inline const UpdateWirelessGatewayTaskCreate& GetUpdate() const{ return m_update; } /** *

Information about the gateways to update.

*/ inline void SetUpdate(const UpdateWirelessGatewayTaskCreate& value) { m_update = value; } /** *

Information about the gateways to update.

*/ inline void SetUpdate(UpdateWirelessGatewayTaskCreate&& value) { m_update = std::move(value); } /** *

Information about the gateways to update.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithUpdate(const UpdateWirelessGatewayTaskCreate& value) { SetUpdate(value); return *this;} /** *

Information about the gateways to update.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithUpdate(UpdateWirelessGatewayTaskCreate&& value) { SetUpdate(std::move(value)); return *this;} /** *

The Amazon Resource Name of the resource.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name of the resource.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name of the resource.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name of the resource.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name of the resource.

*/ inline GetWirelessGatewayTaskDefinitionResult& WithArn(const char* value) { SetArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetWirelessGatewayTaskDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWirelessGatewayTaskDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWirelessGatewayTaskDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_autoCreateTasks; Aws::String m_name; UpdateWirelessGatewayTaskCreate m_update; Aws::String m_arn; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws