/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pipes { namespace Model { /** *

The array properties for the submitted job, such as the size of the array. * The array size can be between 2 and 10,000. If you specify array properties for * a job, it becomes an array job. This parameter is used only if the target is an * Batch job.

See Also:

AWS * API Reference

*/ class BatchArrayProperties { public: AWS_PIPES_API BatchArrayProperties(); AWS_PIPES_API BatchArrayProperties(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API BatchArrayProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The size of the array, if this is an array batch job.

*/ inline int GetSize() const{ return m_size; } /** *

The size of the array, if this is an array batch job.

*/ inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; } /** *

The size of the array, if this is an array batch job.

*/ inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; } /** *

The size of the array, if this is an array batch job.

*/ inline BatchArrayProperties& WithSize(int value) { SetSize(value); return *this;} private: int m_size; bool m_sizeHasBeenSet = false; }; } // namespace Model } // namespace Pipes } // namespace Aws