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-batch/include/aws/batch/model/SubmitJobResult.h

116 lines
2.8 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/batch/Batch_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Batch
{
namespace Model
{
class AWS_BATCH_API SubmitJobResult
{
public:
SubmitJobResult();
SubmitJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
SubmitJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the job.</p>
*/
inline const Aws::String& GetJobName() const{ return m_jobName; }
/**
* <p>The name of the job.</p>
*/
inline void SetJobName(const Aws::String& value) { m_jobName = value; }
/**
* <p>The name of the job.</p>
*/
inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
/**
* <p>The name of the job.</p>
*/
inline void SetJobName(const char* value) { m_jobName.assign(value); }
/**
* <p>The name of the job.</p>
*/
inline SubmitJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
/**
* <p>The name of the job.</p>
*/
inline SubmitJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
/**
* <p>The name of the job.</p>
*/
inline SubmitJobResult& WithJobName(const char* value) { SetJobName(value); return *this;}
/**
* <p>The unique identifier for the job.</p>
*/
inline const Aws::String& GetJobId() const{ return m_jobId; }
/**
* <p>The unique identifier for the job.</p>
*/
inline void SetJobId(const Aws::String& value) { m_jobId = value; }
/**
* <p>The unique identifier for the job.</p>
*/
inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
/**
* <p>The unique identifier for the job.</p>
*/
inline void SetJobId(const char* value) { m_jobId.assign(value); }
/**
* <p>The unique identifier for the job.</p>
*/
inline SubmitJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
/**
* <p>The unique identifier for the job.</p>
*/
inline SubmitJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
/**
* <p>The unique identifier for the job.</p>
*/
inline SubmitJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
private:
Aws::String m_jobName;
Aws::String m_jobId;
};
} // namespace Model
} // namespace Batch
} // namespace Aws