/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Details about an Amazon SageMaker app.

See Also:

AWS * API Reference

*/ class AppDetails { public: AWS_SAGEMAKER_API AppDetails(); AWS_SAGEMAKER_API AppDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API AppDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The domain ID.

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

The domain ID.

*/ inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } /** *

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The domain ID.

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

The user profile name.

*/ inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; } /** *

The user profile name.

*/ inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; } /** *

The user profile name.

*/ inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; } /** *

The user profile name.

*/ inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); } /** *

The user profile name.

*/ inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); } /** *

The user profile name.

*/ inline AppDetails& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;} /** *

The user profile name.

*/ inline AppDetails& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;} /** *

The user profile name.

*/ inline AppDetails& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;} /** *

The type of app.

*/ inline const AppType& GetAppType() const{ return m_appType; } /** *

The type of app.

*/ inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; } /** *

The type of app.

*/ inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; } /** *

The type of app.

*/ inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); } /** *

The type of app.

*/ inline AppDetails& WithAppType(const AppType& value) { SetAppType(value); return *this;} /** *

The type of app.

*/ inline AppDetails& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;} /** *

The name of the app.

*/ inline const Aws::String& GetAppName() const{ return m_appName; } /** *

The name of the app.

*/ inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; } /** *

The name of the app.

*/ inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; } /** *

The name of the app.

*/ inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); } /** *

The name of the app.

*/ inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); } /** *

The name of the app.

*/ inline AppDetails& WithAppName(const Aws::String& value) { SetAppName(value); return *this;} /** *

The name of the app.

*/ inline AppDetails& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;} /** *

The name of the app.

*/ inline AppDetails& WithAppName(const char* value) { SetAppName(value); return *this;} /** *

The status.

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

The status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status.

*/ inline void SetStatus(const AppStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status.

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

The status.

*/ inline AppDetails& WithStatus(const AppStatus& value) { SetStatus(value); return *this;} /** *

The status.

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

The creation time.

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

The creation time.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The creation time.

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

The creation time.

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

The creation time.

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

The creation time.

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

The name of the space.

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

The name of the space.

*/ inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; } /** *

The name of the space.

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

The name of the space.

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

The name of the space.

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

The name of the space.

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

The name of the space.

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

The name of the space.

*/ inline AppDetails& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} private: Aws::String m_domainId; bool m_domainIdHasBeenSet = false; Aws::String m_userProfileName; bool m_userProfileNameHasBeenSet = false; AppType m_appType; bool m_appTypeHasBeenSet = false; Aws::String m_appName; bool m_appNameHasBeenSet = false; AppStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_spaceName; bool m_spaceNameHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws