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-sagemaker/include/aws/sagemaker/model/DescribeTrialResult.h

347 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/TrialSource.h>
#include <aws/core/utils/DateTime.h>
#include <aws/sagemaker/model/UserContext.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
class AWS_SAGEMAKER_API DescribeTrialResult
{
public:
DescribeTrialResult();
DescribeTrialResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeTrialResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the trial.</p>
*/
inline const Aws::String& GetTrialName() const{ return m_trialName; }
/**
* <p>The name of the trial.</p>
*/
inline void SetTrialName(const Aws::String& value) { m_trialName = value; }
/**
* <p>The name of the trial.</p>
*/
inline void SetTrialName(Aws::String&& value) { m_trialName = std::move(value); }
/**
* <p>The name of the trial.</p>
*/
inline void SetTrialName(const char* value) { m_trialName.assign(value); }
/**
* <p>The name of the trial.</p>
*/
inline DescribeTrialResult& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
/**
* <p>The name of the trial.</p>
*/
inline DescribeTrialResult& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
/**
* <p>The name of the trial.</p>
*/
inline DescribeTrialResult& WithTrialName(const char* value) { SetTrialName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the trial.</p>
*/
inline const Aws::String& GetTrialArn() const{ return m_trialArn; }
/**
* <p>The Amazon Resource Name (ARN) of the trial.</p>
*/
inline void SetTrialArn(const Aws::String& value) { m_trialArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the trial.</p>
*/
inline void SetTrialArn(Aws::String&& value) { m_trialArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the trial.</p>
*/
inline void SetTrialArn(const char* value) { m_trialArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the trial.</p>
*/
inline DescribeTrialResult& WithTrialArn(const Aws::String& value) { SetTrialArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the trial.</p>
*/
inline DescribeTrialResult& WithTrialArn(Aws::String&& value) { SetTrialArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the trial.</p>
*/
inline DescribeTrialResult& WithTrialArn(const char* value) { SetTrialArn(value); return *this;}
/**
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't
* specified, <code>TrialName</code> is displayed.</p>
*/
inline const Aws::String& GetDisplayName() const{ return m_displayName; }
/**
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't
* specified, <code>TrialName</code> is displayed.</p>
*/
inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
/**
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't
* specified, <code>TrialName</code> is displayed.</p>
*/
inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
/**
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't
* specified, <code>TrialName</code> is displayed.</p>
*/
inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
/**
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't
* specified, <code>TrialName</code> is displayed.</p>
*/
inline DescribeTrialResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
/**
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't
* specified, <code>TrialName</code> is displayed.</p>
*/
inline DescribeTrialResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
/**
* <p>The name of the trial as displayed. If <code>DisplayName</code> isn't
* specified, <code>TrialName</code> is displayed.</p>
*/
inline DescribeTrialResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
/**
* <p>The name of the experiment the trial is part of.</p>
*/
inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
/**
* <p>The name of the experiment the trial is part of.</p>
*/
inline void SetExperimentName(const Aws::String& value) { m_experimentName = value; }
/**
* <p>The name of the experiment the trial is part of.</p>
*/
inline void SetExperimentName(Aws::String&& value) { m_experimentName = std::move(value); }
/**
* <p>The name of the experiment the trial is part of.</p>
*/
inline void SetExperimentName(const char* value) { m_experimentName.assign(value); }
/**
* <p>The name of the experiment the trial is part of.</p>
*/
inline DescribeTrialResult& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
/**
* <p>The name of the experiment the trial is part of.</p>
*/
inline DescribeTrialResult& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
/**
* <p>The name of the experiment the trial is part of.</p>
*/
inline DescribeTrialResult& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the source and, optionally, the job
* type.</p>
*/
inline const TrialSource& GetSource() const{ return m_source; }
/**
* <p>The Amazon Resource Name (ARN) of the source and, optionally, the job
* type.</p>
*/
inline void SetSource(const TrialSource& value) { m_source = value; }
/**
* <p>The Amazon Resource Name (ARN) of the source and, optionally, the job
* type.</p>
*/
inline void SetSource(TrialSource&& value) { m_source = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the source and, optionally, the job
* type.</p>
*/
inline DescribeTrialResult& WithSource(const TrialSource& value) { SetSource(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the source and, optionally, the job
* type.</p>
*/
inline DescribeTrialResult& WithSource(TrialSource&& value) { SetSource(std::move(value)); return *this;}
/**
* <p>When the trial was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>When the trial was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
/**
* <p>When the trial was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
/**
* <p>When the trial was created.</p>
*/
inline DescribeTrialResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>When the trial was created.</p>
*/
inline DescribeTrialResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>Who created the trial.</p>
*/
inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
/**
* <p>Who created the trial.</p>
*/
inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
/**
* <p>Who created the trial.</p>
*/
inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
/**
* <p>Who created the trial.</p>
*/
inline DescribeTrialResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
/**
* <p>Who created the trial.</p>
*/
inline DescribeTrialResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
/**
* <p>When the trial was last modified.</p>
*/
inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
/**
* <p>When the trial was last modified.</p>
*/
inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
/**
* <p>When the trial was last modified.</p>
*/
inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
/**
* <p>When the trial was last modified.</p>
*/
inline DescribeTrialResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
/**
* <p>When the trial was last modified.</p>
*/
inline DescribeTrialResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
/**
* <p>Who last modified the trial.</p>
*/
inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
/**
* <p>Who last modified the trial.</p>
*/
inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
/**
* <p>Who last modified the trial.</p>
*/
inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
/**
* <p>Who last modified the trial.</p>
*/
inline DescribeTrialResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
/**
* <p>Who last modified the trial.</p>
*/
inline DescribeTrialResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
private:
Aws::String m_trialName;
Aws::String m_trialArn;
Aws::String m_displayName;
Aws::String m_experimentName;
TrialSource m_source;
Aws::Utils::DateTime m_creationTime;
UserContext m_createdBy;
Aws::Utils::DateTime m_lastModifiedTime;
UserContext m_lastModifiedBy;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws