/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Lists the properties of an action. An action represents an action or * activity. Some examples are a workflow step and a model deployment. Generally, * an action involves at least one input artifact or output artifact.

See * Also:

AWS * API Reference

*/ class ActionSummary { public: AWS_SAGEMAKER_API ActionSummary(); AWS_SAGEMAKER_API ActionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 bool ActionArnHasBeenSet() const { return m_actionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the action.

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

The Amazon Resource Name (ARN) of the action.

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

The Amazon Resource Name (ARN) of the action.

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

The Amazon Resource Name (ARN) of the action.

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

The Amazon Resource Name (ARN) of the action.

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

The Amazon Resource Name (ARN) of the action.

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

The name of the action.

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

The name of the action.

*/ inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; } /** *

The name of the action.

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

The name of the action.

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

The name of the action.

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

The name of the action.

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

The name of the action.

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

The name of the action.

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

The source of the action.

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

The source of the action.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The source of the action.

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

The source of the action.

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

The source of the action.

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

The source of the action.

*/ inline ActionSummary& 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 bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; } /** *

The type of the action.

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

The type of the action.

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

The type of the action.

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

The type of the action.

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

The type of the action.

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

The type of the action.

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

The status of the action.

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

The status of the action.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the action.

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

The status of the action.

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

The status of the action.

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

The status of the action.

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

When the action was created.

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

When the action was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the action was created.

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

When the action was created.

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

When the action was created.

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

When the action was created.

*/ inline ActionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

When the action was last modified.

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

When the action was last modified.

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

When the action was last modified.

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

When the action was last modified.

*/ inline ActionSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_actionArn; bool m_actionArnHasBeenSet = false; Aws::String m_actionName; bool m_actionNameHasBeenSet = false; ActionSource m_source; bool m_sourceHasBeenSet = false; Aws::String m_actionType; bool m_actionTypeHasBeenSet = false; ActionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws