AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ArrayPropertiesSummary.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Batch {
17namespace Model {
18
26 public:
27 AWS_BATCH_API ArrayPropertiesSummary() = default;
30 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetSize() const { return m_size; }
38 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
39 inline void SetSize(int value) {
40 m_sizeHasBeenSet = true;
41 m_size = value;
42 }
43 inline ArrayPropertiesSummary& WithSize(int value) {
44 SetSize(value);
45 return *this;
46 }
48
50
54 inline int GetIndex() const { return m_index; }
55 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
56 inline void SetIndex(int value) {
57 m_indexHasBeenSet = true;
58 m_index = value;
59 }
60 inline ArrayPropertiesSummary& WithIndex(int value) {
61 SetIndex(value);
62 return *this;
63 }
65 private:
66 int m_size{0};
67
68 int m_index{0};
69 bool m_sizeHasBeenSet = false;
70 bool m_indexHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace Batch
75} // namespace Aws
ArrayPropertiesSummary & WithIndex(int value)
ArrayPropertiesSummary & WithSize(int value)
AWS_BATCH_API ArrayPropertiesSummary()=default
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API ArrayPropertiesSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API ArrayPropertiesSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue