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

The name of the hub.

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

The name of the hub.

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

The name of the hub.

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

The name of the hub.

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

The name of the hub.

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

The name of the hub.

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

The name of the hub.

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

The Amazon Resource Name (ARN) of the hub.

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

The Amazon Resource Name (ARN) of the hub.

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

The Amazon Resource Name (ARN) of the hub.

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

The Amazon Resource Name (ARN) of the hub.

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

The Amazon Resource Name (ARN) of the hub.

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

The display name of the hub.

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

The display name of the hub.

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

The display name of the hub.

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

The display name of the hub.

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

The display name of the hub.

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

A description of the hub.

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

A description of the hub.

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

A description of the hub.

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

A description of the hub.

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

A description of the hub.

*/ inline DescribeHubResult& 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 void SetHubSearchKeywords(const Aws::Vector& value) { m_hubSearchKeywords = value; } /** *

The searchable keywords for the hub.

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

The searchable keywords for the hub.

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

The searchable keywords for the hub.

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

The searchable keywords for the hub.

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

The searchable keywords for the hub.

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

The searchable keywords for the hub.

*/ inline DescribeHubResult& AddHubSearchKeywords(const char* value) { m_hubSearchKeywords.push_back(value); return *this; } /** *

The Amazon S3 storage configuration for the hub.

*/ inline const HubS3StorageConfig& GetS3StorageConfig() const{ return m_s3StorageConfig; } /** *

The Amazon S3 storage configuration for the hub.

*/ inline void SetS3StorageConfig(const HubS3StorageConfig& value) { m_s3StorageConfig = value; } /** *

The Amazon S3 storage configuration for the hub.

*/ inline void SetS3StorageConfig(HubS3StorageConfig&& value) { m_s3StorageConfig = std::move(value); } /** *

The Amazon S3 storage configuration for the hub.

*/ inline DescribeHubResult& WithS3StorageConfig(const HubS3StorageConfig& value) { SetS3StorageConfig(value); return *this;} /** *

The Amazon S3 storage configuration for the hub.

*/ inline DescribeHubResult& WithS3StorageConfig(HubS3StorageConfig&& value) { SetS3StorageConfig(std::move(value)); return *this;} /** *

The status of the hub.

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

The status of the hub.

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

The status of the hub.

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

The status of the hub.

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

The status of the hub.

*/ inline DescribeHubResult& WithHubStatus(HubStatus&& value) { SetHubStatus(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 DescribeHubResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The failure reason if importing hub content failed.

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

The failure reason if importing hub content failed.

*/ inline DescribeHubResult& WithFailureReason(const char* value) { SetFailureReason(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 void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } /** *

The date and time that the hub was created.

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

The date and time that the hub was created.

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

The date and time that the hub was created.

*/ inline DescribeHubResult& 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 void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; } /** *

The date and time that the hub was last modified.

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

The date and time that the hub was last modified.

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

The date and time that the hub was last modified.

*/ inline DescribeHubResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(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 DescribeHubResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeHubResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeHubResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hubName; Aws::String m_hubArn; Aws::String m_hubDisplayName; Aws::String m_hubDescription; Aws::Vector m_hubSearchKeywords; HubS3StorageConfig m_s3StorageConfig; HubStatus m_hubStatus; Aws::String m_failureReason; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws