/** * 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 Snowball { namespace Model { class AWS_SNOWBALL_API DescribeJobResult { public: DescribeJobResult(); DescribeJobResult(const Aws::AmazonWebServiceResult& result); 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; } private: JobMetadata m_jobMetadata; Aws::Vector m_subJobMetadata; }; } // namespace Model } // namespace Snowball } // namespace Aws