/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Information about hub content.

See Also:

AWS * API Reference

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

The name of the hub content.

*/ inline const Aws::String& GetHubContentName() const{ return m_hubContentName; } /** *

The name of the hub content.

*/ inline bool HubContentNameHasBeenSet() const { return m_hubContentNameHasBeenSet; } /** *

The name of the hub content.

*/ inline void SetHubContentName(const Aws::String& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = value; } /** *

The name of the hub content.

*/ inline void SetHubContentName(Aws::String&& value) { m_hubContentNameHasBeenSet = true; m_hubContentName = std::move(value); } /** *

The name of the hub content.

*/ inline void SetHubContentName(const char* value) { m_hubContentNameHasBeenSet = true; m_hubContentName.assign(value); } /** *

The name of the hub content.

*/ inline HubContentInfo& WithHubContentName(const Aws::String& value) { SetHubContentName(value); return *this;} /** *

The name of the hub content.

*/ inline HubContentInfo& WithHubContentName(Aws::String&& value) { SetHubContentName(std::move(value)); return *this;} /** *

The name of the hub content.

*/ inline HubContentInfo& WithHubContentName(const char* value) { SetHubContentName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline const Aws::String& GetHubContentArn() const{ return m_hubContentArn; } /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline bool HubContentArnHasBeenSet() const { return m_hubContentArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline void SetHubContentArn(const Aws::String& value) { m_hubContentArnHasBeenSet = true; m_hubContentArn = value; } /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline void SetHubContentArn(Aws::String&& value) { m_hubContentArnHasBeenSet = true; m_hubContentArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline void SetHubContentArn(const char* value) { m_hubContentArnHasBeenSet = true; m_hubContentArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline HubContentInfo& WithHubContentArn(const Aws::String& value) { SetHubContentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline HubContentInfo& WithHubContentArn(Aws::String&& value) { SetHubContentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the hub content.

*/ inline HubContentInfo& WithHubContentArn(const char* value) { SetHubContentArn(value); return *this;} /** *

The version of the hub content.

*/ inline const Aws::String& GetHubContentVersion() const{ return m_hubContentVersion; } /** *

The version of the hub content.

*/ inline bool HubContentVersionHasBeenSet() const { return m_hubContentVersionHasBeenSet; } /** *

The version of the hub content.

*/ inline void SetHubContentVersion(const Aws::String& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = value; } /** *

The version of the hub content.

*/ inline void SetHubContentVersion(Aws::String&& value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion = std::move(value); } /** *

The version of the hub content.

*/ inline void SetHubContentVersion(const char* value) { m_hubContentVersionHasBeenSet = true; m_hubContentVersion.assign(value); } /** *

The version of the hub content.

*/ inline HubContentInfo& WithHubContentVersion(const Aws::String& value) { SetHubContentVersion(value); return *this;} /** *

The version of the hub content.

*/ inline HubContentInfo& WithHubContentVersion(Aws::String&& value) { SetHubContentVersion(std::move(value)); return *this;} /** *

The version of the hub content.

*/ inline HubContentInfo& WithHubContentVersion(const char* value) { SetHubContentVersion(value); return *this;} /** *

The type of hub content.

*/ inline const HubContentType& GetHubContentType() const{ return m_hubContentType; } /** *

The type of hub content.

*/ inline bool HubContentTypeHasBeenSet() const { return m_hubContentTypeHasBeenSet; } /** *

The type of hub content.

*/ inline void SetHubContentType(const HubContentType& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = value; } /** *

The type of hub content.

*/ inline void SetHubContentType(HubContentType&& value) { m_hubContentTypeHasBeenSet = true; m_hubContentType = std::move(value); } /** *

The type of hub content.

*/ inline HubContentInfo& WithHubContentType(const HubContentType& value) { SetHubContentType(value); return *this;} /** *

The type of hub content.

*/ inline HubContentInfo& WithHubContentType(HubContentType&& value) { SetHubContentType(std::move(value)); return *this;} /** *

The version of the hub content document schema.

*/ inline const Aws::String& GetDocumentSchemaVersion() const{ return m_documentSchemaVersion; } /** *

The version of the hub content document schema.

*/ inline bool DocumentSchemaVersionHasBeenSet() const { return m_documentSchemaVersionHasBeenSet; } /** *

The version of the hub content document schema.

*/ inline void SetDocumentSchemaVersion(const Aws::String& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = value; } /** *

The version of the hub content document schema.

*/ inline void SetDocumentSchemaVersion(Aws::String&& value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion = std::move(value); } /** *

The version of the hub content document schema.

*/ inline void SetDocumentSchemaVersion(const char* value) { m_documentSchemaVersionHasBeenSet = true; m_documentSchemaVersion.assign(value); } /** *

The version of the hub content document schema.

*/ inline HubContentInfo& WithDocumentSchemaVersion(const Aws::String& value) { SetDocumentSchemaVersion(value); return *this;} /** *

The version of the hub content document schema.

*/ inline HubContentInfo& WithDocumentSchemaVersion(Aws::String&& value) { SetDocumentSchemaVersion(std::move(value)); return *this;} /** *

The version of the hub content document schema.

*/ inline HubContentInfo& WithDocumentSchemaVersion(const char* value) { SetDocumentSchemaVersion(value); return *this;} /** *

The display name of the hub content.

*/ inline const Aws::String& GetHubContentDisplayName() const{ return m_hubContentDisplayName; } /** *

The display name of the hub content.

*/ inline bool HubContentDisplayNameHasBeenSet() const { return m_hubContentDisplayNameHasBeenSet; } /** *

The display name of the hub content.

*/ inline void SetHubContentDisplayName(const Aws::String& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = value; } /** *

The display name of the hub content.

*/ inline void SetHubContentDisplayName(Aws::String&& value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName = std::move(value); } /** *

The display name of the hub content.

*/ inline void SetHubContentDisplayName(const char* value) { m_hubContentDisplayNameHasBeenSet = true; m_hubContentDisplayName.assign(value); } /** *

The display name of the hub content.

*/ inline HubContentInfo& WithHubContentDisplayName(const Aws::String& value) { SetHubContentDisplayName(value); return *this;} /** *

The display name of the hub content.

*/ inline HubContentInfo& WithHubContentDisplayName(Aws::String&& value) { SetHubContentDisplayName(std::move(value)); return *this;} /** *

The display name of the hub content.

*/ inline HubContentInfo& WithHubContentDisplayName(const char* value) { SetHubContentDisplayName(value); return *this;} /** *

A description of the hub content.

*/ inline const Aws::String& GetHubContentDescription() const{ return m_hubContentDescription; } /** *

A description of the hub content.

*/ inline bool HubContentDescriptionHasBeenSet() const { return m_hubContentDescriptionHasBeenSet; } /** *

A description of the hub content.

*/ inline void SetHubContentDescription(const Aws::String& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = value; } /** *

A description of the hub content.

*/ inline void SetHubContentDescription(Aws::String&& value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription = std::move(value); } /** *

A description of the hub content.

*/ inline void SetHubContentDescription(const char* value) { m_hubContentDescriptionHasBeenSet = true; m_hubContentDescription.assign(value); } /** *

A description of the hub content.

*/ inline HubContentInfo& WithHubContentDescription(const Aws::String& value) { SetHubContentDescription(value); return *this;} /** *

A description of the hub content.

*/ inline HubContentInfo& WithHubContentDescription(Aws::String&& value) { SetHubContentDescription(std::move(value)); return *this;} /** *

A description of the hub content.

*/ inline HubContentInfo& WithHubContentDescription(const char* value) { SetHubContentDescription(value); return *this;} /** *

The searchable keywords for the hub content.

*/ inline const Aws::Vector& GetHubContentSearchKeywords() const{ return m_hubContentSearchKeywords; } /** *

The searchable keywords for the hub content.

*/ inline bool HubContentSearchKeywordsHasBeenSet() const { return m_hubContentSearchKeywordsHasBeenSet; } /** *

The searchable keywords for the hub content.

*/ inline void SetHubContentSearchKeywords(const Aws::Vector& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = value; } /** *

The searchable keywords for the hub content.

*/ inline void SetHubContentSearchKeywords(Aws::Vector&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords = std::move(value); } /** *

The searchable keywords for the hub content.

*/ inline HubContentInfo& WithHubContentSearchKeywords(const Aws::Vector& value) { SetHubContentSearchKeywords(value); return *this;} /** *

The searchable keywords for the hub content.

*/ inline HubContentInfo& WithHubContentSearchKeywords(Aws::Vector&& value) { SetHubContentSearchKeywords(std::move(value)); return *this;} /** *

The searchable keywords for the hub content.

*/ inline HubContentInfo& AddHubContentSearchKeywords(const Aws::String& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(value); return *this; } /** *

The searchable keywords for the hub content.

*/ inline HubContentInfo& AddHubContentSearchKeywords(Aws::String&& value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(std::move(value)); return *this; } /** *

The searchable keywords for the hub content.

*/ inline HubContentInfo& AddHubContentSearchKeywords(const char* value) { m_hubContentSearchKeywordsHasBeenSet = true; m_hubContentSearchKeywords.push_back(value); return *this; } /** *

The status of the hub content.

*/ inline const HubContentStatus& GetHubContentStatus() const{ return m_hubContentStatus; } /** *

The status of the hub content.

*/ inline bool HubContentStatusHasBeenSet() const { return m_hubContentStatusHasBeenSet; } /** *

The status of the hub content.

*/ inline void SetHubContentStatus(const HubContentStatus& value) { m_hubContentStatusHasBeenSet = true; m_hubContentStatus = value; } /** *

The status of the hub content.

*/ inline void SetHubContentStatus(HubContentStatus&& value) { m_hubContentStatusHasBeenSet = true; m_hubContentStatus = std::move(value); } /** *

The status of the hub content.

*/ inline HubContentInfo& WithHubContentStatus(const HubContentStatus& value) { SetHubContentStatus(value); return *this;} /** *

The status of the hub content.

*/ inline HubContentInfo& WithHubContentStatus(HubContentStatus&& value) { SetHubContentStatus(std::move(value)); return *this;} /** *

The date and time that the hub content was created.

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

The date and time that the hub content was created.

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

The date and time that the hub content was created.

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

The date and time that the hub content was created.

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

The date and time that the hub content was created.

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

The date and time that the hub content was created.

*/ inline HubContentInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_hubContentName; bool m_hubContentNameHasBeenSet = false; Aws::String m_hubContentArn; bool m_hubContentArnHasBeenSet = false; Aws::String m_hubContentVersion; bool m_hubContentVersionHasBeenSet = false; HubContentType m_hubContentType; bool m_hubContentTypeHasBeenSet = false; Aws::String m_documentSchemaVersion; bool m_documentSchemaVersionHasBeenSet = false; Aws::String m_hubContentDisplayName; bool m_hubContentDisplayNameHasBeenSet = false; Aws::String m_hubContentDescription; bool m_hubContentDescriptionHasBeenSet = false; Aws::Vector m_hubContentSearchKeywords; bool m_hubContentSearchKeywordsHasBeenSet = false; HubContentStatus m_hubContentStatus; bool m_hubContentStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws