/** * 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 SageMaker { namespace Model { /** */ class ImportHubContentRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API ImportHubContentRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ImportHubContent"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the hub content to import.

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

The name of the hub content to import.

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

The name of the hub content to import.

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

The name of the hub content to import.

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

The name of the hub content to import.

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

The name of the hub content to import.

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

The name of the hub content to import.

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

The name of the hub content to import.

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

The version of the hub content to import.

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

The version of the hub content to import.

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

The version of the hub content to import.

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

The version of the hub content to import.

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

The version of the hub content to import.

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

The version of the hub content to import.

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

The version of the hub content to import.

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

The version of the hub content to import.

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

The type of hub content to import.

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

The type of hub content to import.

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

The type of hub content to import.

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

The type of hub content to import.

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

The type of hub content to import.

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

The type of hub content to import.

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

The version of the hub content schema to import.

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

The version of the hub content schema to import.

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

The version of the hub content schema to import.

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

The version of the hub content schema to import.

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

The version of the hub content schema to import.

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

The version of the hub content schema to import.

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

The version of the hub content schema to import.

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

The version of the hub content schema to import.

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

The name of the hub to import content into.

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

The name of the hub to import content into.

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

The name of the hub to import content into.

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

The name of the hub to import content into.

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

The name of the hub to import content into.

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

The name of the hub to import content into.

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

The name of the hub to import content into.

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

The name of the hub to import content into.

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

The display name of the hub content to import.

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

The display name of the hub content to import.

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

The display name of the hub content to import.

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

The display name of the hub content to import.

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

The display name of the hub content to import.

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

The display name of the hub content to import.

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

The display name of the hub content to import.

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

The display name of the hub content to import.

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

A description of the hub content to import.

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

A description of the hub content to import.

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

A description of the hub content to import.

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

A description of the hub content to import.

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

A description of the hub content to import.

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

A description of the hub content to import.

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

A description of the hub content to import.

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

A description of the hub content to import.

*/ inline ImportHubContentRequest& 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 bool HubContentMarkdownHasBeenSet() const { return m_hubContentMarkdownHasBeenSet; } /** *

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_hubContentMarkdownHasBeenSet = true; 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_hubContentMarkdownHasBeenSet = true; 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_hubContentMarkdownHasBeenSet = true; 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 ImportHubContentRequest& 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 ImportHubContentRequest& 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 ImportHubContentRequest& 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 bool HubContentDocumentHasBeenSet() const { return m_hubContentDocumentHasBeenSet; } /** *

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_hubContentDocumentHasBeenSet = true; 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_hubContentDocumentHasBeenSet = true; 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_hubContentDocumentHasBeenSet = true; m_hubContentDocument.assign(value); } /** *

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

*/ inline ImportHubContentRequest& 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 ImportHubContentRequest& 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 ImportHubContentRequest& WithHubContentDocument(const char* value) { SetHubContentDocument(value); return *this;} /** *

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

The searchable keywords of the hub content.

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

Any tags associated with the hub content.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

Any tags associated with the hub content.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Any tags associated with the hub content.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Any tags associated with the hub content.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Any tags associated with the hub content.

*/ inline ImportHubContentRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

Any tags associated with the hub content.

*/ inline ImportHubContentRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

Any tags associated with the hub content.

*/ inline ImportHubContentRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Any tags associated with the hub content.

*/ inline ImportHubContentRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_hubContentName; bool m_hubContentNameHasBeenSet = 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_hubName; bool m_hubNameHasBeenSet = false; Aws::String m_hubContentDisplayName; bool m_hubContentDisplayNameHasBeenSet = false; Aws::String m_hubContentDescription; bool m_hubContentDescriptionHasBeenSet = false; Aws::String m_hubContentMarkdown; bool m_hubContentMarkdownHasBeenSet = false; Aws::String m_hubContentDocument; bool m_hubContentDocumentHasBeenSet = false; Aws::Vector m_hubContentSearchKeywords; bool m_hubContentSearchKeywordsHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws