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

An object that represents an Batch array job.

See Also:

AWS * API Reference

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

The size of the array job.

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

The size of the array job.

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

The size of the array job.

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

The size of the array job.

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