/** * 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 Batch { namespace Model { /** *

Contains the parameters for * DescribeSchedulingPolicies.

See Also:

AWS * API Reference

*/ class DescribeSchedulingPoliciesRequest : public BatchRequest { public: AWS_BATCH_API DescribeSchedulingPoliciesRequest(); // 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 "DescribeSchedulingPolicies"; } AWS_BATCH_API Aws::String SerializePayload() const override; /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline const Aws::Vector& GetArns() const{ return m_arns; } /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; } /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline void SetArns(const Aws::Vector& value) { m_arnsHasBeenSet = true; m_arns = value; } /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline void SetArns(Aws::Vector&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); } /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline DescribeSchedulingPoliciesRequest& WithArns(const Aws::Vector& value) { SetArns(value); return *this;} /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline DescribeSchedulingPoliciesRequest& WithArns(Aws::Vector&& value) { SetArns(std::move(value)); return *this;} /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline DescribeSchedulingPoliciesRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; } /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline DescribeSchedulingPoliciesRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; } /** *

A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.

*/ inline DescribeSchedulingPoliciesRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; } private: Aws::Vector m_arns; bool m_arnsHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws