This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-snowball/include/aws/snowball/model/DescribeJobResult.h

119 lines
4.2 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/snowball/Snowball_EXPORTS.h>
#include <aws/snowball/model/JobMetadata.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
DescribeJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about a specific job, including shipping information, job status,
* and other important metadata.</p>
*/
inline const JobMetadata& GetJobMetadata() const{ return m_jobMetadata; }
/**
* <p>Information about a specific job, including shipping information, job status,
* and other important metadata.</p>
*/
inline void SetJobMetadata(const JobMetadata& value) { m_jobMetadata = value; }
/**
* <p>Information about a specific job, including shipping information, job status,
* and other important metadata.</p>
*/
inline void SetJobMetadata(JobMetadata&& value) { m_jobMetadata = std::move(value); }
/**
* <p>Information about a specific job, including shipping information, job status,
* and other important metadata.</p>
*/
inline DescribeJobResult& WithJobMetadata(const JobMetadata& value) { SetJobMetadata(value); return *this;}
/**
* <p>Information about a specific job, including shipping information, job status,
* and other important metadata.</p>
*/
inline DescribeJobResult& WithJobMetadata(JobMetadata&& value) { SetJobMetadata(std::move(value)); return *this;}
/**
* <p>Information about a specific job part (in the case of an export job),
* including shipping information, job status, and other important metadata.</p>
*/
inline const Aws::Vector<JobMetadata>& GetSubJobMetadata() const{ return m_subJobMetadata; }
/**
* <p>Information about a specific job part (in the case of an export job),
* including shipping information, job status, and other important metadata.</p>
*/
inline void SetSubJobMetadata(const Aws::Vector<JobMetadata>& value) { m_subJobMetadata = value; }
/**
* <p>Information about a specific job part (in the case of an export job),
* including shipping information, job status, and other important metadata.</p>
*/
inline void SetSubJobMetadata(Aws::Vector<JobMetadata>&& value) { m_subJobMetadata = std::move(value); }
/**
* <p>Information about a specific job part (in the case of an export job),
* including shipping information, job status, and other important metadata.</p>
*/
inline DescribeJobResult& WithSubJobMetadata(const Aws::Vector<JobMetadata>& value) { SetSubJobMetadata(value); return *this;}
/**
* <p>Information about a specific job part (in the case of an export job),
* including shipping information, job status, and other important metadata.</p>
*/
inline DescribeJobResult& WithSubJobMetadata(Aws::Vector<JobMetadata>&& value) { SetSubJobMetadata(std::move(value)); return *this;}
/**
* <p>Information about a specific job part (in the case of an export job),
* including shipping information, job status, and other important metadata.</p>
*/
inline DescribeJobResult& AddSubJobMetadata(const JobMetadata& value) { m_subJobMetadata.push_back(value); return *this; }
/**
* <p>Information about a specific job part (in the case of an export job),
* including shipping information, job status, and other important metadata.</p>
*/
inline DescribeJobResult& AddSubJobMetadata(JobMetadata&& value) { m_subJobMetadata.push_back(std::move(value)); return *this; }
private:
JobMetadata m_jobMetadata;
Aws::Vector<JobMetadata> m_subJobMetadata;
};
} // namespace Model
} // namespace Snowball
} // namespace Aws