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

The result returned by the test.

*/ inline const Aws::String& GetResult() const{ return m_result; } /** *

The result returned by the test.

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

The result returned by the test.

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

The result returned by the test.

*/ inline void SetResult(const char* value) { m_result.assign(value); } /** *

The result returned by the test.

*/ inline TestWirelessDeviceResult& WithResult(const Aws::String& value) { SetResult(value); return *this;} /** *

The result returned by the test.

*/ inline TestWirelessDeviceResult& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;} /** *

The result returned by the test.

*/ inline TestWirelessDeviceResult& WithResult(const char* value) { SetResult(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 TestWirelessDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline TestWirelessDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline TestWirelessDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_result; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws