350 lines
11 KiB
C++
350 lines
11 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/sagemaker/model/AutoMLJobStatus.h>
|
|
#include <aws/sagemaker/model/AutoMLJobSecondaryStatus.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SageMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Provides a summary about a job.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AutoMLJobSummary">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SAGEMAKER_API AutoMLJobSummary
|
|
{
|
|
public:
|
|
AutoMLJobSummary();
|
|
AutoMLJobSummary(Aws::Utils::Json::JsonView jsonValue);
|
|
AutoMLJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline const Aws::String& GetAutoMLJobName() const{ return m_autoMLJobName; }
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline bool AutoMLJobNameHasBeenSet() const { return m_autoMLJobNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline void SetAutoMLJobName(const Aws::String& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = value; }
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline void SetAutoMLJobName(Aws::String&& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline void SetAutoMLJobName(const char* value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobName(const Aws::String& value) { SetAutoMLJobName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobName(Aws::String&& value) { SetAutoMLJobName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the object you are requesting.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobName(const char* value) { SetAutoMLJobName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline const Aws::String& GetAutoMLJobArn() const{ return m_autoMLJobArn; }
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline bool AutoMLJobArnHasBeenSet() const { return m_autoMLJobArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline void SetAutoMLJobArn(const Aws::String& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline void SetAutoMLJobArn(Aws::String&& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline void SetAutoMLJobArn(const char* value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobArn(const Aws::String& value) { SetAutoMLJobArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobArn(Aws::String&& value) { SetAutoMLJobArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobArn(const char* value) { SetAutoMLJobArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The job's status.</p>
|
|
*/
|
|
inline const AutoMLJobStatus& GetAutoMLJobStatus() const{ return m_autoMLJobStatus; }
|
|
|
|
/**
|
|
* <p>The job's status.</p>
|
|
*/
|
|
inline bool AutoMLJobStatusHasBeenSet() const { return m_autoMLJobStatusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The job's status.</p>
|
|
*/
|
|
inline void SetAutoMLJobStatus(const AutoMLJobStatus& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = value; }
|
|
|
|
/**
|
|
* <p>The job's status.</p>
|
|
*/
|
|
inline void SetAutoMLJobStatus(AutoMLJobStatus&& value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = std::move(value); }
|
|
|
|
/**
|
|
* <p>The job's status.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobStatus(const AutoMLJobStatus& value) { SetAutoMLJobStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The job's status.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobStatus(AutoMLJobStatus&& value) { SetAutoMLJobStatus(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The job's secondary status.</p>
|
|
*/
|
|
inline const AutoMLJobSecondaryStatus& GetAutoMLJobSecondaryStatus() const{ return m_autoMLJobSecondaryStatus; }
|
|
|
|
/**
|
|
* <p>The job's secondary status.</p>
|
|
*/
|
|
inline bool AutoMLJobSecondaryStatusHasBeenSet() const { return m_autoMLJobSecondaryStatusHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The job's secondary status.</p>
|
|
*/
|
|
inline void SetAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = value; }
|
|
|
|
/**
|
|
* <p>The job's secondary status.</p>
|
|
*/
|
|
inline void SetAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = std::move(value); }
|
|
|
|
/**
|
|
* <p>The job's secondary status.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobSecondaryStatus(const AutoMLJobSecondaryStatus& value) { SetAutoMLJobSecondaryStatus(value); return *this;}
|
|
|
|
/**
|
|
* <p>The job's secondary status.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { SetAutoMLJobSecondaryStatus(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>When the job was created.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
|
|
|
|
/**
|
|
* <p>When the job was created.</p>
|
|
*/
|
|
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>When the job was created.</p>
|
|
*/
|
|
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
|
|
|
|
/**
|
|
* <p>When the job was created.</p>
|
|
*/
|
|
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>When the job was created.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>When the job was created.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The end time of an AutoML job.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
|
|
|
|
/**
|
|
* <p>The end time of an AutoML job.</p>
|
|
*/
|
|
inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The end time of an AutoML job.</p>
|
|
*/
|
|
inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
|
|
|
|
/**
|
|
* <p>The end time of an AutoML job.</p>
|
|
*/
|
|
inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>The end time of an AutoML job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>The end time of an AutoML job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>When the job was last modified.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
|
|
|
|
/**
|
|
* <p>When the job was last modified.</p>
|
|
*/
|
|
inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>When the job was last modified.</p>
|
|
*/
|
|
inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
|
|
|
|
/**
|
|
* <p>When the job was last modified.</p>
|
|
*/
|
|
inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
|
|
|
|
/**
|
|
* <p>When the job was last modified.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
|
|
|
|
/**
|
|
* <p>When the job was last modified.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The failure reason of a job.</p>
|
|
*/
|
|
inline AutoMLJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_autoMLJobName;
|
|
bool m_autoMLJobNameHasBeenSet;
|
|
|
|
Aws::String m_autoMLJobArn;
|
|
bool m_autoMLJobArnHasBeenSet;
|
|
|
|
AutoMLJobStatus m_autoMLJobStatus;
|
|
bool m_autoMLJobStatusHasBeenSet;
|
|
|
|
AutoMLJobSecondaryStatus m_autoMLJobSecondaryStatus;
|
|
bool m_autoMLJobSecondaryStatusHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_creationTime;
|
|
bool m_creationTimeHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_endTime;
|
|
bool m_endTimeHasBeenSet;
|
|
|
|
Aws::Utils::DateTime m_lastModifiedTime;
|
|
bool m_lastModifiedTimeHasBeenSet;
|
|
|
|
Aws::String m_failureReason;
|
|
bool m_failureReasonHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SageMaker
|
|
} // namespace Aws
|