1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/iot1click-devices/IoT1ClickDevicesService_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace IoT1ClickDevicesService 24 { 25 namespace Model 26 { 27 class AWS_IOT1CLICKDEVICESSERVICE_API UnclaimDeviceResult 28 { 29 public: 30 UnclaimDeviceResult(); 31 UnclaimDeviceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 UnclaimDeviceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The device's final claim state.</p> 37 */ GetState()38 inline const Aws::String& GetState() const{ return m_state; } 39 40 /** 41 * <p>The device's final claim state.</p> 42 */ SetState(const Aws::String & value)43 inline void SetState(const Aws::String& value) { m_state = value; } 44 45 /** 46 * <p>The device's final claim state.</p> 47 */ SetState(Aws::String && value)48 inline void SetState(Aws::String&& value) { m_state = std::move(value); } 49 50 /** 51 * <p>The device's final claim state.</p> 52 */ SetState(const char * value)53 inline void SetState(const char* value) { m_state.assign(value); } 54 55 /** 56 * <p>The device's final claim state.</p> 57 */ WithState(const Aws::String & value)58 inline UnclaimDeviceResult& WithState(const Aws::String& value) { SetState(value); return *this;} 59 60 /** 61 * <p>The device's final claim state.</p> 62 */ WithState(Aws::String && value)63 inline UnclaimDeviceResult& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} 64 65 /** 66 * <p>The device's final claim state.</p> 67 */ WithState(const char * value)68 inline UnclaimDeviceResult& WithState(const char* value) { SetState(value); return *this;} 69 70 private: 71 72 Aws::String m_state; 73 }; 74 75 } // namespace Model 76 } // namespace IoT1ClickDevicesService 77 } // namespace Aws 78