/** * 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 SagemakerEdgeManager { namespace Model { class GetDeviceRegistrationResult { public: AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult(); AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKEREDGEMANAGER_API GetDeviceRegistrationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes if the device is currently registered with SageMaker Edge * Manager.

*/ inline const Aws::String& GetDeviceRegistration() const{ return m_deviceRegistration; } /** *

Describes if the device is currently registered with SageMaker Edge * Manager.

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

Describes if the device is currently registered with SageMaker Edge * Manager.

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

Describes if the device is currently registered with SageMaker Edge * Manager.

*/ inline void SetDeviceRegistration(const char* value) { m_deviceRegistration.assign(value); } /** *

Describes if the device is currently registered with SageMaker Edge * Manager.

*/ inline GetDeviceRegistrationResult& WithDeviceRegistration(const Aws::String& value) { SetDeviceRegistration(value); return *this;} /** *

Describes if the device is currently registered with SageMaker Edge * Manager.

*/ inline GetDeviceRegistrationResult& WithDeviceRegistration(Aws::String&& value) { SetDeviceRegistration(std::move(value)); return *this;} /** *

Describes if the device is currently registered with SageMaker Edge * Manager.

*/ inline GetDeviceRegistrationResult& WithDeviceRegistration(const char* value) { SetDeviceRegistration(value); return *this;} /** *

The amount of time, in seconds, that the registration status is stored on the * device’s cache before it is refreshed.

*/ inline const Aws::String& GetCacheTTL() const{ return m_cacheTTL; } /** *

The amount of time, in seconds, that the registration status is stored on the * device’s cache before it is refreshed.

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

The amount of time, in seconds, that the registration status is stored on the * device’s cache before it is refreshed.

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

The amount of time, in seconds, that the registration status is stored on the * device’s cache before it is refreshed.

*/ inline void SetCacheTTL(const char* value) { m_cacheTTL.assign(value); } /** *

The amount of time, in seconds, that the registration status is stored on the * device’s cache before it is refreshed.

*/ inline GetDeviceRegistrationResult& WithCacheTTL(const Aws::String& value) { SetCacheTTL(value); return *this;} /** *

The amount of time, in seconds, that the registration status is stored on the * device’s cache before it is refreshed.

*/ inline GetDeviceRegistrationResult& WithCacheTTL(Aws::String&& value) { SetCacheTTL(std::move(value)); return *this;} /** *

The amount of time, in seconds, that the registration status is stored on the * device’s cache before it is refreshed.

*/ inline GetDeviceRegistrationResult& WithCacheTTL(const char* value) { SetCacheTTL(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 GetDeviceRegistrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDeviceRegistrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDeviceRegistrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_deviceRegistration; Aws::String m_cacheTTL; Aws::String m_requestId; }; } // namespace Model } // namespace SagemakerEdgeManager } // namespace Aws