/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a fleet. You can use the API operation to return
* this information about multiple fleets.See Also:
AWS
* API Reference
The unique ID of the fleet.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID of the fleet.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID of the fleet.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID of the fleet.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID of the fleet.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID of the fleet.
*/ inline FleetSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID of the fleet.
*/ inline FleetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID of the fleet.
*/ inline FleetSummary& WithId(const char* value) { SetId(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 FleetSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline FleetSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline FleetSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *A brief description of the fleet.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A brief description of the fleet.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A brief description of the fleet.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A brief description of the fleet.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A brief description of the fleet.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A brief description of the fleet.
*/ inline FleetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A brief description of the fleet.
*/ inline FleetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A brief description of the fleet.
*/ inline FleetSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ARN of the signal catalog associated with the fleet.
*/ inline const Aws::String& GetSignalCatalogArn() const{ return m_signalCatalogArn; } /** *The ARN of the signal catalog associated with the fleet.
*/ inline bool SignalCatalogArnHasBeenSet() const { return m_signalCatalogArnHasBeenSet; } /** *The ARN of the signal catalog associated with the fleet.
*/ inline void SetSignalCatalogArn(const Aws::String& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = value; } /** *The ARN of the signal catalog associated with the fleet.
*/ inline void SetSignalCatalogArn(Aws::String&& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = std::move(value); } /** *The ARN of the signal catalog associated with the fleet.
*/ inline void SetSignalCatalogArn(const char* value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn.assign(value); } /** *The ARN of the signal catalog associated with the fleet.
*/ inline FleetSummary& WithSignalCatalogArn(const Aws::String& value) { SetSignalCatalogArn(value); return *this;} /** *The ARN of the signal catalog associated with the fleet.
*/ inline FleetSummary& WithSignalCatalogArn(Aws::String&& value) { SetSignalCatalogArn(std::move(value)); return *this;} /** *The ARN of the signal catalog associated with the fleet.
*/ inline FleetSummary& WithSignalCatalogArn(const char* value) { SetSignalCatalogArn(value); return *this;} /** *The time the fleet was created, in seconds since epoch (January 1, 1970 at * midnight UTC time).
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time the fleet was created, in seconds since epoch (January 1, 1970 at * midnight UTC time).
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time the fleet was created, in seconds since epoch (January 1, 1970 at * midnight UTC time).
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time the fleet was created, in seconds since epoch (January 1, 1970 at * midnight UTC time).
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time the fleet was created, in seconds since epoch (January 1, 1970 at * midnight UTC time).
*/ inline FleetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time the fleet was created, in seconds since epoch (January 1, 1970 at * midnight UTC time).
*/ inline FleetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The time the fleet was last updated in seconds since epoch (January 1, 1970 * at midnight UTC time).
*/ inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; } /** *The time the fleet was last updated in seconds since epoch (January 1, 1970 * at midnight UTC time).
*/ inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; } /** *The time the fleet was last updated in seconds since epoch (January 1, 1970 * at midnight UTC time).
*/ inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; } /** *The time the fleet was last updated in seconds since epoch (January 1, 1970 * at midnight UTC time).
*/ inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); } /** *The time the fleet was last updated in seconds since epoch (January 1, 1970 * at midnight UTC time).
*/ inline FleetSummary& WithLastModificationTime(const Aws::Utils::DateTime& value) { SetLastModificationTime(value); return *this;} /** *The time the fleet was last updated in seconds since epoch (January 1, 1970 * at midnight UTC time).
*/ inline FleetSummary& WithLastModificationTime(Aws::Utils::DateTime&& value) { SetLastModificationTime(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_signalCatalogArn; bool m_signalCatalogArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModificationTime; bool m_lastModificationTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws