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

The requested deployment configuration.

*/ inline const DeploymentConfig& GetDeploymentConfig() const{ return m_deploymentConfig; } /** *

The requested deployment configuration.

*/ inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; } /** *

The requested deployment configuration.

*/ inline void SetDeploymentConfig(const DeploymentConfig& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = value; } /** *

The requested deployment configuration.

*/ inline void SetDeploymentConfig(DeploymentConfig&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::move(value); } /** *

The requested deployment configuration.

*/ inline CreateDeploymentJobRequest& WithDeploymentConfig(const DeploymentConfig& value) { SetDeploymentConfig(value); return *this;} /** *

The requested deployment configuration.

*/ inline CreateDeploymentJobRequest& WithDeploymentConfig(DeploymentConfig&& value) { SetDeploymentConfig(std::move(value)); return *this;} /** *

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 CreateDeploymentJobRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

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

*/ inline CreateDeploymentJobRequest& 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 CreateDeploymentJobRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The Amazon Resource Name (ARN) of the fleet to deploy.

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

The Amazon Resource Name (ARN) of the fleet to deploy.

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

The Amazon Resource Name (ARN) of the fleet to deploy.

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

The Amazon Resource Name (ARN) of the fleet to deploy.

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

The Amazon Resource Name (ARN) of the fleet to deploy.

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

The Amazon Resource Name (ARN) of the fleet to deploy.

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

The Amazon Resource Name (ARN) of the fleet to deploy.

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

The Amazon Resource Name (ARN) of the fleet to deploy.

*/ inline CreateDeploymentJobRequest& WithFleet(const char* value) { SetFleet(value); return *this;} /** *

The deployment application configuration.

*/ inline const Aws::Vector& GetDeploymentApplicationConfigs() const{ return m_deploymentApplicationConfigs; } /** *

The deployment application configuration.

*/ inline bool DeploymentApplicationConfigsHasBeenSet() const { return m_deploymentApplicationConfigsHasBeenSet; } /** *

The deployment application configuration.

*/ inline void SetDeploymentApplicationConfigs(const Aws::Vector& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = value; } /** *

The deployment application configuration.

*/ inline void SetDeploymentApplicationConfigs(Aws::Vector&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs = std::move(value); } /** *

The deployment application configuration.

*/ inline CreateDeploymentJobRequest& WithDeploymentApplicationConfigs(const Aws::Vector& value) { SetDeploymentApplicationConfigs(value); return *this;} /** *

The deployment application configuration.

*/ inline CreateDeploymentJobRequest& WithDeploymentApplicationConfigs(Aws::Vector&& value) { SetDeploymentApplicationConfigs(std::move(value)); return *this;} /** *

The deployment application configuration.

*/ inline CreateDeploymentJobRequest& AddDeploymentApplicationConfigs(const DeploymentApplicationConfig& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(value); return *this; } /** *

The deployment application configuration.

*/ inline CreateDeploymentJobRequest& AddDeploymentApplicationConfigs(DeploymentApplicationConfig&& value) { m_deploymentApplicationConfigsHasBeenSet = true; m_deploymentApplicationConfigs.push_back(std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * deployment job.

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

A map that contains tag keys and tag values that are attached to the * deployment job.

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

A map that contains tag keys and tag values that are attached to the * deployment job.

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

A map that contains tag keys and tag values that are attached to the * deployment job.

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

A map that contains tag keys and tag values that are attached to the * deployment job.

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

A map that contains tag keys and tag values that are attached to the * deployment job.

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

A map that contains tag keys and tag values that are attached to the * deployment job.

*/ inline CreateDeploymentJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * deployment job.

*/ inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * deployment job.

*/ inline CreateDeploymentJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * deployment job.

*/ inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * deployment job.

*/ inline CreateDeploymentJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * deployment job.

*/ inline CreateDeploymentJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

A map that contains tag keys and tag values that are attached to the * deployment job.

*/ inline CreateDeploymentJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: DeploymentConfig m_deploymentConfig; bool m_deploymentConfigHasBeenSet; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet; Aws::String m_fleet; bool m_fleetHasBeenSet; Aws::Vector m_deploymentApplicationConfigs; bool m_deploymentApplicationConfigsHasBeenSet; Aws::Map m_tags; bool m_tagsHasBeenSet; }; } // namespace Model } // namespace RoboMaker } // namespace Aws