/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a fleet.See Also:
AWS API
* Reference
The name of the fleet.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the fleet.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the fleet.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the fleet.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the fleet.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the fleet.
*/ inline Fleet& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the fleet.
*/ inline Fleet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the fleet.
*/ inline Fleet& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline Fleet& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline Fleet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline Fleet& WithArn(const char* value) { SetArn(value); return *this;} /** *The time, in milliseconds since the epoch, when the fleet was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time, in milliseconds since the epoch, when the fleet was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time, in milliseconds since the epoch, when the fleet was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time, in milliseconds since the epoch, when the fleet was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time, in milliseconds since the epoch, when the fleet was created.
*/ inline Fleet& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time, in milliseconds since the epoch, when the fleet was created.
*/ inline Fleet& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The status of the last fleet deployment.
*/ inline const DeploymentStatus& GetLastDeploymentStatus() const{ return m_lastDeploymentStatus; } /** *The status of the last fleet deployment.
*/ inline bool LastDeploymentStatusHasBeenSet() const { return m_lastDeploymentStatusHasBeenSet; } /** *The status of the last fleet deployment.
*/ inline void SetLastDeploymentStatus(const DeploymentStatus& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = value; } /** *The status of the last fleet deployment.
*/ inline void SetLastDeploymentStatus(DeploymentStatus&& value) { m_lastDeploymentStatusHasBeenSet = true; m_lastDeploymentStatus = std::move(value); } /** *The status of the last fleet deployment.
*/ inline Fleet& WithLastDeploymentStatus(const DeploymentStatus& value) { SetLastDeploymentStatus(value); return *this;} /** *The status of the last fleet deployment.
*/ inline Fleet& WithLastDeploymentStatus(DeploymentStatus&& value) { SetLastDeploymentStatus(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline const Aws::String& GetLastDeploymentJob() const{ return m_lastDeploymentJob; } /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline bool LastDeploymentJobHasBeenSet() const { return m_lastDeploymentJobHasBeenSet; } /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = value; } /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline void SetLastDeploymentJob(Aws::String&& value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob = std::move(value); } /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJobHasBeenSet = true; m_lastDeploymentJob.assign(value); } /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline Fleet& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;} /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline Fleet& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the last deployment job.
*/ inline Fleet& WithLastDeploymentJob(const char* value) { SetLastDeploymentJob(value); return *this;} /** *The time of the last deployment.
*/ inline const Aws::Utils::DateTime& GetLastDeploymentTime() const{ return m_lastDeploymentTime; } /** *The time of the last deployment.
*/ inline bool LastDeploymentTimeHasBeenSet() const { return m_lastDeploymentTimeHasBeenSet; } /** *The time of the last deployment.
*/ inline void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = value; } /** *The time of the last deployment.
*/ inline void SetLastDeploymentTime(Aws::Utils::DateTime&& value) { m_lastDeploymentTimeHasBeenSet = true; m_lastDeploymentTime = std::move(value); } /** *The time of the last deployment.
*/ inline Fleet& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;} /** *The time of the last deployment.
*/ inline Fleet& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; DeploymentStatus m_lastDeploymentStatus; bool m_lastDeploymentStatusHasBeenSet = false; Aws::String m_lastDeploymentJob; bool m_lastDeploymentJobHasBeenSet = false; Aws::Utils::DateTime m_lastDeploymentTime; bool m_lastDeploymentTimeHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws