/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GlueDataBrew { namespace Model { class DescribeProjectResult { public: AWS_GLUEDATABREW_API DescribeProjectResult(); AWS_GLUEDATABREW_API DescribeProjectResult(const Aws::AmazonWebServiceResult& result); AWS_GLUEDATABREW_API DescribeProjectResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The date and time that the project was created.

*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *

The date and time that the project was created.

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

The date and time that the project was created.

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

The date and time that the project was created.

*/ inline DescribeProjectResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *

The date and time that the project was created.

*/ inline DescribeProjectResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *

The identifier (user name) of the user who created the project.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The identifier (user name) of the user who created the project.

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

The identifier (user name) of the user who created the project.

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

The identifier (user name) of the user who created the project.

*/ inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } /** *

The identifier (user name) of the user who created the project.

*/ inline DescribeProjectResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The identifier (user name) of the user who created the project.

*/ inline DescribeProjectResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The identifier (user name) of the user who created the project.

*/ inline DescribeProjectResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The dataset associated with the project.

*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *

The dataset associated with the project.

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

The dataset associated with the project.

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

The dataset associated with the project.

*/ inline void SetDatasetName(const char* value) { m_datasetName.assign(value); } /** *

The dataset associated with the project.

*/ inline DescribeProjectResult& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *

The dataset associated with the project.

*/ inline DescribeProjectResult& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *

The dataset associated with the project.

*/ inline DescribeProjectResult& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *

The date and time that the project was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *

The date and time that the project was last modified.

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

The date and time that the project was last modified.

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

The date and time that the project was last modified.

*/ inline DescribeProjectResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *

The date and time that the project was last modified.

*/ inline DescribeProjectResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *

The identifier (user name) of the user who last modified the project.

*/ inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; } /** *

The identifier (user name) of the user who last modified the project.

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

The identifier (user name) of the user who last modified the project.

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

The identifier (user name) of the user who last modified the project.

*/ inline void SetLastModifiedBy(const char* value) { m_lastModifiedBy.assign(value); } /** *

The identifier (user name) of the user who last modified the project.

*/ inline DescribeProjectResult& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;} /** *

The identifier (user name) of the user who last modified the project.

*/ inline DescribeProjectResult& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;} /** *

The identifier (user name) of the user who last modified the project.

*/ inline DescribeProjectResult& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;} /** *

The name of the project.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the project.

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

The name of the project.

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

The name of the project.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the project.

*/ inline DescribeProjectResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the project.

*/ inline DescribeProjectResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the project.

*/ inline DescribeProjectResult& WithName(const char* value) { SetName(value); return *this;} /** *

The recipe associated with this job.

*/ inline const Aws::String& GetRecipeName() const{ return m_recipeName; } /** *

The recipe associated with this job.

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

The recipe associated with this job.

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

The recipe associated with this job.

*/ inline void SetRecipeName(const char* value) { m_recipeName.assign(value); } /** *

The recipe associated with this job.

*/ inline DescribeProjectResult& WithRecipeName(const Aws::String& value) { SetRecipeName(value); return *this;} /** *

The recipe associated with this job.

*/ inline DescribeProjectResult& WithRecipeName(Aws::String&& value) { SetRecipeName(std::move(value)); return *this;} /** *

The recipe associated with this job.

*/ inline DescribeProjectResult& WithRecipeName(const char* value) { SetRecipeName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the project.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

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

The Amazon Resource Name (ARN) of the project.

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the project.

*/ inline DescribeProjectResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the project.

*/ inline DescribeProjectResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the project.

*/ inline DescribeProjectResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} inline const Sample& GetSample() const{ return m_sample; } inline void SetSample(const Sample& value) { m_sample = value; } inline void SetSample(Sample&& value) { m_sample = std::move(value); } inline DescribeProjectResult& WithSample(const Sample& value) { SetSample(value); return *this;} inline DescribeProjectResult& WithSample(Sample&& value) { SetSample(std::move(value)); return *this;} /** *

The ARN of the Identity and Access Management (IAM) role to be assumed when * DataBrew runs the job.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The ARN of the Identity and Access Management (IAM) role to be assumed when * DataBrew runs the job.

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

The ARN of the Identity and Access Management (IAM) role to be assumed when * DataBrew runs the job.

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

The ARN of the Identity and Access Management (IAM) role to be assumed when * DataBrew runs the job.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The ARN of the Identity and Access Management (IAM) role to be assumed when * DataBrew runs the job.

*/ inline DescribeProjectResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The ARN of the Identity and Access Management (IAM) role to be assumed when * DataBrew runs the job.

*/ inline DescribeProjectResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The ARN of the Identity and Access Management (IAM) role to be assumed when * DataBrew runs the job.

*/ inline DescribeProjectResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

Metadata tags associated with this project.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Metadata tags associated with this project.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

Metadata tags associated with this project.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Metadata tags associated with this project.

*/ inline DescribeProjectResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

Describes the current state of the session:

  • * PROVISIONING - allocating resources for the session.

  • *

    INITIALIZING - getting the session ready for first use.

    *
  • ASSIGNED - the session is ready for use.

  • *
*/ inline const SessionStatus& GetSessionStatus() const{ return m_sessionStatus; } /** *

Describes the current state of the session:

  • * PROVISIONING - allocating resources for the session.

  • *

    INITIALIZING - getting the session ready for first use.

    *
  • ASSIGNED - the session is ready for use.

  • *
*/ inline void SetSessionStatus(const SessionStatus& value) { m_sessionStatus = value; } /** *

Describes the current state of the session:

  • * PROVISIONING - allocating resources for the session.

  • *

    INITIALIZING - getting the session ready for first use.

    *
  • ASSIGNED - the session is ready for use.

  • *
*/ inline void SetSessionStatus(SessionStatus&& value) { m_sessionStatus = std::move(value); } /** *

Describes the current state of the session:

  • * PROVISIONING - allocating resources for the session.

  • *

    INITIALIZING - getting the session ready for first use.

    *
  • ASSIGNED - the session is ready for use.

  • *
*/ inline DescribeProjectResult& WithSessionStatus(const SessionStatus& value) { SetSessionStatus(value); return *this;} /** *

Describes the current state of the session:

  • * PROVISIONING - allocating resources for the session.

  • *

    INITIALIZING - getting the session ready for first use.

    *
  • ASSIGNED - the session is ready for use.

  • *
*/ inline DescribeProjectResult& WithSessionStatus(SessionStatus&& value) { SetSessionStatus(std::move(value)); return *this;} /** *

The identifier (user name) of the user that opened the project for use.

*/ inline const Aws::String& GetOpenedBy() const{ return m_openedBy; } /** *

The identifier (user name) of the user that opened the project for use.

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

The identifier (user name) of the user that opened the project for use.

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

The identifier (user name) of the user that opened the project for use.

*/ inline void SetOpenedBy(const char* value) { m_openedBy.assign(value); } /** *

The identifier (user name) of the user that opened the project for use.

*/ inline DescribeProjectResult& WithOpenedBy(const Aws::String& value) { SetOpenedBy(value); return *this;} /** *

The identifier (user name) of the user that opened the project for use.

*/ inline DescribeProjectResult& WithOpenedBy(Aws::String&& value) { SetOpenedBy(std::move(value)); return *this;} /** *

The identifier (user name) of the user that opened the project for use.

*/ inline DescribeProjectResult& WithOpenedBy(const char* value) { SetOpenedBy(value); return *this;} /** *

The date and time when the project was opened.

*/ inline const Aws::Utils::DateTime& GetOpenDate() const{ return m_openDate; } /** *

The date and time when the project was opened.

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

The date and time when the project was opened.

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

The date and time when the project was opened.

*/ inline DescribeProjectResult& WithOpenDate(const Aws::Utils::DateTime& value) { SetOpenDate(value); return *this;} /** *

The date and time when the project was opened.

*/ inline DescribeProjectResult& WithOpenDate(Aws::Utils::DateTime&& value) { SetOpenDate(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 DescribeProjectResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeProjectResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeProjectResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createDate; Aws::String m_createdBy; Aws::String m_datasetName; Aws::Utils::DateTime m_lastModifiedDate; Aws::String m_lastModifiedBy; Aws::String m_name; Aws::String m_recipeName; Aws::String m_resourceArn; Sample m_sample; Aws::String m_roleArn; Aws::Map m_tags; SessionStatus m_sessionStatus; Aws::String m_openedBy; Aws::Utils::DateTime m_openDate; Aws::String m_requestId; }; } // namespace Model } // namespace GlueDataBrew } // namespace Aws