/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class CreateHubResult { public: AWS_SAGEMAKER_API CreateHubResult(); AWS_SAGEMAKER_API CreateHubResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API CreateHubResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

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 CreateHubResult& WithHubArn(const Aws::String& value) { SetHubArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the hub.

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

The Amazon Resource Name (ARN) of the hub.

*/ inline CreateHubResult& WithHubArn(const char* value) { SetHubArn(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 CreateHubResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateHubResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateHubResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hubArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws