/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { class AWS_ROBOMAKER_API DescribeFleetResult { public: DescribeFleetResult(); DescribeFleetResult(const Aws::AmazonWebServiceResult& result); DescribeFleetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

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

The name of the fleet.

*/ inline DescribeFleetResult& 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 void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN) of the fleet.

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

The Amazon Resource Name (ARN) of the fleet.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the fleet.

*/ inline DescribeFleetResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the fleet.

*/ inline DescribeFleetResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the fleet.

*/ inline DescribeFleetResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

A list of robots.

*/ inline const Aws::Vector& GetRobots() const{ return m_robots; } /** *

A list of robots.

*/ inline void SetRobots(const Aws::Vector& value) { m_robots = value; } /** *

A list of robots.

*/ inline void SetRobots(Aws::Vector&& value) { m_robots = std::move(value); } /** *

A list of robots.

*/ inline DescribeFleetResult& WithRobots(const Aws::Vector& value) { SetRobots(value); return *this;} /** *

A list of robots.

*/ inline DescribeFleetResult& WithRobots(Aws::Vector&& value) { SetRobots(std::move(value)); return *this;} /** *

A list of robots.

*/ inline DescribeFleetResult& AddRobots(const Robot& value) { m_robots.push_back(value); return *this; } /** *

A list of robots.

*/ inline DescribeFleetResult& AddRobots(Robot&& value) { m_robots.push_back(std::move(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 void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The time, in milliseconds since the epoch, when the fleet was created.

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

The time, in milliseconds since the epoch, when the fleet was created.

*/ inline DescribeFleetResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time, in milliseconds since the epoch, when the fleet was created.

*/ inline DescribeFleetResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The status of the last deployment.

*/ inline const DeploymentStatus& GetLastDeploymentStatus() const{ return m_lastDeploymentStatus; } /** *

The status of the last deployment.

*/ inline void SetLastDeploymentStatus(const DeploymentStatus& value) { m_lastDeploymentStatus = value; } /** *

The status of the last deployment.

*/ inline void SetLastDeploymentStatus(DeploymentStatus&& value) { m_lastDeploymentStatus = std::move(value); } /** *

The status of the last deployment.

*/ inline DescribeFleetResult& WithLastDeploymentStatus(const DeploymentStatus& value) { SetLastDeploymentStatus(value); return *this;} /** *

The status of the last deployment.

*/ inline DescribeFleetResult& 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 void SetLastDeploymentJob(const Aws::String& value) { m_lastDeploymentJob = value; } /** *

The Amazon Resource Name (ARN) of the last deployment job.

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

The Amazon Resource Name (ARN) of the last deployment job.

*/ inline void SetLastDeploymentJob(const char* value) { m_lastDeploymentJob.assign(value); } /** *

The Amazon Resource Name (ARN) of the last deployment job.

*/ inline DescribeFleetResult& WithLastDeploymentJob(const Aws::String& value) { SetLastDeploymentJob(value); return *this;} /** *

The Amazon Resource Name (ARN) of the last deployment job.

*/ inline DescribeFleetResult& WithLastDeploymentJob(Aws::String&& value) { SetLastDeploymentJob(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the last deployment job.

*/ inline DescribeFleetResult& 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 void SetLastDeploymentTime(const Aws::Utils::DateTime& value) { m_lastDeploymentTime = value; } /** *

The time of the last deployment.

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

The time of the last deployment.

*/ inline DescribeFleetResult& WithLastDeploymentTime(const Aws::Utils::DateTime& value) { SetLastDeploymentTime(value); return *this;} /** *

The time of the last deployment.

*/ inline DescribeFleetResult& WithLastDeploymentTime(Aws::Utils::DateTime&& value) { SetLastDeploymentTime(std::move(value)); return *this;} /** *

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

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

The list of all tags added to the specified fleet.

*/ inline DescribeFleetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } private: Aws::String m_name; Aws::String m_arn; Aws::Vector m_robots; Aws::Utils::DateTime m_createdAt; DeploymentStatus m_lastDeploymentStatus; Aws::String m_lastDeploymentJob; Aws::Utils::DateTime m_lastDeploymentTime; Aws::Map m_tags; }; } // namespace Model } // namespace RoboMaker } // namespace Aws