/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a PollForJobs
action.See
* Also:
AWS
* API Reference
Represents information about an action type.
*/ inline const ActionTypeId& GetActionTypeId() const{ return m_actionTypeId; } /** *Represents information about an action type.
*/ inline bool ActionTypeIdHasBeenSet() const { return m_actionTypeIdHasBeenSet; } /** *Represents information about an action type.
*/ inline void SetActionTypeId(const ActionTypeId& value) { m_actionTypeIdHasBeenSet = true; m_actionTypeId = value; } /** *Represents information about an action type.
*/ inline void SetActionTypeId(ActionTypeId&& value) { m_actionTypeIdHasBeenSet = true; m_actionTypeId = std::move(value); } /** *Represents information about an action type.
*/ inline PollForJobsRequest& WithActionTypeId(const ActionTypeId& value) { SetActionTypeId(value); return *this;} /** *Represents information about an action type.
*/ inline PollForJobsRequest& WithActionTypeId(ActionTypeId&& value) { SetActionTypeId(std::move(value)); return *this;} /** *The maximum number of jobs to return in a poll for jobs call.
*/ inline int GetMaxBatchSize() const{ return m_maxBatchSize; } /** *The maximum number of jobs to return in a poll for jobs call.
*/ inline bool MaxBatchSizeHasBeenSet() const { return m_maxBatchSizeHasBeenSet; } /** *The maximum number of jobs to return in a poll for jobs call.
*/ inline void SetMaxBatchSize(int value) { m_maxBatchSizeHasBeenSet = true; m_maxBatchSize = value; } /** *The maximum number of jobs to return in a poll for jobs call.
*/ inline PollForJobsRequest& WithMaxBatchSize(int value) { SetMaxBatchSize(value); return *this;} /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline const Aws::MapA map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline bool QueryParamHasBeenSet() const { return m_queryParamHasBeenSet; } /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline void SetQueryParam(const Aws::MapA map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline void SetQueryParam(Aws::MapA map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& WithQueryParam(const Aws::MapA map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& WithQueryParam(Aws::MapA map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& AddQueryParam(const Aws::String& key, const Aws::String& value) { m_queryParamHasBeenSet = true; m_queryParam.emplace(key, value); return *this; } /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& AddQueryParam(Aws::String&& key, const Aws::String& value) { m_queryParamHasBeenSet = true; m_queryParam.emplace(std::move(key), value); return *this; } /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& AddQueryParam(const Aws::String& key, Aws::String&& value) { m_queryParamHasBeenSet = true; m_queryParam.emplace(key, std::move(value)); return *this; } /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& AddQueryParam(Aws::String&& key, Aws::String&& value) { m_queryParamHasBeenSet = true; m_queryParam.emplace(std::move(key), std::move(value)); return *this; } /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& AddQueryParam(const char* key, Aws::String&& value) { m_queryParamHasBeenSet = true; m_queryParam.emplace(key, std::move(value)); return *this; } /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& AddQueryParam(Aws::String&& key, const char* value) { m_queryParamHasBeenSet = true; m_queryParam.emplace(std::move(key), value); return *this; } /** *A map of property names and values. For an action type with no queryable * properties, this value must be null or an empty map. For an action type with a * queryable property, you must supply that property as a key in the map. Only jobs * whose action configuration matches the mapped value are returned.
*/ inline PollForJobsRequest& AddQueryParam(const char* key, const char* value) { m_queryParamHasBeenSet = true; m_queryParam.emplace(key, value); return *this; } private: ActionTypeId m_actionTypeId; bool m_actionTypeIdHasBeenSet = false; int m_maxBatchSize; bool m_maxBatchSizeHasBeenSet = false; Aws::Map