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

The job's client token.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The job's client token.

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

The job's client token.

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

The job's client token.

*/ inline void SetClientToken(const char* value) { m_clientToken.assign(value); } /** *

The job's client token.

*/ inline DescribePackageImportJobResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The job's client token.

*/ inline DescribePackageImportJobResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The job's client token.

*/ inline DescribePackageImportJobResult& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

When the job was created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

When the job was created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; } /** *

When the job was created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); } /** *

When the job was created.

*/ inline DescribePackageImportJobResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

When the job was created.

*/ inline DescribePackageImportJobResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The job's input config.

*/ inline const PackageImportJobInputConfig& GetInputConfig() const{ return m_inputConfig; } /** *

The job's input config.

*/ inline void SetInputConfig(const PackageImportJobInputConfig& value) { m_inputConfig = value; } /** *

The job's input config.

*/ inline void SetInputConfig(PackageImportJobInputConfig&& value) { m_inputConfig = std::move(value); } /** *

The job's input config.

*/ inline DescribePackageImportJobResult& WithInputConfig(const PackageImportJobInputConfig& value) { SetInputConfig(value); return *this;} /** *

The job's input config.

*/ inline DescribePackageImportJobResult& WithInputConfig(PackageImportJobInputConfig&& value) { SetInputConfig(std::move(value)); return *this;} /** *

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

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

The job's ID.

*/ inline DescribePackageImportJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The job's tags.

*/ inline const Aws::Vector& GetJobTags() const{ return m_jobTags; } /** *

The job's tags.

*/ inline void SetJobTags(const Aws::Vector& value) { m_jobTags = value; } /** *

The job's tags.

*/ inline void SetJobTags(Aws::Vector&& value) { m_jobTags = std::move(value); } /** *

The job's tags.

*/ inline DescribePackageImportJobResult& WithJobTags(const Aws::Vector& value) { SetJobTags(value); return *this;} /** *

The job's tags.

*/ inline DescribePackageImportJobResult& WithJobTags(Aws::Vector&& value) { SetJobTags(std::move(value)); return *this;} /** *

The job's tags.

*/ inline DescribePackageImportJobResult& AddJobTags(const JobResourceTags& value) { m_jobTags.push_back(value); return *this; } /** *

The job's tags.

*/ inline DescribePackageImportJobResult& AddJobTags(JobResourceTags&& value) { m_jobTags.push_back(std::move(value)); return *this; } /** *

The job's type.

*/ inline const PackageImportJobType& GetJobType() const{ return m_jobType; } /** *

The job's type.

*/ inline void SetJobType(const PackageImportJobType& value) { m_jobType = value; } /** *

The job's type.

*/ inline void SetJobType(PackageImportJobType&& value) { m_jobType = std::move(value); } /** *

The job's type.

*/ inline DescribePackageImportJobResult& WithJobType(const PackageImportJobType& value) { SetJobType(value); return *this;} /** *

The job's type.

*/ inline DescribePackageImportJobResult& WithJobType(PackageImportJobType&& value) { SetJobType(std::move(value)); return *this;} /** *

When the job was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

When the job was updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; } /** *

When the job was updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); } /** *

When the job was updated.

*/ inline DescribePackageImportJobResult& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

When the job was updated.

*/ inline DescribePackageImportJobResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The job's output.

*/ inline const PackageImportJobOutput& GetOutput() const{ return m_output; } /** *

The job's output.

*/ inline void SetOutput(const PackageImportJobOutput& value) { m_output = value; } /** *

The job's output.

*/ inline void SetOutput(PackageImportJobOutput&& value) { m_output = std::move(value); } /** *

The job's output.

*/ inline DescribePackageImportJobResult& WithOutput(const PackageImportJobOutput& value) { SetOutput(value); return *this;} /** *

The job's output.

*/ inline DescribePackageImportJobResult& WithOutput(PackageImportJobOutput&& value) { SetOutput(std::move(value)); return *this;} /** *

The job's output config.

*/ inline const PackageImportJobOutputConfig& GetOutputConfig() const{ return m_outputConfig; } /** *

The job's output config.

*/ inline void SetOutputConfig(const PackageImportJobOutputConfig& value) { m_outputConfig = value; } /** *

The job's output config.

*/ inline void SetOutputConfig(PackageImportJobOutputConfig&& value) { m_outputConfig = std::move(value); } /** *

The job's output config.

*/ inline DescribePackageImportJobResult& WithOutputConfig(const PackageImportJobOutputConfig& value) { SetOutputConfig(value); return *this;} /** *

The job's output config.

*/ inline DescribePackageImportJobResult& WithOutputConfig(PackageImportJobOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;} /** *

The job's status.

*/ inline const PackageImportJobStatus& GetStatus() const{ return m_status; } /** *

The job's status.

*/ inline void SetStatus(const PackageImportJobStatus& value) { m_status = value; } /** *

The job's status.

*/ inline void SetStatus(PackageImportJobStatus&& value) { m_status = std::move(value); } /** *

The job's status.

*/ inline DescribePackageImportJobResult& WithStatus(const PackageImportJobStatus& value) { SetStatus(value); return *this;} /** *

The job's status.

*/ inline DescribePackageImportJobResult& WithStatus(PackageImportJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The job's status message.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The job's status message.

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

The job's status message.

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

The job's status message.

*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *

The job's status message.

*/ inline DescribePackageImportJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The job's status message.

*/ inline DescribePackageImportJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The job's status message.

*/ inline DescribePackageImportJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribePackageImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribePackageImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribePackageImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_clientToken; Aws::Utils::DateTime m_createdTime; PackageImportJobInputConfig m_inputConfig; Aws::String m_jobId; Aws::Vector m_jobTags; PackageImportJobType m_jobType; Aws::Utils::DateTime m_lastUpdatedTime; PackageImportJobOutput m_output; PackageImportJobOutputConfig m_outputConfig; PackageImportJobStatus m_status; Aws::String m_statusMessage; Aws::String m_requestId; }; } // namespace Model } // namespace Panorama } // namespace Aws