This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h

407 lines
12 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/sagemaker/model/AppType.h>
#include <aws/sagemaker/model/AppStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/sagemaker/model/ResourceSpec.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
class AWS_SAGEMAKER_API DescribeAppResult
{
public:
DescribeAppResult();
DescribeAppResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeAppResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The app's Amazon Resource Name (ARN).</p>
*/
inline const Aws::String& GetAppArn() const{ return m_appArn; }
/**
* <p>The app's Amazon Resource Name (ARN).</p>
*/
inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
/**
* <p>The app's Amazon Resource Name (ARN).</p>
*/
inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
/**
* <p>The app's Amazon Resource Name (ARN).</p>
*/
inline void SetAppArn(const char* value) { m_appArn.assign(value); }
/**
* <p>The app's Amazon Resource Name (ARN).</p>
*/
inline DescribeAppResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
/**
* <p>The app's Amazon Resource Name (ARN).</p>
*/
inline DescribeAppResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
/**
* <p>The app's Amazon Resource Name (ARN).</p>
*/
inline DescribeAppResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
/**
* <p>The type of app.</p>
*/
inline const AppType& GetAppType() const{ return m_appType; }
/**
* <p>The type of app.</p>
*/
inline void SetAppType(const AppType& value) { m_appType = value; }
/**
* <p>The type of app.</p>
*/
inline void SetAppType(AppType&& value) { m_appType = std::move(value); }
/**
* <p>The type of app.</p>
*/
inline DescribeAppResult& WithAppType(const AppType& value) { SetAppType(value); return *this;}
/**
* <p>The type of app.</p>
*/
inline DescribeAppResult& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
/**
* <p>The name of the app.</p>
*/
inline const Aws::String& GetAppName() const{ return m_appName; }
/**
* <p>The name of the app.</p>
*/
inline void SetAppName(const Aws::String& value) { m_appName = value; }
/**
* <p>The name of the app.</p>
*/
inline void SetAppName(Aws::String&& value) { m_appName = std::move(value); }
/**
* <p>The name of the app.</p>
*/
inline void SetAppName(const char* value) { m_appName.assign(value); }
/**
* <p>The name of the app.</p>
*/
inline DescribeAppResult& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
/**
* <p>The name of the app.</p>
*/
inline DescribeAppResult& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
/**
* <p>The name of the app.</p>
*/
inline DescribeAppResult& WithAppName(const char* value) { SetAppName(value); return *this;}
/**
* <p>The domain ID.</p>
*/
inline const Aws::String& GetDomainId() const{ return m_domainId; }
/**
* <p>The domain ID.</p>
*/
inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
/**
* <p>The domain ID.</p>
*/
inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
/**
* <p>The domain ID.</p>
*/
inline void SetDomainId(const char* value) { m_domainId.assign(value); }
/**
* <p>The domain ID.</p>
*/
inline DescribeAppResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
/**
* <p>The domain ID.</p>
*/
inline DescribeAppResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
/**
* <p>The domain ID.</p>
*/
inline DescribeAppResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
/**
* <p>The user profile name.</p>
*/
inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
/**
* <p>The user profile name.</p>
*/
inline void SetUserProfileName(const Aws::String& value) { m_userProfileName = value; }
/**
* <p>The user profile name.</p>
*/
inline void SetUserProfileName(Aws::String&& value) { m_userProfileName = std::move(value); }
/**
* <p>The user profile name.</p>
*/
inline void SetUserProfileName(const char* value) { m_userProfileName.assign(value); }
/**
* <p>The user profile name.</p>
*/
inline DescribeAppResult& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
/**
* <p>The user profile name.</p>
*/
inline DescribeAppResult& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
/**
* <p>The user profile name.</p>
*/
inline DescribeAppResult& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
/**
* <p>The status.</p>
*/
inline const AppStatus& GetStatus() const{ return m_status; }
/**
* <p>The status.</p>
*/
inline void SetStatus(const AppStatus& value) { m_status = value; }
/**
* <p>The status.</p>
*/
inline void SetStatus(AppStatus&& value) { m_status = std::move(value); }
/**
* <p>The status.</p>
*/
inline DescribeAppResult& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status.</p>
*/
inline DescribeAppResult& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The timestamp of the last health check.</p>
*/
inline const Aws::Utils::DateTime& GetLastHealthCheckTimestamp() const{ return m_lastHealthCheckTimestamp; }
/**
* <p>The timestamp of the last health check.</p>
*/
inline void SetLastHealthCheckTimestamp(const Aws::Utils::DateTime& value) { m_lastHealthCheckTimestamp = value; }
/**
* <p>The timestamp of the last health check.</p>
*/
inline void SetLastHealthCheckTimestamp(Aws::Utils::DateTime&& value) { m_lastHealthCheckTimestamp = std::move(value); }
/**
* <p>The timestamp of the last health check.</p>
*/
inline DescribeAppResult& WithLastHealthCheckTimestamp(const Aws::Utils::DateTime& value) { SetLastHealthCheckTimestamp(value); return *this;}
/**
* <p>The timestamp of the last health check.</p>
*/
inline DescribeAppResult& WithLastHealthCheckTimestamp(Aws::Utils::DateTime&& value) { SetLastHealthCheckTimestamp(std::move(value)); return *this;}
/**
* <p>The timestamp of the last user's activity.</p>
*/
inline const Aws::Utils::DateTime& GetLastUserActivityTimestamp() const{ return m_lastUserActivityTimestamp; }
/**
* <p>The timestamp of the last user's activity.</p>
*/
inline void SetLastUserActivityTimestamp(const Aws::Utils::DateTime& value) { m_lastUserActivityTimestamp = value; }
/**
* <p>The timestamp of the last user's activity.</p>
*/
inline void SetLastUserActivityTimestamp(Aws::Utils::DateTime&& value) { m_lastUserActivityTimestamp = std::move(value); }
/**
* <p>The timestamp of the last user's activity.</p>
*/
inline DescribeAppResult& WithLastUserActivityTimestamp(const Aws::Utils::DateTime& value) { SetLastUserActivityTimestamp(value); return *this;}
/**
* <p>The timestamp of the last user's activity.</p>
*/
inline DescribeAppResult& WithLastUserActivityTimestamp(Aws::Utils::DateTime&& value) { SetLastUserActivityTimestamp(std::move(value)); return *this;}
/**
* <p>The creation time.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>The creation time.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
/**
* <p>The creation time.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
/**
* <p>The creation time.</p>
*/
inline DescribeAppResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>The creation time.</p>
*/
inline DescribeAppResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The failure reason.</p>
*/
inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
/**
* <p>The failure reason.</p>
*/
inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
/**
* <p>The failure reason.</p>
*/
inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
/**
* <p>The failure reason.</p>
*/
inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
/**
* <p>The failure reason.</p>
*/
inline DescribeAppResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
/**
* <p>The failure reason.</p>
*/
inline DescribeAppResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
/**
* <p>The failure reason.</p>
*/
inline DescribeAppResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
/**
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
* created on the instance.</p>
*/
inline const ResourceSpec& GetResourceSpec() const{ return m_resourceSpec; }
/**
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
* created on the instance.</p>
*/
inline void SetResourceSpec(const ResourceSpec& value) { m_resourceSpec = value; }
/**
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
* created on the instance.</p>
*/
inline void SetResourceSpec(ResourceSpec&& value) { m_resourceSpec = std::move(value); }
/**
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
* created on the instance.</p>
*/
inline DescribeAppResult& WithResourceSpec(const ResourceSpec& value) { SetResourceSpec(value); return *this;}
/**
* <p>The instance type and the Amazon Resource Name (ARN) of the SageMaker image
* created on the instance.</p>
*/
inline DescribeAppResult& WithResourceSpec(ResourceSpec&& value) { SetResourceSpec(std::move(value)); return *this;}
private:
Aws::String m_appArn;
AppType m_appType;
Aws::String m_appName;
Aws::String m_domainId;
Aws::String m_userProfileName;
AppStatus m_status;
Aws::Utils::DateTime m_lastHealthCheckTimestamp;
Aws::Utils::DateTime m_lastUserActivityTimestamp;
Aws::Utils::DateTime m_creationTime;
Aws::String m_failureReason;
ResourceSpec m_resourceSpec;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws