/**
* 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 an application.See
* Also:
AWS
* API Reference
The ID of the application.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the application.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the application.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the application.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the application.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the application.
*/ inline ApplicationSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the application.
*/ inline ApplicationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the application.
*/ inline ApplicationSummary& WithId(const char* value) { SetId(value); return *this;} /** *The name of the application.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the application.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the application.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the application.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the application.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the application.
*/ inline ApplicationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the application.
*/ inline ApplicationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the application.
*/ inline ApplicationSummary& WithName(const char* value) { SetName(value); return *this;} /** *The ARN of the application.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the application.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the application.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the application.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the application.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the application.
*/ inline ApplicationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the application.
*/ inline ApplicationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the application.
*/ inline ApplicationSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The Amazon EMR release associated with the application.
*/ inline const Aws::String& GetReleaseLabel() const{ return m_releaseLabel; } /** *The Amazon EMR release associated with the application.
*/ inline bool ReleaseLabelHasBeenSet() const { return m_releaseLabelHasBeenSet; } /** *The Amazon EMR release associated with the application.
*/ inline void SetReleaseLabel(const Aws::String& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = value; } /** *The Amazon EMR release associated with the application.
*/ inline void SetReleaseLabel(Aws::String&& value) { m_releaseLabelHasBeenSet = true; m_releaseLabel = std::move(value); } /** *The Amazon EMR release associated with the application.
*/ inline void SetReleaseLabel(const char* value) { m_releaseLabelHasBeenSet = true; m_releaseLabel.assign(value); } /** *The Amazon EMR release associated with the application.
*/ inline ApplicationSummary& WithReleaseLabel(const Aws::String& value) { SetReleaseLabel(value); return *this;} /** *The Amazon EMR release associated with the application.
*/ inline ApplicationSummary& WithReleaseLabel(Aws::String&& value) { SetReleaseLabel(std::move(value)); return *this;} /** *The Amazon EMR release associated with the application.
*/ inline ApplicationSummary& WithReleaseLabel(const char* value) { SetReleaseLabel(value); return *this;} /** *The type of application, such as Spark or Hive.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of application, such as Spark or Hive.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of application, such as Spark or Hive.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of application, such as Spark or Hive.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of application, such as Spark or Hive.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of application, such as Spark or Hive.
*/ inline ApplicationSummary& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of application, such as Spark or Hive.
*/ inline ApplicationSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of application, such as Spark or Hive.
*/ inline ApplicationSummary& WithType(const char* value) { SetType(value); return *this;} /** *The state of the application.
*/ inline const ApplicationState& GetState() const{ return m_state; } /** *The state of the application.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the application.
*/ inline void SetState(const ApplicationState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the application.
*/ inline void SetState(ApplicationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the application.
*/ inline ApplicationSummary& WithState(const ApplicationState& value) { SetState(value); return *this;} /** *The state of the application.
*/ inline ApplicationSummary& WithState(ApplicationState&& value) { SetState(std::move(value)); return *this;} /** *The state details of the application.
*/ inline const Aws::String& GetStateDetails() const{ return m_stateDetails; } /** *The state details of the application.
*/ inline bool StateDetailsHasBeenSet() const { return m_stateDetailsHasBeenSet; } /** *The state details of the application.
*/ inline void SetStateDetails(const Aws::String& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = value; } /** *The state details of the application.
*/ inline void SetStateDetails(Aws::String&& value) { m_stateDetailsHasBeenSet = true; m_stateDetails = std::move(value); } /** *The state details of the application.
*/ inline void SetStateDetails(const char* value) { m_stateDetailsHasBeenSet = true; m_stateDetails.assign(value); } /** *The state details of the application.
*/ inline ApplicationSummary& WithStateDetails(const Aws::String& value) { SetStateDetails(value); return *this;} /** *The state details of the application.
*/ inline ApplicationSummary& WithStateDetails(Aws::String&& value) { SetStateDetails(std::move(value)); return *this;} /** *The state details of the application.
*/ inline ApplicationSummary& WithStateDetails(const char* value) { SetStateDetails(value); return *this;} /** *The date and time when the application was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date and time when the application was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date and time when the application was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date and time when the application was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date and time when the application was created.
*/ inline ApplicationSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time when the application was created.
*/ inline ApplicationSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The date and time when the application was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The date and time when the application was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The date and time when the application was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The date and time when the application was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The date and time when the application was last updated.
*/ inline ApplicationSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The date and time when the application was last updated.
*/ inline ApplicationSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} /** *The CPU architecture of an application.
*/ inline const Architecture& GetArchitecture() const{ return m_architecture; } /** *The CPU architecture of an application.
*/ inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; } /** *The CPU architecture of an application.
*/ inline void SetArchitecture(const Architecture& value) { m_architectureHasBeenSet = true; m_architecture = value; } /** *The CPU architecture of an application.
*/ inline void SetArchitecture(Architecture&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); } /** *The CPU architecture of an application.
*/ inline ApplicationSummary& WithArchitecture(const Architecture& value) { SetArchitecture(value); return *this;} /** *The CPU architecture of an application.
*/ inline ApplicationSummary& WithArchitecture(Architecture&& value) { SetArchitecture(std::move(value)); return *this;} private: 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_releaseLabel; bool m_releaseLabelHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; ApplicationState m_state; bool m_stateHasBeenSet = false; Aws::String m_stateDetails; bool m_stateDetailsHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Architecture m_architecture; bool m_architectureHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws