/** * 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 MainframeModernization { namespace Model { /** */ class StartBatchJobRequest : public MainframeModernizationRequest { public: AWS_MAINFRAMEMODERNIZATION_API StartBatchJobRequest(); // 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 "StartBatchJob"; } AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override; /** *

The unique identifier of the application associated with this batch job.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique identifier of the application associated with this batch job.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique identifier of the application associated with this batch job.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique identifier of the application associated with this batch job.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique identifier of the application associated with this batch job.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique identifier of the application associated with this batch job.

*/ inline StartBatchJobRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique identifier of the application associated with this batch job.

*/ inline StartBatchJobRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique identifier of the application associated with this batch job.

*/ inline StartBatchJobRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The unique identifier of the batch job.

*/ inline const BatchJobIdentifier& GetBatchJobIdentifier() const{ return m_batchJobIdentifier; } /** *

The unique identifier of the batch job.

*/ inline bool BatchJobIdentifierHasBeenSet() const { return m_batchJobIdentifierHasBeenSet; } /** *

The unique identifier of the batch job.

*/ inline void SetBatchJobIdentifier(const BatchJobIdentifier& value) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = value; } /** *

The unique identifier of the batch job.

*/ inline void SetBatchJobIdentifier(BatchJobIdentifier&& value) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = std::move(value); } /** *

The unique identifier of the batch job.

*/ inline StartBatchJobRequest& WithBatchJobIdentifier(const BatchJobIdentifier& value) { SetBatchJobIdentifier(value); return *this;} /** *

The unique identifier of the batch job.

*/ inline StartBatchJobRequest& WithBatchJobIdentifier(BatchJobIdentifier&& value) { SetBatchJobIdentifier(std::move(value)); return *this;} /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline const Aws::Map& GetJobParams() const{ return m_jobParams; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline bool JobParamsHasBeenSet() const { return m_jobParamsHasBeenSet; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline void SetJobParams(const Aws::Map& value) { m_jobParamsHasBeenSet = true; m_jobParams = value; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline void SetJobParams(Aws::Map&& value) { m_jobParamsHasBeenSet = true; m_jobParams = std::move(value); } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& WithJobParams(const Aws::Map& value) { SetJobParams(value); return *this;} /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& WithJobParams(Aws::Map&& value) { SetJobParams(std::move(value)); return *this;} /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& AddJobParams(const Aws::String& key, const Aws::String& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, value); return *this; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& AddJobParams(Aws::String&& key, const Aws::String& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(std::move(key), value); return *this; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& AddJobParams(const Aws::String& key, Aws::String&& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, std::move(value)); return *this; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& AddJobParams(Aws::String&& key, Aws::String&& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(std::move(key), std::move(value)); return *this; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& AddJobParams(const char* key, Aws::String&& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, std::move(value)); return *this; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& AddJobParams(Aws::String&& key, const char* value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(std::move(key), value); return *this; } /** *

The collection of batch job parameters. For details about limits for keys and * values, see Coding * variables in JCL.

*/ inline StartBatchJobRequest& AddJobParams(const char* key, const char* value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, value); return *this; } private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; BatchJobIdentifier m_batchJobIdentifier; bool m_batchJobIdentifierHasBeenSet = false; Aws::Map m_jobParams; bool m_jobParamsHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws