/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary of attributes associated with a job run.See Also:
* AWS
* API Reference
The ID of the application the job is running on.
*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *The ID of the application the job is running on.
*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *The ID of the application the job is running on.
*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *The ID of the application the job is running on.
*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *The ID of the application the job is running on.
*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *The ID of the application the job is running on.
*/ inline JobRunSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The ID of the application the job is running on.
*/ inline JobRunSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The ID of the application the job is running on.
*/ inline JobRunSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *The ID of the job run.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the job run.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the job run.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the job run.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the job run.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the job run.
*/ inline JobRunSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the job run.
*/ inline JobRunSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the job run.
*/ inline JobRunSummary& WithId(const char* value) { SetId(value); return *this;} /** *The optional job run name. This doesn't have to be unique.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The optional job run name. This doesn't have to be unique.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The optional job run name. This doesn't have to be unique.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The optional job run name. This doesn't have to be unique.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The optional job run name. This doesn't have to be unique.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The optional job run name. This doesn't have to be unique.
*/ inline JobRunSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The optional job run name. This doesn't have to be unique.
*/ inline JobRunSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The optional job run name. This doesn't have to be unique.
*/ inline JobRunSummary& WithName(const char* value) { SetName(value); return *this;} /** *The ARN of the job run.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the job run.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the job run.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the job run.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the job run.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the job run.
*/ inline JobRunSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the job run.
*/ inline JobRunSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the job run.
*/ inline JobRunSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The user who created the job run.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The user who created the job run.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The user who created the job run.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The user who created the job run.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The user who created the job run.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The user who created the job run.
*/ inline JobRunSummary& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The user who created the job run.
*/ inline JobRunSummary& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The user who created the job run.
*/ inline JobRunSummary& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *The date and time when the job run was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date and time when the job run was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date and time when the job run was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date and time when the job run was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date and time when the job run was created.
*/ inline JobRunSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time when the job run was created.
*/ inline JobRunSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The date and time when the job run was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The date and time when the job run was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The date and time when the job run was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The date and time when the job run was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The date and time when the job run was last updated.
*/ inline JobRunSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The date and time when the job run was last updated.
*/ inline JobRunSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The execution role ARN of the job run.
*/ inline const Aws::String& GetExecutionRole() const{ return m_executionRole; } /** *The execution role ARN of the job run.
*/ inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; } /** *The execution role ARN of the job run.
*/ inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; } /** *The execution role ARN of the job run.
*/ inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); } /** *The execution role ARN of the job run.
*/ inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); } /** *The execution role ARN of the job run.
*/ inline JobRunSummary& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;} /** *The execution role ARN of the job run.
*/ inline JobRunSummary& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;} /** *The execution role ARN of the job run.
*/ inline JobRunSummary& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;} /** *The state of the job run.
*/ inline const JobRunState& GetState() const{ return m_state; } /** *The state of the job run.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the job run.
*/ inline void SetState(const JobRunState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the job run.
*/ inline void SetState(JobRunState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the job run.
*/ inline JobRunSummary& WithState(const JobRunState& value) { SetState(value); return *this;} /** *The state of the job run.
*/ inline JobRunSummary& WithState(JobRunState&& value) { SetState(std::move(value)); return *this;} /** *The state details of the job run.
*/ inline const Aws::String& GetStateDetails() const{ return m_stateDetails; } /** *The state details of the job run.
*/ inline bool StateDetailsHasBeenSet() const { return m_stateDetailsHasBeenSet; } /** *The state details of the job run.
*/ inline void SetStateDetails(const Aws::String& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = value; } /** *The state details of the job run.
*/ inline void SetStateDetails(Aws::String&& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = std::move(value); } /** *The state details of the job run.
*/ inline void SetStateDetails(const char* value) { m_stateDetailsHasBeenSet = true; m_stateDetails.assign(value); } /** *The state details of the job run.
*/ inline JobRunSummary& WithStateDetails(const Aws::String& value) { SetStateDetails(value); return *this;} /** *The state details of the job run.
*/ inline JobRunSummary& WithStateDetails(Aws::String&& value) { SetStateDetails(std::move(value)); return *this;} /** *The state details of the job run.
*/ inline JobRunSummary& WithStateDetails(const char* value) { SetStateDetails(value); return *this;} /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; } /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; } /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; } /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); } /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); } /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline JobRunSummary& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;} /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline JobRunSummary& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;} /** *The Amazon EMR release associated with the application your job is running * on.
*/ inline JobRunSummary& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;} /** *The type of job run, such as Spark or Hive.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of job run, such as Spark or Hive.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of job run, such as Spark or Hive.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of job run, such as Spark or Hive.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of job run, such as Spark or Hive.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of job run, such as Spark or Hive.
*/ inline JobRunSummary& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of job run, such as Spark or Hive.
*/ inline JobRunSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of job run, such as Spark or Hive.
*/ inline JobRunSummary& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_executionRole; bool m_executionRoleHasBeenSet = false; JobRunState m_state; bool m_stateHasBeenSet = false; Aws::String m_stateDetails; bool m_stateDetailsHasBeenSet = false; Aws::String m_releaseLabel; bool m_releaseLabelHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws