/** * 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 AWS_SAGEMAKER_API DescribeDomainResult { public: DescribeDomainResult(); DescribeDomainResult(const Aws::AmazonWebServiceResult& result); DescribeDomainResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The domain's Amazon Resource Name (ARN).

*/ inline const Aws::String& GetDomainArn() const{ return m_domainArn; } /** *

The domain's Amazon Resource Name (ARN).

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

The domain's Amazon Resource Name (ARN).

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

The domain's Amazon Resource Name (ARN).

*/ inline void SetDomainArn(const char* value) { m_domainArn.assign(value); } /** *

The domain's Amazon Resource Name (ARN).

*/ inline DescribeDomainResult& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;} /** *

The domain's Amazon Resource Name (ARN).

*/ inline DescribeDomainResult& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;} /** *

The domain's Amazon Resource Name (ARN).

*/ inline DescribeDomainResult& WithDomainArn(const char* value) { SetDomainArn(value); return *this;} /** *

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain name.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The domain name.

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

The domain name.

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

The domain name.

*/ inline void SetDomainName(const char* value) { m_domainName.assign(value); } /** *

The domain name.

*/ inline DescribeDomainResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The domain name.

*/ inline DescribeDomainResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The domain name.

*/ inline DescribeDomainResult& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The ID of the Amazon Elastic File System (EFS) managed by this Domain.

*/ inline const Aws::String& GetHomeEfsFileSystemId() const{ return m_homeEfsFileSystemId; } /** *

The ID of the Amazon Elastic File System (EFS) managed by this Domain.

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

The ID of the Amazon Elastic File System (EFS) managed by this Domain.

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

The ID of the Amazon Elastic File System (EFS) managed by this Domain.

*/ inline void SetHomeEfsFileSystemId(const char* value) { m_homeEfsFileSystemId.assign(value); } /** *

The ID of the Amazon Elastic File System (EFS) managed by this Domain.

*/ inline DescribeDomainResult& WithHomeEfsFileSystemId(const Aws::String& value) { SetHomeEfsFileSystemId(value); return *this;} /** *

The ID of the Amazon Elastic File System (EFS) managed by this Domain.

*/ inline DescribeDomainResult& WithHomeEfsFileSystemId(Aws::String&& value) { SetHomeEfsFileSystemId(std::move(value)); return *this;} /** *

The ID of the Amazon Elastic File System (EFS) managed by this Domain.

*/ inline DescribeDomainResult& WithHomeEfsFileSystemId(const char* value) { SetHomeEfsFileSystemId(value); return *this;} /** *

The SSO managed application instance ID.

*/ inline const Aws::String& GetSingleSignOnManagedApplicationInstanceId() const{ return m_singleSignOnManagedApplicationInstanceId; } /** *

The SSO managed application instance ID.

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

The SSO managed application instance ID.

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

The SSO managed application instance ID.

*/ inline void SetSingleSignOnManagedApplicationInstanceId(const char* value) { m_singleSignOnManagedApplicationInstanceId.assign(value); } /** *

The SSO managed application instance ID.

*/ inline DescribeDomainResult& WithSingleSignOnManagedApplicationInstanceId(const Aws::String& value) { SetSingleSignOnManagedApplicationInstanceId(value); return *this;} /** *

The SSO managed application instance ID.

*/ inline DescribeDomainResult& WithSingleSignOnManagedApplicationInstanceId(Aws::String&& value) { SetSingleSignOnManagedApplicationInstanceId(std::move(value)); return *this;} /** *

The SSO managed application instance ID.

*/ inline DescribeDomainResult& WithSingleSignOnManagedApplicationInstanceId(const char* value) { SetSingleSignOnManagedApplicationInstanceId(value); return *this;} /** *

The status.

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

The status.

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

The status.

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

The status.

*/ inline DescribeDomainResult& WithStatus(const DomainStatus& value) { SetStatus(value); return *this;} /** *

The status.

*/ inline DescribeDomainResult& WithStatus(DomainStatus&& value) { SetStatus(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 DescribeDomainResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The creation time.

*/ inline DescribeDomainResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(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 DescribeDomainResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

The last modified time.

*/ inline DescribeDomainResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(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 DescribeDomainResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The failure reason.

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

The failure reason.

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

The domain's authentication mode.

*/ inline const AuthMode& GetAuthMode() const{ return m_authMode; } /** *

The domain's authentication mode.

*/ inline void SetAuthMode(const AuthMode& value) { m_authMode = value; } /** *

The domain's authentication mode.

*/ inline void SetAuthMode(AuthMode&& value) { m_authMode = std::move(value); } /** *

The domain's authentication mode.

*/ inline DescribeDomainResult& WithAuthMode(const AuthMode& value) { SetAuthMode(value); return *this;} /** *

The domain's authentication mode.

*/ inline DescribeDomainResult& WithAuthMode(AuthMode&& value) { SetAuthMode(std::move(value)); return *this;} /** *

Settings which are applied to all UserProfile in this domain, if settings are * not explicitly specified in a given UserProfile.

*/ inline const UserSettings& GetDefaultUserSettings() const{ return m_defaultUserSettings; } /** *

Settings which are applied to all UserProfile in this domain, if settings are * not explicitly specified in a given UserProfile.

*/ inline void SetDefaultUserSettings(const UserSettings& value) { m_defaultUserSettings = value; } /** *

Settings which are applied to all UserProfile in this domain, if settings are * not explicitly specified in a given UserProfile.

*/ inline void SetDefaultUserSettings(UserSettings&& value) { m_defaultUserSettings = std::move(value); } /** *

Settings which are applied to all UserProfile in this domain, if settings are * not explicitly specified in a given UserProfile.

*/ inline DescribeDomainResult& WithDefaultUserSettings(const UserSettings& value) { SetDefaultUserSettings(value); return *this;} /** *

Settings which are applied to all UserProfile in this domain, if settings are * not explicitly specified in a given UserProfile.

*/ inline DescribeDomainResult& WithDefaultUserSettings(UserSettings&& value) { SetDefaultUserSettings(std::move(value)); return *this;} /** *

The AWS Key Management Service encryption key ID.

*/ inline const Aws::String& GetHomeEfsFileSystemKmsKeyId() const{ return m_homeEfsFileSystemKmsKeyId; } /** *

The AWS Key Management Service encryption key ID.

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

The AWS Key Management Service encryption key ID.

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

The AWS Key Management Service encryption key ID.

*/ inline void SetHomeEfsFileSystemKmsKeyId(const char* value) { m_homeEfsFileSystemKmsKeyId.assign(value); } /** *

The AWS Key Management Service encryption key ID.

*/ inline DescribeDomainResult& WithHomeEfsFileSystemKmsKeyId(const Aws::String& value) { SetHomeEfsFileSystemKmsKeyId(value); return *this;} /** *

The AWS Key Management Service encryption key ID.

*/ inline DescribeDomainResult& WithHomeEfsFileSystemKmsKeyId(Aws::String&& value) { SetHomeEfsFileSystemKmsKeyId(std::move(value)); return *this;} /** *

The AWS Key Management Service encryption key ID.

*/ inline DescribeDomainResult& WithHomeEfsFileSystemKmsKeyId(const char* value) { SetHomeEfsFileSystemKmsKeyId(value); return *this;} /** *

Security setting to limit to a set of subnets.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

Security setting to limit to a set of subnets.

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

Security setting to limit to a set of subnets.

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

Security setting to limit to a set of subnets.

*/ inline DescribeDomainResult& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

Security setting to limit to a set of subnets.

*/ inline DescribeDomainResult& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

Security setting to limit to a set of subnets.

*/ inline DescribeDomainResult& AddSubnetIds(const Aws::String& value) { m_subnetIds.push_back(value); return *this; } /** *

Security setting to limit to a set of subnets.

*/ inline DescribeDomainResult& AddSubnetIds(Aws::String&& value) { m_subnetIds.push_back(std::move(value)); return *this; } /** *

Security setting to limit to a set of subnets.

*/ inline DescribeDomainResult& AddSubnetIds(const char* value) { m_subnetIds.push_back(value); return *this; } /** *

The domain's URL.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The domain's URL.

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

The domain's URL.

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

The domain's URL.

*/ inline void SetUrl(const char* value) { m_url.assign(value); } /** *

The domain's URL.

*/ inline DescribeDomainResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The domain's URL.

*/ inline DescribeDomainResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The domain's URL.

*/ inline DescribeDomainResult& WithUrl(const char* value) { SetUrl(value); return *this;} /** *

The ID of the Amazon Virtual Private Cloud.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The ID of the Amazon Virtual Private Cloud.

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

The ID of the Amazon Virtual Private Cloud.

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

The ID of the Amazon Virtual Private Cloud.

*/ inline void SetVpcId(const char* value) { m_vpcId.assign(value); } /** *

The ID of the Amazon Virtual Private Cloud.

*/ inline DescribeDomainResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The ID of the Amazon Virtual Private Cloud.

*/ inline DescribeDomainResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The ID of the Amazon Virtual Private Cloud.

*/ inline DescribeDomainResult& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::String m_domainArn; Aws::String m_domainId; Aws::String m_domainName; Aws::String m_homeEfsFileSystemId; Aws::String m_singleSignOnManagedApplicationInstanceId; DomainStatus m_status; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_lastModifiedTime; Aws::String m_failureReason; AuthMode m_authMode; UserSettings m_defaultUserSettings; Aws::String m_homeEfsFileSystemKmsKeyId; Aws::Vector m_subnetIds; Aws::String m_url; Aws::String m_vpcId; }; } // namespace Model } // namespace SageMaker } // namespace Aws