/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace RoboMaker { namespace Model { /** */ class AWS_ROBOMAKER_API SyncDeploymentJobRequest : public RoboMakerRequest { public: SyncDeploymentJobRequest(); // 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 "SyncDeploymentJob"; } Aws::String SerializePayload() const override; /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline SyncDeploymentJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline SyncDeploymentJobRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline SyncDeploymentJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The target fleet for the synchronization.

*/ inline const Aws::String& GetFleet() const{ return m_fleet; } /** *

The target fleet for the synchronization.

*/ inline bool FleetHasBeenSet() const { return m_fleetHasBeenSet; } /** *

The target fleet for the synchronization.

*/ inline void SetFleet(const Aws::String& value) { m_fleetHasBeenSet = true; m_fleet = value; } /** *

The target fleet for the synchronization.

*/ inline void SetFleet(Aws::String&& value) { m_fleetHasBeenSet = true; m_fleet = std::move(value); } /** *

The target fleet for the synchronization.

*/ inline void SetFleet(const char* value) { m_fleetHasBeenSet = true; m_fleet.assign(value); } /** *

The target fleet for the synchronization.

*/ inline SyncDeploymentJobRequest& WithFleet(const Aws::String& value) { SetFleet(value); return *this;} /** *

The target fleet for the synchronization.

*/ inline SyncDeploymentJobRequest& WithFleet(Aws::String&& value) { SetFleet(std::move(value)); return *this;} /** *

The target fleet for the synchronization.

*/ inline SyncDeploymentJobRequest& WithFleet(const char* value) { SetFleet(value); return *this;} private: Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet; Aws::String m_fleet; bool m_fleetHasBeenSet; }; } // namespace Model } // namespace RoboMaker } // namespace Aws