AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeDetails.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 NodeDetails();
34 AWS_BATCH_API NodeDetails(Aws::Utils::Json::JsonView jsonValue);
36 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline int GetNodeIndex() const{ return m_nodeIndex; }
46 inline bool NodeIndexHasBeenSet() const { return m_nodeIndexHasBeenSet; }
47 inline void SetNodeIndex(int value) { m_nodeIndexHasBeenSet = true; m_nodeIndex = value; }
48 inline NodeDetails& WithNodeIndex(int value) { SetNodeIndex(value); return *this;}
50
52
56 inline bool GetIsMainNode() const{ return m_isMainNode; }
57 inline bool IsMainNodeHasBeenSet() const { return m_isMainNodeHasBeenSet; }
58 inline void SetIsMainNode(bool value) { m_isMainNodeHasBeenSet = true; m_isMainNode = value; }
59 inline NodeDetails& WithIsMainNode(bool value) { SetIsMainNode(value); return *this;}
61 private:
62
63 int m_nodeIndex;
64 bool m_nodeIndexHasBeenSet = false;
65
66 bool m_isMainNode;
67 bool m_isMainNodeHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Batch
72} // namespace Aws
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
NodeDetails & WithIsMainNode(bool value)
Definition NodeDetails.h:59
void SetIsMainNode(bool value)
Definition NodeDetails.h:58
AWS_BATCH_API NodeDetails(Aws::Utils::Json::JsonView jsonValue)
NodeDetails & WithNodeIndex(int value)
Definition NodeDetails.h:48
AWS_BATCH_API NodeDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue