/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IoTFleetWise { namespace Model { /** */ class CreateFleetRequest : public IoTFleetWiseRequest { public: AWS_IOTFLEETWISE_API CreateFleetRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateFleet"; } AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override; AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique ID of the fleet to create.

*/ inline const Aws::String& GetFleetId() const{ return m_fleetId; } /** *

The unique ID of the fleet to create.

*/ inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; } /** *

The unique ID of the fleet to create.

*/ inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; } /** *

The unique ID of the fleet to create.

*/ inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); } /** *

The unique ID of the fleet to create.

*/ inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); } /** *

The unique ID of the fleet to create.

*/ inline CreateFleetRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;} /** *

The unique ID of the fleet to create.

*/ inline CreateFleetRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;} /** *

The unique ID of the fleet to create.

*/ inline CreateFleetRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;} /** *

A brief description of the fleet to create.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A brief description of the fleet to create.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A brief description of the fleet to create.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A brief description of the fleet to create.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A brief description of the fleet to create.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A brief description of the fleet to create.

*/ inline CreateFleetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A brief description of the fleet to create.

*/ inline CreateFleetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A brief description of the fleet to create.

*/ inline CreateFleetRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline const Aws::String& GetSignalCatalogArn() const{ return m_signalCatalogArn; } /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline bool SignalCatalogArnHasBeenSet() const { return m_signalCatalogArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline void SetSignalCatalogArn(const Aws::String& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = value; } /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline void SetSignalCatalogArn(Aws::String&& value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline void SetSignalCatalogArn(const char* value) { m_signalCatalogArnHasBeenSet = true; m_signalCatalogArn.assign(value); } /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline CreateFleetRequest& WithSignalCatalogArn(const Aws::String& value) { SetSignalCatalogArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline CreateFleetRequest& WithSignalCatalogArn(Aws::String&& value) { SetSignalCatalogArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a signal catalog.

*/ inline CreateFleetRequest& WithSignalCatalogArn(const char* value) { SetSignalCatalogArn(value); return *this;} /** *

Metadata that can be used to manage the fleet.

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

Metadata that can be used to manage the fleet.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Metadata that can be used to manage the fleet.

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

Metadata that can be used to manage the fleet.

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

Metadata that can be used to manage the fleet.

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

Metadata that can be used to manage the fleet.

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

Metadata that can be used to manage the fleet.

*/ inline CreateFleetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

Metadata that can be used to manage the fleet.

*/ inline CreateFleetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_fleetId; bool m_fleetIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_signalCatalogArn; bool m_signalCatalogArnHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws