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-iot/include/aws/iot/model/CancelJobResult.h

154 lines
4.1 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/iot/IoT_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 IoT
{
namespace Model
{
class AWS_IOT_API CancelJobResult
{
public:
CancelJobResult();
CancelJobResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelJobResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The job ARN.</p>
*/
inline const Aws::String& GetJobArn() const{ return m_jobArn; }
/**
* <p>The job ARN.</p>
*/
inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
/**
* <p>The job ARN.</p>
*/
inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
/**
* <p>The job ARN.</p>
*/
inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
/**
* <p>The job ARN.</p>
*/
inline CancelJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
/**
* <p>The job ARN.</p>
*/
inline CancelJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
/**
* <p>The job ARN.</p>
*/
inline CancelJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
/**
* <p>The unique identifier you assigned to this job when it was created.</p>
*/
inline const Aws::String& GetJobId() const{ return m_jobId; }
/**
* <p>The unique identifier you assigned to this job when it was created.</p>
*/
inline void SetJobId(const Aws::String& value) { m_jobId = value; }
/**
* <p>The unique identifier you assigned to this job when it was created.</p>
*/
inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
/**
* <p>The unique identifier you assigned to this job when it was created.</p>
*/
inline void SetJobId(const char* value) { m_jobId.assign(value); }
/**
* <p>The unique identifier you assigned to this job when it was created.</p>
*/
inline CancelJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
/**
* <p>The unique identifier you assigned to this job when it was created.</p>
*/
inline CancelJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
/**
* <p>The unique identifier you assigned to this job when it was created.</p>
*/
inline CancelJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
/**
* <p>A short text description of the job.</p>
*/
inline const Aws::String& GetDescription() const{ return m_description; }
/**
* <p>A short text description of the job.</p>
*/
inline void SetDescription(const Aws::String& value) { m_description = value; }
/**
* <p>A short text description of the job.</p>
*/
inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
/**
* <p>A short text description of the job.</p>
*/
inline void SetDescription(const char* value) { m_description.assign(value); }
/**
* <p>A short text description of the job.</p>
*/
inline CancelJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
/**
* <p>A short text description of the job.</p>
*/
inline CancelJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
/**
* <p>A short text description of the job.</p>
*/
inline CancelJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
private:
Aws::String m_jobArn;
Aws::String m_jobId;
Aws::String m_description;
};
} // namespace Model
} // namespace IoT
} // namespace Aws