/** * 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 { /** *

The name, ARN, CreationTime, FeatureGroup values, * LastUpdatedTime and EnableOnlineStorage status of a * FeatureGroup.

See Also:

AWS * API Reference

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

The name of FeatureGroup.

*/ inline const Aws::String& GetFeatureGroupName() const{ return m_featureGroupName; } /** *

The name of FeatureGroup.

*/ inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; } /** *

The name of FeatureGroup.

*/ inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; } /** *

The name of FeatureGroup.

*/ inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); } /** *

The name of FeatureGroup.

*/ inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); } /** *

The name of FeatureGroup.

*/ inline FeatureGroupSummary& WithFeatureGroupName(const Aws::String& value) { SetFeatureGroupName(value); return *this;} /** *

The name of FeatureGroup.

*/ inline FeatureGroupSummary& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;} /** *

The name of FeatureGroup.

*/ inline FeatureGroupSummary& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;} /** *

Unique identifier for the FeatureGroup.

*/ inline const Aws::String& GetFeatureGroupArn() const{ return m_featureGroupArn; } /** *

Unique identifier for the FeatureGroup.

*/ inline bool FeatureGroupArnHasBeenSet() const { return m_featureGroupArnHasBeenSet; } /** *

Unique identifier for the FeatureGroup.

*/ inline void SetFeatureGroupArn(const Aws::String& value) { m_featureGroupArnHasBeenSet = true; m_featureGroupArn = value; } /** *

Unique identifier for the FeatureGroup.

*/ inline void SetFeatureGroupArn(Aws::String&& value) { m_featureGroupArnHasBeenSet = true; m_featureGroupArn = std::move(value); } /** *

Unique identifier for the FeatureGroup.

*/ inline void SetFeatureGroupArn(const char* value) { m_featureGroupArnHasBeenSet = true; m_featureGroupArn.assign(value); } /** *

Unique identifier for the FeatureGroup.

*/ inline FeatureGroupSummary& WithFeatureGroupArn(const Aws::String& value) { SetFeatureGroupArn(value); return *this;} /** *

Unique identifier for the FeatureGroup.

*/ inline FeatureGroupSummary& WithFeatureGroupArn(Aws::String&& value) { SetFeatureGroupArn(std::move(value)); return *this;} /** *

Unique identifier for the FeatureGroup.

*/ inline FeatureGroupSummary& WithFeatureGroupArn(const char* value) { SetFeatureGroupArn(value); return *this;} /** *

A timestamp indicating the time of creation time of the * FeatureGroup.

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

A timestamp indicating the time of creation time of the * FeatureGroup.

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

A timestamp indicating the time of creation time of the * FeatureGroup.

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

A timestamp indicating the time of creation time of the * FeatureGroup.

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

A timestamp indicating the time of creation time of the * FeatureGroup.

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

A timestamp indicating the time of creation time of the * FeatureGroup.

*/ inline FeatureGroupSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The status of a FeatureGroup. The status can be any of the following: * Creating, Created, CreateFail, * Deleting or DetailFail.

*/ inline const FeatureGroupStatus& GetFeatureGroupStatus() const{ return m_featureGroupStatus; } /** *

The status of a FeatureGroup. The status can be any of the following: * Creating, Created, CreateFail, * Deleting or DetailFail.

*/ inline bool FeatureGroupStatusHasBeenSet() const { return m_featureGroupStatusHasBeenSet; } /** *

The status of a FeatureGroup. The status can be any of the following: * Creating, Created, CreateFail, * Deleting or DetailFail.

*/ inline void SetFeatureGroupStatus(const FeatureGroupStatus& value) { m_featureGroupStatusHasBeenSet = true; m_featureGroupStatus = value; } /** *

The status of a FeatureGroup. The status can be any of the following: * Creating, Created, CreateFail, * Deleting or DetailFail.

*/ inline void SetFeatureGroupStatus(FeatureGroupStatus&& value) { m_featureGroupStatusHasBeenSet = true; m_featureGroupStatus = std::move(value); } /** *

The status of a FeatureGroup. The status can be any of the following: * Creating, Created, CreateFail, * Deleting or DetailFail.

*/ inline FeatureGroupSummary& WithFeatureGroupStatus(const FeatureGroupStatus& value) { SetFeatureGroupStatus(value); return *this;} /** *

The status of a FeatureGroup. The status can be any of the following: * Creating, Created, CreateFail, * Deleting or DetailFail.

*/ inline FeatureGroupSummary& WithFeatureGroupStatus(FeatureGroupStatus&& value) { SetFeatureGroupStatus(std::move(value)); return *this;} /** *

Notifies you if replicating data into the OfflineStore has * failed. Returns either: Active or Blocked.

*/ inline const OfflineStoreStatus& GetOfflineStoreStatus() const{ return m_offlineStoreStatus; } /** *

Notifies you if replicating data into the OfflineStore has * failed. Returns either: Active or Blocked.

*/ inline bool OfflineStoreStatusHasBeenSet() const { return m_offlineStoreStatusHasBeenSet; } /** *

Notifies you if replicating data into the OfflineStore has * failed. Returns either: Active or Blocked.

*/ inline void SetOfflineStoreStatus(const OfflineStoreStatus& value) { m_offlineStoreStatusHasBeenSet = true; m_offlineStoreStatus = value; } /** *

Notifies you if replicating data into the OfflineStore has * failed. Returns either: Active or Blocked.

*/ inline void SetOfflineStoreStatus(OfflineStoreStatus&& value) { m_offlineStoreStatusHasBeenSet = true; m_offlineStoreStatus = std::move(value); } /** *

Notifies you if replicating data into the OfflineStore has * failed. Returns either: Active or Blocked.

*/ inline FeatureGroupSummary& WithOfflineStoreStatus(const OfflineStoreStatus& value) { SetOfflineStoreStatus(value); return *this;} /** *

Notifies you if replicating data into the OfflineStore has * failed. Returns either: Active or Blocked.

*/ inline FeatureGroupSummary& WithOfflineStoreStatus(OfflineStoreStatus&& value) { SetOfflineStoreStatus(std::move(value)); return *this;} private: Aws::String m_featureGroupName; bool m_featureGroupNameHasBeenSet = false; Aws::String m_featureGroupArn; bool m_featureGroupArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; FeatureGroupStatus m_featureGroupStatus; bool m_featureGroupStatusHasBeenSet = false; OfflineStoreStatus m_offlineStoreStatus; bool m_offlineStoreStatusHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws