/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTRoboRunner { namespace Model { /** *

A collection of workers organized within a facility.

See Also:

* AWS * API Reference

*/ class WorkerFleet { public: AWS_IOTROBORUNNER_API WorkerFleet(); AWS_IOTROBORUNNER_API WorkerFleet(Aws::Utils::Json::JsonView jsonValue); AWS_IOTROBORUNNER_API WorkerFleet& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTROBORUNNER_API Aws::Utils::Json::JsonValue Jsonize() const; inline const Aws::String& GetArn() const{ return m_arn; } inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } inline WorkerFleet& WithArn(const Aws::String& value) { SetArn(value); return *this;} inline WorkerFleet& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} inline WorkerFleet& WithArn(const char* value) { SetArn(value); return *this;} inline const Aws::String& GetId() const{ return m_id; } inline bool IdHasBeenSet() const { return m_idHasBeenSet; } inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } inline WorkerFleet& WithId(const Aws::String& value) { SetId(value); return *this;} inline WorkerFleet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} inline WorkerFleet& WithId(const char* value) { SetId(value); return *this;} inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } inline WorkerFleet& WithName(const Aws::String& value) { SetName(value); return *this;} inline WorkerFleet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline WorkerFleet& WithName(const char* value) { SetName(value); return *this;} inline const Aws::String& GetSite() const{ return m_site; } inline bool SiteHasBeenSet() const { return m_siteHasBeenSet; } inline void SetSite(const Aws::String& value) { m_siteHasBeenSet = true; m_site = value; } inline void SetSite(Aws::String&& value) { m_siteHasBeenSet = true; m_site = std::move(value); } inline void SetSite(const char* value) { m_siteHasBeenSet = true; m_site.assign(value); } inline WorkerFleet& WithSite(const Aws::String& value) { SetSite(value); return *this;} inline WorkerFleet& WithSite(Aws::String&& value) { SetSite(std::move(value)); return *this;} inline WorkerFleet& WithSite(const char* value) { SetSite(value); return *this;} inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } inline WorkerFleet& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} inline WorkerFleet& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } inline WorkerFleet& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} inline WorkerFleet& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} inline const Aws::String& GetAdditionalFixedProperties() const{ return m_additionalFixedProperties; } inline bool AdditionalFixedPropertiesHasBeenSet() const { return m_additionalFixedPropertiesHasBeenSet; } inline void SetAdditionalFixedProperties(const Aws::String& value) { m_additionalFixedPropertiesHasBeenSet = true; m_additionalFixedProperties = value; } inline void SetAdditionalFixedProperties(Aws::String&& value) { m_additionalFixedPropertiesHasBeenSet = true; m_additionalFixedProperties = std::move(value); } inline void SetAdditionalFixedProperties(const char* value) { m_additionalFixedPropertiesHasBeenSet = true; m_additionalFixedProperties.assign(value); } inline WorkerFleet& WithAdditionalFixedProperties(const Aws::String& value) { SetAdditionalFixedProperties(value); return *this;} inline WorkerFleet& WithAdditionalFixedProperties(Aws::String&& value) { SetAdditionalFixedProperties(std::move(value)); return *this;} inline WorkerFleet& WithAdditionalFixedProperties(const char* value) { SetAdditionalFixedProperties(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_site; bool m_siteHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; Aws::String m_additionalFixedProperties; bool m_additionalFixedPropertiesHasBeenSet = false; }; } // namespace Model } // namespace IoTRoboRunner } // namespace Aws