/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeActionResult { public: AWS_SAGEMAKER_API DescribeActionResult(); AWS_SAGEMAKER_API DescribeActionResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeActionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the action.

*/ inline const Aws::String& GetActionName() const{ return m_actionName; } /** *

The name of the action.

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

The name of the action.

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

The name of the action.

*/ inline void SetActionName(const char* value) { m_actionName.assign(value); } /** *

The name of the action.

*/ inline DescribeActionResult& WithActionName(const Aws::String& value) { SetActionName(value); return *this;} /** *

The name of the action.

*/ inline DescribeActionResult& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;} /** *

The name of the action.

*/ inline DescribeActionResult& WithActionName(const char* value) { SetActionName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the action.

*/ inline const Aws::String& GetActionArn() const{ return m_actionArn; } /** *

The Amazon Resource Name (ARN) of the action.

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

The Amazon Resource Name (ARN) of the action.

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

The Amazon Resource Name (ARN) of the action.

*/ inline void SetActionArn(const char* value) { m_actionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the action.

*/ inline DescribeActionResult& WithActionArn(const Aws::String& value) { SetActionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the action.

*/ inline DescribeActionResult& WithActionArn(Aws::String&& value) { SetActionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the action.

*/ inline DescribeActionResult& WithActionArn(const char* value) { SetActionArn(value); return *this;} /** *

The source of the action.

*/ inline const ActionSource& GetSource() const{ return m_source; } /** *

The source of the action.

*/ inline void SetSource(const ActionSource& value) { m_source = value; } /** *

The source of the action.

*/ inline void SetSource(ActionSource&& value) { m_source = std::move(value); } /** *

The source of the action.

*/ inline DescribeActionResult& WithSource(const ActionSource& value) { SetSource(value); return *this;} /** *

The source of the action.

*/ inline DescribeActionResult& WithSource(ActionSource&& value) { SetSource(std::move(value)); return *this;} /** *

The type of the action.

*/ inline const Aws::String& GetActionType() const{ return m_actionType; } /** *

The type of the action.

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

The type of the action.

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

The type of the action.

*/ inline void SetActionType(const char* value) { m_actionType.assign(value); } /** *

The type of the action.

*/ inline DescribeActionResult& WithActionType(const Aws::String& value) { SetActionType(value); return *this;} /** *

The type of the action.

*/ inline DescribeActionResult& WithActionType(Aws::String&& value) { SetActionType(std::move(value)); return *this;} /** *

The type of the action.

*/ inline DescribeActionResult& WithActionType(const char* value) { SetActionType(value); return *this;} /** *

The description of the action.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the action.

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

The description of the action.

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

The description of the action.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the action.

*/ inline DescribeActionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the action.

*/ inline DescribeActionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the action.

*/ inline DescribeActionResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The status of the action.

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

The status of the action.

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

The status of the action.

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

The status of the action.

*/ inline DescribeActionResult& WithStatus(const ActionStatus& value) { SetStatus(value); return *this;} /** *

The status of the action.

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

A list of the action's properties.

*/ inline const Aws::Map& GetProperties() const{ return m_properties; } /** *

A list of the action's properties.

*/ inline void SetProperties(const Aws::Map& value) { m_properties = value; } /** *

A list of the action's properties.

*/ inline void SetProperties(Aws::Map&& value) { m_properties = std::move(value); } /** *

A list of the action's properties.

*/ inline DescribeActionResult& WithProperties(const Aws::Map& value) { SetProperties(value); return *this;} /** *

A list of the action's properties.

*/ inline DescribeActionResult& WithProperties(Aws::Map&& value) { SetProperties(std::move(value)); return *this;} /** *

A list of the action's properties.

*/ inline DescribeActionResult& AddProperties(const Aws::String& key, const Aws::String& value) { m_properties.emplace(key, value); return *this; } /** *

A list of the action's properties.

*/ inline DescribeActionResult& AddProperties(Aws::String&& key, const Aws::String& value) { m_properties.emplace(std::move(key), value); return *this; } /** *

A list of the action's properties.

*/ inline DescribeActionResult& AddProperties(const Aws::String& key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; } /** *

A list of the action's properties.

*/ inline DescribeActionResult& AddProperties(Aws::String&& key, Aws::String&& value) { m_properties.emplace(std::move(key), std::move(value)); return *this; } /** *

A list of the action's properties.

*/ inline DescribeActionResult& AddProperties(const char* key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; } /** *

A list of the action's properties.

*/ inline DescribeActionResult& AddProperties(Aws::String&& key, const char* value) { m_properties.emplace(std::move(key), value); return *this; } /** *

A list of the action's properties.

*/ inline DescribeActionResult& AddProperties(const char* key, const char* value) { m_properties.emplace(key, value); return *this; } /** *

When the action was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the action was created.

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

When the action was created.

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

When the action was created.

*/ inline DescribeActionResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the action was created.

*/ inline DescribeActionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} inline const UserContext& GetCreatedBy() const{ return m_createdBy; } inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; } inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); } inline DescribeActionResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;} inline DescribeActionResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

When the action was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

When the action was last modified.

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

When the action was last modified.

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

When the action was last modified.

*/ inline DescribeActionResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

When the action was last modified.

*/ inline DescribeActionResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; } inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; } inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); } inline DescribeActionResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;} inline DescribeActionResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;} inline const MetadataProperties& GetMetadataProperties() const{ return m_metadataProperties; } inline void SetMetadataProperties(const MetadataProperties& value) { m_metadataProperties = value; } inline void SetMetadataProperties(MetadataProperties&& value) { m_metadataProperties = std::move(value); } inline DescribeActionResult& WithMetadataProperties(const MetadataProperties& value) { SetMetadataProperties(value); return *this;} inline DescribeActionResult& WithMetadataProperties(MetadataProperties&& value) { SetMetadataProperties(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group.

*/ inline const Aws::String& GetLineageGroupArn() const{ return m_lineageGroupArn; } /** *

The Amazon Resource Name (ARN) of the lineage group.

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

The Amazon Resource Name (ARN) of the lineage group.

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

The Amazon Resource Name (ARN) of the lineage group.

*/ inline void SetLineageGroupArn(const char* value) { m_lineageGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the lineage group.

*/ inline DescribeActionResult& WithLineageGroupArn(const Aws::String& value) { SetLineageGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group.

*/ inline DescribeActionResult& WithLineageGroupArn(Aws::String&& value) { SetLineageGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group.

*/ inline DescribeActionResult& WithLineageGroupArn(const char* value) { SetLineageGroupArn(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 DescribeActionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeActionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeActionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_actionName; Aws::String m_actionArn; ActionSource m_source; Aws::String m_actionType; Aws::String m_description; ActionStatus m_status; Aws::Map m_properties; Aws::Utils::DateTime m_creationTime; UserContext m_createdBy; Aws::Utils::DateTime m_lastModifiedTime; UserContext m_lastModifiedBy; MetadataProperties m_metadataProperties; Aws::String m_lineageGroupArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws