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

The Amazon S3 presigned URL for the update file associated with the specified * JobId value. The software update will be available for 2 days after * this request is made. To access an update after the 2 days have passed, you'll * have to make another call to GetSoftwareUpdates.

*/ inline const Aws::String& GetUpdatesURI() const{ return m_updatesURI; } /** *

The Amazon S3 presigned URL for the update file associated with the specified * JobId value. The software update will be available for 2 days after * this request is made. To access an update after the 2 days have passed, you'll * have to make another call to GetSoftwareUpdates.

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

The Amazon S3 presigned URL for the update file associated with the specified * JobId value. The software update will be available for 2 days after * this request is made. To access an update after the 2 days have passed, you'll * have to make another call to GetSoftwareUpdates.

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

The Amazon S3 presigned URL for the update file associated with the specified * JobId value. The software update will be available for 2 days after * this request is made. To access an update after the 2 days have passed, you'll * have to make another call to GetSoftwareUpdates.

*/ inline void SetUpdatesURI(const char* value) { m_updatesURI.assign(value); } /** *

The Amazon S3 presigned URL for the update file associated with the specified * JobId value. The software update will be available for 2 days after * this request is made. To access an update after the 2 days have passed, you'll * have to make another call to GetSoftwareUpdates.

*/ inline GetSoftwareUpdatesResult& WithUpdatesURI(const Aws::String& value) { SetUpdatesURI(value); return *this;} /** *

The Amazon S3 presigned URL for the update file associated with the specified * JobId value. The software update will be available for 2 days after * this request is made. To access an update after the 2 days have passed, you'll * have to make another call to GetSoftwareUpdates.

*/ inline GetSoftwareUpdatesResult& WithUpdatesURI(Aws::String&& value) { SetUpdatesURI(std::move(value)); return *this;} /** *

The Amazon S3 presigned URL for the update file associated with the specified * JobId value. The software update will be available for 2 days after * this request is made. To access an update after the 2 days have passed, you'll * have to make another call to GetSoftwareUpdates.

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