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

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 360 days after the job * has been created.

*/ inline const Aws::String& GetUnlockCode() const{ return m_unlockCode; } /** *

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 360 days after the job * has been created.

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

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 360 days after the job * has been created.

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

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 360 days after the job * has been created.

*/ inline void SetUnlockCode(const char* value) { m_unlockCode.assign(value); } /** *

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 360 days after the job * has been created.

*/ inline GetJobUnlockCodeResult& WithUnlockCode(const Aws::String& value) { SetUnlockCode(value); return *this;} /** *

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 360 days after the job * has been created.

*/ inline GetJobUnlockCodeResult& WithUnlockCode(Aws::String&& value) { SetUnlockCode(std::move(value)); return *this;} /** *

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 360 days after the job * has been created.

*/ inline GetJobUnlockCodeResult& WithUnlockCode(const char* value) { SetUnlockCode(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 GetJobUnlockCodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetJobUnlockCodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetJobUnlockCodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_unlockCode; Aws::String m_requestId; }; } // namespace Model } // namespace Snowball } // namespace Aws