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

The UnlockCode value for the specified job. The * UnlockCode value can be accessed for up to 90 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 90 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 90 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 90 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 90 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 90 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 90 days after the job * has been created.

*/ inline GetJobUnlockCodeResult& WithUnlockCode(const char* value) { SetUnlockCode(value); return *this;} private: Aws::String m_unlockCode; }; } // namespace Model } // namespace Snowball } // namespace Aws