/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary of the fleet.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the fleet.
*/ inline const Aws::String& GetFleetArn() const{ return m_fleetArn; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); } /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline FleetSummary& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline FleetSummary& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the fleet.
*/ inline FleetSummary& WithFleetArn(const char* value) { SetFleetArn(value); return *this;} /** *The time when the fleet was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time when the fleet was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time when the fleet was created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time when the fleet was created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time when the fleet was created.
*/ inline FleetSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time when the fleet was created.
*/ inline FleetSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The time when the fleet was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The time when the fleet was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The time when the fleet was last updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The time when the fleet was last updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The time when the fleet was last updated.
*/ inline FleetSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The time when the fleet was last updated.
*/ inline FleetSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The name of the fleet.
*/ inline const Aws::String& GetFleetName() const{ return m_fleetName; } /** *The name of the fleet.
*/ inline bool FleetNameHasBeenSet() const { return m_fleetNameHasBeenSet; } /** *The name of the fleet.
*/ inline void SetFleetName(const Aws::String& value) { m_fleetNameHasBeenSet = true; m_fleetName = value; } /** *The name of the fleet.
*/ inline void SetFleetName(Aws::String&& value) { m_fleetNameHasBeenSet = true; m_fleetName = std::move(value); } /** *The name of the fleet.
*/ inline void SetFleetName(const char* value) { m_fleetNameHasBeenSet = true; m_fleetName.assign(value); } /** *The name of the fleet.
*/ inline FleetSummary& WithFleetName(const Aws::String& value) { SetFleetName(value); return *this;} /** *The name of the fleet.
*/ inline FleetSummary& WithFleetName(Aws::String&& value) { SetFleetName(std::move(value)); return *this;} /** *The name of the fleet.
*/ inline FleetSummary& WithFleetName(const char* value) { SetFleetName(value); return *this;} /** *The name of the fleet to display.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The name of the fleet to display.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The name of the fleet to display.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The name of the fleet to display.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The name of the fleet to display.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The name of the fleet to display.
*/ inline FleetSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The name of the fleet to display.
*/ inline FleetSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The name of the fleet to display.
*/ inline FleetSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline const Aws::String& GetCompanyCode() const{ return m_companyCode; } /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline bool CompanyCodeHasBeenSet() const { return m_companyCodeHasBeenSet; } /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline void SetCompanyCode(const Aws::String& value) { m_companyCodeHasBeenSet = true; m_companyCode = value; } /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline void SetCompanyCode(Aws::String&& value) { m_companyCodeHasBeenSet = true; m_companyCode = std::move(value); } /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline void SetCompanyCode(const char* value) { m_companyCodeHasBeenSet = true; m_companyCode.assign(value); } /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline FleetSummary& WithCompanyCode(const Aws::String& value) { SetCompanyCode(value); return *this;} /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline FleetSummary& WithCompanyCode(Aws::String&& value) { SetCompanyCode(std::move(value)); return *this;} /** *The identifier used by users to sign into the Amazon WorkLink app.
*/ inline FleetSummary& WithCompanyCode(const char* value) { SetCompanyCode(value); return *this;} /** *The status of the fleet.
*/ inline const FleetStatus& GetFleetStatus() const{ return m_fleetStatus; } /** *The status of the fleet.
*/ inline bool FleetStatusHasBeenSet() const { return m_fleetStatusHasBeenSet; } /** *The status of the fleet.
*/ inline void SetFleetStatus(const FleetStatus& value) { m_fleetStatusHasBeenSet = true; m_fleetStatus = value; } /** *The status of the fleet.
*/ inline void SetFleetStatus(FleetStatus&& value) { m_fleetStatusHasBeenSet = true; m_fleetStatus = std::move(value); } /** *The status of the fleet.
*/ inline FleetSummary& WithFleetStatus(const FleetStatus& value) { SetFleetStatus(value); return *this;} /** *The status of the fleet.
*/ inline FleetSummary& WithFleetStatus(FleetStatus&& value) { SetFleetStatus(std::move(value)); return *this;} /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline const Aws::MapThe tags attached to the resource. A tag is a key-value pair.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline void SetTags(const Aws::MapThe tags attached to the resource. A tag is a key-value pair.
*/ inline void SetTags(Aws::MapThe tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& WithTags(const Aws::MapThe tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& WithTags(Aws::MapThe tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags attached to the resource. A tag is a key-value pair.
*/ inline FleetSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_fleetArn; bool m_fleetArnHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::String m_fleetName; bool m_fleetNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_companyCode; bool m_companyCodeHasBeenSet = false; FleetStatus m_fleetStatus; bool m_fleetStatusHasBeenSet = false; Aws::Map