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

Information about a hub.

See Also:

AWS * API Reference

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

The name of the hub.

*/ inline const Aws::String& GetHubName() const{ return m_hubName; } /** *

The name of the hub.

*/ inline bool HubNameHasBeenSet() const { return m_hubNameHasBeenSet; } /** *

The name of the hub.

*/ inline void SetHubName(const Aws::String& value) { m_hubNameHasBeenSet = true; m_hubName = value; } /** *

The name of the hub.

*/ inline void SetHubName(Aws::String&& value) { m_hubNameHasBeenSet = true; m_hubName = std::move(value); } /** *

The name of the hub.

*/ inline void SetHubName(const char* value) { m_hubNameHasBeenSet = true; m_hubName.assign(value); } /** *

The name of the hub.

*/ inline HubInfo& WithHubName(const Aws::String& value) { SetHubName(value); return *this;} /** *

The name of the hub.

*/ inline HubInfo& WithHubName(Aws::String&& value) { SetHubName(std::move(value)); return *this;} /** *

The name of the hub.

*/ inline HubInfo& WithHubName(const char* value) { SetHubName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline const Aws::String& GetHubArn() const{ return m_hubArn; } /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline bool HubArnHasBeenSet() const { return m_hubArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline void SetHubArn(const Aws::String& value) { m_hubArnHasBeenSet = true; m_hubArn = value; } /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline void SetHubArn(Aws::String&& value) { m_hubArnHasBeenSet = true; m_hubArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline void SetHubArn(const char* value) { m_hubArnHasBeenSet = true; m_hubArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline HubInfo& WithHubArn(const Aws::String& value) { SetHubArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline HubInfo& WithHubArn(Aws::String&& value) { SetHubArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the hub.

*/ inline HubInfo& WithHubArn(const char* value) { SetHubArn(value); return *this;} /** *

The display name of the hub.

*/ inline const Aws::String& GetHubDisplayName() const{ return m_hubDisplayName; } /** *

The display name of the hub.

*/ inline bool HubDisplayNameHasBeenSet() const { return m_hubDisplayNameHasBeenSet; } /** *

The display name of the hub.

*/ inline void SetHubDisplayName(const Aws::String& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = value; } /** *

The display name of the hub.

*/ inline void SetHubDisplayName(Aws::String&& value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName = std::move(value); } /** *

The display name of the hub.

*/ inline void SetHubDisplayName(const char* value) { m_hubDisplayNameHasBeenSet = true; m_hubDisplayName.assign(value); } /** *

The display name of the hub.

*/ inline HubInfo& WithHubDisplayName(const Aws::String& value) { SetHubDisplayName(value); return *this;} /** *

The display name of the hub.

*/ inline HubInfo& WithHubDisplayName(Aws::String&& value) { SetHubDisplayName(std::move(value)); return *this;} /** *

The display name of the hub.

*/ inline HubInfo& WithHubDisplayName(const char* value) { SetHubDisplayName(value); return *this;} /** *

A description of the hub.

*/ inline const Aws::String& GetHubDescription() const{ return m_hubDescription; } /** *

A description of the hub.

*/ inline bool HubDescriptionHasBeenSet() const { return m_hubDescriptionHasBeenSet; } /** *

A description of the hub.

*/ inline void SetHubDescription(const Aws::String& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = value; } /** *

A description of the hub.

*/ inline void SetHubDescription(Aws::String&& value) { m_hubDescriptionHasBeenSet = true; m_hubDescription = std::move(value); } /** *

A description of the hub.

*/ inline void SetHubDescription(const char* value) { m_hubDescriptionHasBeenSet = true; m_hubDescription.assign(value); } /** *

A description of the hub.

*/ inline HubInfo& WithHubDescription(const Aws::String& value) { SetHubDescription(value); return *this;} /** *

A description of the hub.

*/ inline HubInfo& WithHubDescription(Aws::String&& value) { SetHubDescription(std::move(value)); return *this;} /** *

A description of the hub.

*/ inline HubInfo& WithHubDescription(const char* value) { SetHubDescription(value); return *this;} /** *

The searchable keywords for the hub.

*/ inline const Aws::Vector& GetHubSearchKeywords() const{ return m_hubSearchKeywords; } /** *

The searchable keywords for the hub.

*/ inline bool HubSearchKeywordsHasBeenSet() const { return m_hubSearchKeywordsHasBeenSet; } /** *

The searchable keywords for the hub.

*/ inline void SetHubSearchKeywords(const Aws::Vector& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = value; } /** *

The searchable keywords for the hub.

*/ inline void SetHubSearchKeywords(Aws::Vector&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords = std::move(value); } /** *

The searchable keywords for the hub.

*/ inline HubInfo& WithHubSearchKeywords(const Aws::Vector& value) { SetHubSearchKeywords(value); return *this;} /** *

The searchable keywords for the hub.

*/ inline HubInfo& WithHubSearchKeywords(Aws::Vector&& value) { SetHubSearchKeywords(std::move(value)); return *this;} /** *

The searchable keywords for the hub.

*/ inline HubInfo& AddHubSearchKeywords(const Aws::String& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; } /** *

The searchable keywords for the hub.

*/ inline HubInfo& AddHubSearchKeywords(Aws::String&& value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(std::move(value)); return *this; } /** *

The searchable keywords for the hub.

*/ inline HubInfo& AddHubSearchKeywords(const char* value) { m_hubSearchKeywordsHasBeenSet = true; m_hubSearchKeywords.push_back(value); return *this; } /** *

The status of the hub.

*/ inline const HubStatus& GetHubStatus() const{ return m_hubStatus; } /** *

The status of the hub.

*/ inline bool HubStatusHasBeenSet() const { return m_hubStatusHasBeenSet; } /** *

The status of the hub.

*/ inline void SetHubStatus(const HubStatus& value) { m_hubStatusHasBeenSet = true; m_hubStatus = value; } /** *

The status of the hub.

*/ inline void SetHubStatus(HubStatus&& value) { m_hubStatusHasBeenSet = true; m_hubStatus = std::move(value); } /** *

The status of the hub.

*/ inline HubInfo& WithHubStatus(const HubStatus& value) { SetHubStatus(value); return *this;} /** *

The status of the hub.

*/ inline HubInfo& WithHubStatus(HubStatus&& value) { SetHubStatus(std::move(value)); return *this;} /** *

The date and time that the hub was created.

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

The date and time that the hub was created.

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

The date and time that the hub was created.

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

The date and time that the hub was created.

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

The date and time that the hub was created.

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

The date and time that the hub was created.

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

The date and time that the hub was last modified.

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

The date and time that the hub was last modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

The date and time that the hub was last modified.

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

The date and time that the hub was last modified.

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

The date and time that the hub was last modified.

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

The date and time that the hub was last modified.

*/ inline HubInfo& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} private: Aws::String m_hubName; bool m_hubNameHasBeenSet = false; Aws::String m_hubArn; bool m_hubArnHasBeenSet = false; Aws::String m_hubDisplayName; bool m_hubDisplayNameHasBeenSet = false; Aws::String m_hubDescription; bool m_hubDescriptionHasBeenSet = false; Aws::Vector m_hubSearchKeywords; bool m_hubSearchKeywordsHasBeenSet = false; HubStatus m_hubStatus; bool m_hubStatusHasBeenSet = 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