/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Proton { namespace Model { class GetRepositorySyncStatusResult { public: AWS_PROTON_API GetRepositorySyncStatusResult(); AWS_PROTON_API GetRepositorySyncStatusResult(const Aws::AmazonWebServiceResult& result); AWS_PROTON_API GetRepositorySyncStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The repository sync status detail data that's returned by Proton.

*/ inline const RepositorySyncAttempt& GetLatestSync() const{ return m_latestSync; } /** *

The repository sync status detail data that's returned by Proton.

*/ inline void SetLatestSync(const RepositorySyncAttempt& value) { m_latestSync = value; } /** *

The repository sync status detail data that's returned by Proton.

*/ inline void SetLatestSync(RepositorySyncAttempt&& value) { m_latestSync = std::move(value); } /** *

The repository sync status detail data that's returned by Proton.

*/ inline GetRepositorySyncStatusResult& WithLatestSync(const RepositorySyncAttempt& value) { SetLatestSync(value); return *this;} /** *

The repository sync status detail data that's returned by Proton.

*/ inline GetRepositorySyncStatusResult& WithLatestSync(RepositorySyncAttempt&& value) { SetLatestSync(std::move(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 GetRepositorySyncStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRepositorySyncStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRepositorySyncStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RepositorySyncAttempt m_latestSync; Aws::String m_requestId; }; } // namespace Model } // namespace Proton } // namespace Aws