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

Information about a specific job, including shipping information, job status, * and other important metadata.

*/ inline const JobMetadata& GetJobMetadata() const{ return m_jobMetadata; } /** *

Information about a specific job, including shipping information, job status, * and other important metadata.

*/ inline void SetJobMetadata(const JobMetadata& value) { m_jobMetadata = value; } /** *

Information about a specific job, including shipping information, job status, * and other important metadata.

*/ inline void SetJobMetadata(JobMetadata&& value) { m_jobMetadata = std::move(value); } /** *

Information about a specific job, including shipping information, job status, * and other important metadata.

*/ inline DescribeJobResult& WithJobMetadata(const JobMetadata& value) { SetJobMetadata(value); return *this;} /** *

Information about a specific job, including shipping information, job status, * and other important metadata.

*/ inline DescribeJobResult& WithJobMetadata(JobMetadata&& value) { SetJobMetadata(std::move(value)); return *this;} /** *

Information about a specific job part (in the case of an export job), * including shipping information, job status, and other important metadata.

*/ inline const Aws::Vector& GetSubJobMetadata() const{ return m_subJobMetadata; } /** *

Information about a specific job part (in the case of an export job), * including shipping information, job status, and other important metadata.

*/ inline void SetSubJobMetadata(const Aws::Vector& value) { m_subJobMetadata = value; } /** *

Information about a specific job part (in the case of an export job), * including shipping information, job status, and other important metadata.

*/ inline void SetSubJobMetadata(Aws::Vector&& value) { m_subJobMetadata = std::move(value); } /** *

Information about a specific job part (in the case of an export job), * including shipping information, job status, and other important metadata.

*/ inline DescribeJobResult& WithSubJobMetadata(const Aws::Vector& value) { SetSubJobMetadata(value); return *this;} /** *

Information about a specific job part (in the case of an export job), * including shipping information, job status, and other important metadata.

*/ inline DescribeJobResult& WithSubJobMetadata(Aws::Vector&& value) { SetSubJobMetadata(std::move(value)); return *this;} /** *

Information about a specific job part (in the case of an export job), * including shipping information, job status, and other important metadata.

*/ inline DescribeJobResult& AddSubJobMetadata(const JobMetadata& value) { m_subJobMetadata.push_back(value); return *this; } /** *

Information about a specific job part (in the case of an export job), * including shipping information, job status, and other important metadata.

*/ inline DescribeJobResult& AddSubJobMetadata(JobMetadata&& value) { m_subJobMetadata.push_back(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 DescribeJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: JobMetadata m_jobMetadata; Aws::Vector m_subJobMetadata; Aws::String m_requestId; }; } // namespace Model } // namespace Snowball } // namespace Aws