/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DescribeSpaceResult { public: AWS_SAGEMAKER_API DescribeSpaceResult(); AWS_SAGEMAKER_API DescribeSpaceResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeSpaceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the associated Domain.

*/ inline const Aws::String& GetDomainId() const{ return m_domainId; } /** *

The ID of the associated Domain.

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

The ID of the associated Domain.

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

The ID of the associated Domain.

*/ inline void SetDomainId(const char* value) { m_domainId.assign(value); } /** *

The ID of the associated Domain.

*/ inline DescribeSpaceResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} /** *

The ID of the associated Domain.

*/ inline DescribeSpaceResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} /** *

The ID of the associated Domain.

*/ inline DescribeSpaceResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} /** *

The space's Amazon Resource Name (ARN).

*/ inline const Aws::String& GetSpaceArn() const{ return m_spaceArn; } /** *

The space's Amazon Resource Name (ARN).

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

The space's Amazon Resource Name (ARN).

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

The space's Amazon Resource Name (ARN).

*/ inline void SetSpaceArn(const char* value) { m_spaceArn.assign(value); } /** *

The space's Amazon Resource Name (ARN).

*/ inline DescribeSpaceResult& WithSpaceArn(const Aws::String& value) { SetSpaceArn(value); return *this;} /** *

The space's Amazon Resource Name (ARN).

*/ inline DescribeSpaceResult& WithSpaceArn(Aws::String&& value) { SetSpaceArn(std::move(value)); return *this;} /** *

The space's Amazon Resource Name (ARN).

*/ inline DescribeSpaceResult& WithSpaceArn(const char* value) { SetSpaceArn(value); return *this;} /** *

The name of the space.

*/ inline const Aws::String& GetSpaceName() const{ return m_spaceName; } /** *

The name of the space.

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

The name of the space.

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

The name of the space.

*/ inline void SetSpaceName(const char* value) { m_spaceName.assign(value); } /** *

The name of the space.

*/ inline DescribeSpaceResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} /** *

The name of the space.

*/ inline DescribeSpaceResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} /** *

The name of the space.

*/ inline DescribeSpaceResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} /** *

The ID of the space's profile in the Amazon Elastic File System volume.

*/ inline const Aws::String& GetHomeEfsFileSystemUid() const{ return m_homeEfsFileSystemUid; } /** *

The ID of the space's profile in the Amazon Elastic File System volume.

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

The ID of the space's profile in the Amazon Elastic File System volume.

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

The ID of the space's profile in the Amazon Elastic File System volume.

*/ inline void SetHomeEfsFileSystemUid(const char* value) { m_homeEfsFileSystemUid.assign(value); } /** *

The ID of the space's profile in the Amazon Elastic File System volume.

*/ inline DescribeSpaceResult& WithHomeEfsFileSystemUid(const Aws::String& value) { SetHomeEfsFileSystemUid(value); return *this;} /** *

The ID of the space's profile in the Amazon Elastic File System volume.

*/ inline DescribeSpaceResult& WithHomeEfsFileSystemUid(Aws::String&& value) { SetHomeEfsFileSystemUid(std::move(value)); return *this;} /** *

The ID of the space's profile in the Amazon Elastic File System volume.

*/ inline DescribeSpaceResult& WithHomeEfsFileSystemUid(const char* value) { SetHomeEfsFileSystemUid(value); return *this;} /** *

The status.

*/ inline const SpaceStatus& GetStatus() const{ return m_status; } /** *

The status.

*/ inline void SetStatus(const SpaceStatus& value) { m_status = value; } /** *

The status.

*/ inline void SetStatus(SpaceStatus&& value) { m_status = std::move(value); } /** *

The status.

*/ inline DescribeSpaceResult& WithStatus(const SpaceStatus& value) { SetStatus(value); return *this;} /** *

The status.

*/ inline DescribeSpaceResult& WithStatus(SpaceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The last modified time.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

The last modified time.

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

The last modified time.

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

The last modified time.

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

The last modified time.

*/ inline DescribeSpaceResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The creation time.

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

The creation time.

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

The creation time.

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

The creation time.

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

The creation time.

*/ inline DescribeSpaceResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The failure reason.

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

The failure reason.

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

The failure reason.

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

The failure reason.

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

The failure reason.

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

The failure reason.

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

The failure reason.

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

A collection of space settings.

*/ inline const SpaceSettings& GetSpaceSettings() const{ return m_spaceSettings; } /** *

A collection of space settings.

*/ inline void SetSpaceSettings(const SpaceSettings& value) { m_spaceSettings = value; } /** *

A collection of space settings.

*/ inline void SetSpaceSettings(SpaceSettings&& value) { m_spaceSettings = std::move(value); } /** *

A collection of space settings.

*/ inline DescribeSpaceResult& WithSpaceSettings(const SpaceSettings& value) { SetSpaceSettings(value); return *this;} /** *

A collection of space settings.

*/ inline DescribeSpaceResult& WithSpaceSettings(SpaceSettings&& value) { SetSpaceSettings(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 DescribeSpaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeSpaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeSpaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_domainId; Aws::String m_spaceArn; Aws::String m_spaceName; Aws::String m_homeEfsFileSystemUid; SpaceStatus m_status; Aws::Utils::DateTime m_lastModifiedTime; Aws::Utils::DateTime m_creationTime; Aws::String m_failureReason; SpaceSettings m_spaceSettings; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws