/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains a subset of the possible runtime environment attributes. Used in the
* environment list.See Also:
AWS
* API Reference
The timestamp when the runtime environment was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The timestamp when the runtime environment was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The timestamp when the runtime environment was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The timestamp when the runtime environment was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The timestamp when the runtime environment was created.
*/ inline EnvironmentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The timestamp when the runtime environment was created.
*/ inline EnvironmentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The target platform for the runtime environment.
*/ inline const EngineType& GetEngineType() const{ return m_engineType; } /** *The target platform for the runtime environment.
*/ inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; } /** *The target platform for the runtime environment.
*/ inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; } /** *The target platform for the runtime environment.
*/ inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); } /** *The target platform for the runtime environment.
*/ inline EnvironmentSummary& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;} /** *The target platform for the runtime environment.
*/ inline EnvironmentSummary& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;} /** *The version of the runtime engine.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *The version of the runtime engine.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *The version of the runtime engine.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *The version of the runtime engine.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *The version of the runtime engine.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *The version of the runtime engine.
*/ inline EnvironmentSummary& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *The version of the runtime engine.
*/ inline EnvironmentSummary& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *The version of the runtime engine.
*/ inline EnvironmentSummary& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; } /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArnHasBeenSet = true; m_environmentArn = value; } /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::move(value); } /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline void SetEnvironmentArn(const char* value) { m_environmentArnHasBeenSet = true; m_environmentArn.assign(value); } /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline EnvironmentSummary& WithEnvironmentArn(const Aws::String& value) { SetEnvironmentArn(value); return *this;} /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline EnvironmentSummary& WithEnvironmentArn(Aws::String&& value) { SetEnvironmentArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of a particular runtime environment.
*/ inline EnvironmentSummary& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;} /** *The unique identifier of a particular runtime environment.
*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *The unique identifier of a particular runtime environment.
*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *The unique identifier of a particular runtime environment.
*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *The unique identifier of a particular runtime environment.
*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *The unique identifier of a particular runtime environment.
*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *The unique identifier of a particular runtime environment.
*/ inline EnvironmentSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *The unique identifier of a particular runtime environment.
*/ inline EnvironmentSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *The unique identifier of a particular runtime environment.
*/ inline EnvironmentSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *The instance type of the runtime environment.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type of the runtime environment.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type of the runtime environment.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type of the runtime environment.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type of the runtime environment.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type of the runtime environment.
*/ inline EnvironmentSummary& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type of the runtime environment.
*/ inline EnvironmentSummary& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type of the runtime environment.
*/ inline EnvironmentSummary& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The name of the runtime environment.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the runtime environment.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the runtime environment.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the runtime environment.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the runtime environment.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the runtime environment.
*/ inline EnvironmentSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the runtime environment.
*/ inline EnvironmentSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the runtime environment.
*/ inline EnvironmentSummary& WithName(const char* value) { SetName(value); return *this;} /** *The status of the runtime environment
*/ inline const EnvironmentLifecycle& GetStatus() const{ return m_status; } /** *The status of the runtime environment
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the runtime environment
*/ inline void SetStatus(const EnvironmentLifecycle& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the runtime environment
*/ inline void SetStatus(EnvironmentLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the runtime environment
*/ inline EnvironmentSummary& WithStatus(const EnvironmentLifecycle& value) { SetStatus(value); return *this;} /** *The status of the runtime environment
*/ inline EnvironmentSummary& WithStatus(EnvironmentLifecycle&& value) { SetStatus(std::move(value)); return *this;} private: Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; EngineType m_engineType; bool m_engineTypeHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_environmentArn; bool m_environmentArnHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; EnvironmentLifecycle m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws