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

The name of the hub content.

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

The name of the hub content.

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

The name of the hub content.

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

The name of the hub content.

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

The name of the hub content.

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

The name of the hub content.

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

The name of the hub content.

*/ inline DescribeHubContentResult& 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 void SetHubContentArn(const Aws::String& value) { m_hubContentArn = value; } /** *

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

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

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

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

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

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

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

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

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

*/ inline DescribeHubContentResult& 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 void SetHubContentVersion(const Aws::String& value) { m_hubContentVersion = value; } /** *

The version of the hub content.

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

The version of the hub content.

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

The version of the hub content.

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

The version of the hub content.

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

The version of the hub content.

*/ inline DescribeHubContentResult& 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 void SetHubContentType(const HubContentType& value) { m_hubContentType = value; } /** *

The type of hub content.

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

The type of hub content.

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

The type of hub content.

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

The document schema version for the hub content.

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

The document schema version for the hub content.

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

The document schema version for the hub content.

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

The document schema version for the hub content.

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

The document schema version for the hub content.

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

The document schema version for the hub content.

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

The document schema version for the hub content.

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

The name of the hub that contains the content.

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

The name of the hub that contains the content.

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

The name of the hub that contains the content.

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

The name of the hub that contains the content.

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

The name of the hub that contains the content.

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

The name of the hub that contains the content.

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

The name of the hub that contains the content.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline DescribeHubContentResult& WithHubArn(const char* value) { SetHubArn(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 void SetHubContentDisplayName(const Aws::String& value) { m_hubContentDisplayName = value; } /** *

The display name of the hub content.

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

The display name of the hub content.

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

The display name of the hub content.

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

The display name of the hub content.

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

The display name of the hub content.

*/ inline DescribeHubContentResult& 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 void SetHubContentDescription(const Aws::String& value) { m_hubContentDescription = value; } /** *

A description of the hub content.

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

A description of the hub content.

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

A description of the hub content.

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

A description of the hub content.

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

A description of the hub content.

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

A string that provides a description of the hub content. This string can * include links, tables, and standard markdown formating.

*/ inline const Aws::String& GetHubContentMarkdown() const{ return m_hubContentMarkdown; } /** *

A string that provides a description of the hub content. This string can * include links, tables, and standard markdown formating.

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

A string that provides a description of the hub content. This string can * include links, tables, and standard markdown formating.

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

A string that provides a description of the hub content. This string can * include links, tables, and standard markdown formating.

*/ inline void SetHubContentMarkdown(const char* value) { m_hubContentMarkdown.assign(value); } /** *

A string that provides a description of the hub content. This string can * include links, tables, and standard markdown formating.

*/ inline DescribeHubContentResult& WithHubContentMarkdown(const Aws::String& value) { SetHubContentMarkdown(value); return *this;} /** *

A string that provides a description of the hub content. This string can * include links, tables, and standard markdown formating.

*/ inline DescribeHubContentResult& WithHubContentMarkdown(Aws::String&& value) { SetHubContentMarkdown(std::move(value)); return *this;} /** *

A string that provides a description of the hub content. This string can * include links, tables, and standard markdown formating.

*/ inline DescribeHubContentResult& WithHubContentMarkdown(const char* value) { SetHubContentMarkdown(value); return *this;} /** *

The hub content document that describes information about the hub content * such as type, associated containers, scripts, and more.

*/ inline const Aws::String& GetHubContentDocument() const{ return m_hubContentDocument; } /** *

The hub content document that describes information about the hub content * such as type, associated containers, scripts, and more.

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

The hub content document that describes information about the hub content * such as type, associated containers, scripts, and more.

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

The hub content document that describes information about the hub content * such as type, associated containers, scripts, and more.

*/ inline void SetHubContentDocument(const char* value) { m_hubContentDocument.assign(value); } /** *

The hub content document that describes information about the hub content * such as type, associated containers, scripts, and more.

*/ inline DescribeHubContentResult& WithHubContentDocument(const Aws::String& value) { SetHubContentDocument(value); return *this;} /** *

The hub content document that describes information about the hub content * such as type, associated containers, scripts, and more.

*/ inline DescribeHubContentResult& WithHubContentDocument(Aws::String&& value) { SetHubContentDocument(std::move(value)); return *this;} /** *

The hub content document that describes information about the hub content * such as type, associated containers, scripts, and more.

*/ inline DescribeHubContentResult& WithHubContentDocument(const char* value) { SetHubContentDocument(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 void SetHubContentSearchKeywords(const Aws::Vector& value) { m_hubContentSearchKeywords = value; } /** *

The searchable keywords for the hub content.

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

The searchable keywords for the hub content.

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

The searchable keywords for the hub content.

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

The searchable keywords for the hub content.

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

The searchable keywords for the hub content.

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

The searchable keywords for the hub content.

*/ inline DescribeHubContentResult& AddHubContentSearchKeywords(const char* value) { m_hubContentSearchKeywords.push_back(value); return *this; } /** *

The location of any dependencies that the hub content has, such as scripts, * model artifacts, datasets, or notebooks.

*/ inline const Aws::Vector& GetHubContentDependencies() const{ return m_hubContentDependencies; } /** *

The location of any dependencies that the hub content has, such as scripts, * model artifacts, datasets, or notebooks.

*/ inline void SetHubContentDependencies(const Aws::Vector& value) { m_hubContentDependencies = value; } /** *

The location of any dependencies that the hub content has, such as scripts, * model artifacts, datasets, or notebooks.

*/ inline void SetHubContentDependencies(Aws::Vector&& value) { m_hubContentDependencies = std::move(value); } /** *

The location of any dependencies that the hub content has, such as scripts, * model artifacts, datasets, or notebooks.

*/ inline DescribeHubContentResult& WithHubContentDependencies(const Aws::Vector& value) { SetHubContentDependencies(value); return *this;} /** *

The location of any dependencies that the hub content has, such as scripts, * model artifacts, datasets, or notebooks.

*/ inline DescribeHubContentResult& WithHubContentDependencies(Aws::Vector&& value) { SetHubContentDependencies(std::move(value)); return *this;} /** *

The location of any dependencies that the hub content has, such as scripts, * model artifacts, datasets, or notebooks.

*/ inline DescribeHubContentResult& AddHubContentDependencies(const HubContentDependency& value) { m_hubContentDependencies.push_back(value); return *this; } /** *

The location of any dependencies that the hub content has, such as scripts, * model artifacts, datasets, or notebooks.

*/ inline DescribeHubContentResult& AddHubContentDependencies(HubContentDependency&& value) { m_hubContentDependencies.push_back(std::move(value)); return *this; } /** *

The status of the hub content.

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

The status of the hub content.

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

The status of the hub content.

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

The status of the hub content.

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

The status of the hub content.

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

The failure reason if importing hub content failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

The failure reason if importing hub content failed.

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

The failure reason if importing hub content failed.

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

The failure reason if importing hub content failed.

*/ inline void SetFailureReason(const char* value) { m_failureReason.assign(value); } /** *

The failure reason if importing hub content failed.

*/ inline DescribeHubContentResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The failure reason if importing hub content failed.

*/ inline DescribeHubContentResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

The failure reason if importing hub content failed.

*/ inline DescribeHubContentResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The date and time that hub content was created.

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

The date and time that hub content was created.

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

The date and time that hub content was created.

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

The date and time that hub content was created.

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

The date and time that hub content was created.

*/ inline DescribeHubContentResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(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 DescribeHubContentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeHubContentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeHubContentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hubContentName; Aws::String m_hubContentArn; Aws::String m_hubContentVersion; HubContentType m_hubContentType; Aws::String m_documentSchemaVersion; Aws::String m_hubName; Aws::String m_hubArn; Aws::String m_hubContentDisplayName; Aws::String m_hubContentDescription; Aws::String m_hubContentMarkdown; Aws::String m_hubContentDocument; Aws::Vector m_hubContentSearchKeywords; Aws::Vector m_hubContentDependencies; HubContentStatus m_hubContentStatus; Aws::String m_failureReason; Aws::Utils::DateTime m_creationTime; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws