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

The ID for this job. Amazon S3 generates this ID automatically and returns it * after a successful Create Job request.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The ID for this job. Amazon S3 generates this ID automatically and returns it * after a successful Create Job request.

*/ inline void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The ID for this job. Amazon S3 generates this ID automatically and returns it * after a successful Create Job request.

*/ inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } /** *

The ID for this job. Amazon S3 generates this ID automatically and returns it * after a successful Create Job request.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The ID for this job. Amazon S3 generates this ID automatically and returns it * after a successful Create Job request.

*/ inline CreateJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The ID for this job. Amazon S3 generates this ID automatically and returns it * after a successful Create Job request.

*/ inline CreateJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The ID for this job. Amazon S3 generates this ID automatically and returns it * after a successful Create Job request.

*/ inline CreateJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} private: Aws::String m_jobId; }; } // namespace Model } // namespace S3Control } // namespace Aws