AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodePropertiesSummary.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Batch
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_BATCH_API NodePropertiesSummary();
36 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetIsMainNode() const{ return m_isMainNode; }
45 inline bool IsMainNodeHasBeenSet() const { return m_isMainNodeHasBeenSet; }
46 inline void SetIsMainNode(bool value) { m_isMainNodeHasBeenSet = true; m_isMainNode = value; }
47 inline NodePropertiesSummary& WithIsMainNode(bool value) { SetIsMainNode(value); return *this;}
49
51
54 inline int GetNumNodes() const{ return m_numNodes; }
55 inline bool NumNodesHasBeenSet() const { return m_numNodesHasBeenSet; }
56 inline void SetNumNodes(int value) { m_numNodesHasBeenSet = true; m_numNodes = value; }
57 inline NodePropertiesSummary& WithNumNodes(int value) { SetNumNodes(value); return *this;}
59
61
66 inline int GetNodeIndex() const{ return m_nodeIndex; }
67 inline bool NodeIndexHasBeenSet() const { return m_nodeIndexHasBeenSet; }
68 inline void SetNodeIndex(int value) { m_nodeIndexHasBeenSet = true; m_nodeIndex = value; }
69 inline NodePropertiesSummary& WithNodeIndex(int value) { SetNodeIndex(value); return *this;}
71 private:
72
73 bool m_isMainNode;
74 bool m_isMainNodeHasBeenSet = false;
75
76 int m_numNodes;
77 bool m_numNodesHasBeenSet = false;
78
79 int m_nodeIndex;
80 bool m_nodeIndexHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Batch
85} // namespace Aws
NodePropertiesSummary & WithNumNodes(int value)
AWS_BATCH_API NodePropertiesSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API NodePropertiesSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
NodePropertiesSummary & WithNodeIndex(int value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
NodePropertiesSummary & WithIsMainNode(bool value)
Aws::Utils::Json::JsonValue JsonValue