/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an EC2 Fleet that was not successfully deleted.See
* Also:
AWS
* API Reference
The error.
*/ inline const DeleteFleetError& GetError() const{ return m_error; } /** *The error.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *The error.
*/ inline void SetError(const DeleteFleetError& value) { m_errorHasBeenSet = true; m_error = value; } /** *The error.
*/ inline void SetError(DeleteFleetError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *The error.
*/ inline DeleteFleetErrorItem& WithError(const DeleteFleetError& value) { SetError(value); return *this;} /** *The error.
*/ inline DeleteFleetErrorItem& WithError(DeleteFleetError&& value) { SetError(std::move(value)); return *this;} /** *The ID of the EC2 Fleet.
*/ inline const Aws::String& GetFleetId() const{ return m_fleetId; } /** *The ID of the EC2 Fleet.
*/ inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } /** *The ID of the EC2 Fleet.
*/ inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } /** *The ID of the EC2 Fleet.
*/ inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } /** *The ID of the EC2 Fleet.
*/ inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } /** *The ID of the EC2 Fleet.
*/ inline DeleteFleetErrorItem& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} /** *The ID of the EC2 Fleet.
*/ inline DeleteFleetErrorItem& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} /** *The ID of the EC2 Fleet.
*/ inline DeleteFleetErrorItem& WithFleetId(const char* value) { SetFleetId(value); return *this;} private: DeleteFleetError m_error; bool m_errorHasBeenSet = false; Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws