AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ArrayPropertiesDetail.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Batch
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BATCH_API ArrayPropertiesDetail();
39 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Map<Aws::String, int>& GetStatusSummary() const{ return m_statusSummary; }
48 inline bool StatusSummaryHasBeenSet() const { return m_statusSummaryHasBeenSet; }
49 inline void SetStatusSummary(const Aws::Map<Aws::String, int>& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = value; }
50 inline void SetStatusSummary(Aws::Map<Aws::String, int>&& value) { m_statusSummaryHasBeenSet = true; m_statusSummary = std::move(value); }
52 inline ArrayPropertiesDetail& WithStatusSummary(Aws::Map<Aws::String, int>&& value) { SetStatusSummary(std::move(value)); return *this;}
53 inline ArrayPropertiesDetail& AddStatusSummary(const Aws::String& key, int value) { m_statusSummaryHasBeenSet = true; m_statusSummary.emplace(key, value); return *this; }
54 inline ArrayPropertiesDetail& AddStatusSummary(Aws::String&& key, int value) { m_statusSummaryHasBeenSet = true; m_statusSummary.emplace(std::move(key), value); return *this; }
55 inline ArrayPropertiesDetail& AddStatusSummary(const char* key, int value) { m_statusSummaryHasBeenSet = true; m_statusSummary.emplace(key, value); return *this; }
57
59
63 inline int GetSize() const{ return m_size; }
64 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
65 inline void SetSize(int value) { m_sizeHasBeenSet = true; m_size = value; }
66 inline ArrayPropertiesDetail& WithSize(int value) { SetSize(value); return *this;}
68
70
74 inline int GetIndex() const{ return m_index; }
75 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
76 inline void SetIndex(int value) { m_indexHasBeenSet = true; m_index = value; }
77 inline ArrayPropertiesDetail& WithIndex(int value) { SetIndex(value); return *this;}
79 private:
80
81 Aws::Map<Aws::String, int> m_statusSummary;
82 bool m_statusSummaryHasBeenSet = false;
83
84 int m_size;
85 bool m_sizeHasBeenSet = false;
86
87 int m_index;
88 bool m_indexHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Batch
93} // namespace Aws
ArrayPropertiesDetail & WithSize(int value)
const Aws::Map< Aws::String, int > & GetStatusSummary() const
ArrayPropertiesDetail & WithStatusSummary(const Aws::Map< Aws::String, int > &value)
ArrayPropertiesDetail & AddStatusSummary(Aws::String &&key, int value)
ArrayPropertiesDetail & WithIndex(int value)
AWS_BATCH_API ArrayPropertiesDetail(Aws::Utils::Json::JsonView jsonValue)
void SetStatusSummary(const Aws::Map< Aws::String, int > &value)
ArrayPropertiesDetail & AddStatusSummary(const Aws::String &key, int value)
void SetStatusSummary(Aws::Map< Aws::String, int > &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API ArrayPropertiesDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ArrayPropertiesDetail & AddStatusSummary(const char *key, int value)
ArrayPropertiesDetail & WithStatusSummary(Aws::Map< Aws::String, int > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue