AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CapacityConfiguration.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace finspace
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_FINSPACE_API CapacityConfiguration() = default;
39 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
60 inline const Aws::String& GetNodeType() const { return m_nodeType; }
61 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
62 template<typename NodeTypeT = Aws::String>
63 void SetNodeType(NodeTypeT&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::forward<NodeTypeT>(value); }
64 template<typename NodeTypeT = Aws::String>
65 CapacityConfiguration& WithNodeType(NodeTypeT&& value) { SetNodeType(std::forward<NodeTypeT>(value)); return *this;}
67
69
72 inline int GetNodeCount() const { return m_nodeCount; }
73 inline bool NodeCountHasBeenSet() const { return m_nodeCountHasBeenSet; }
74 inline void SetNodeCount(int value) { m_nodeCountHasBeenSet = true; m_nodeCount = value; }
75 inline CapacityConfiguration& WithNodeCount(int value) { SetNodeCount(value); return *this;}
77 private:
78
79 Aws::String m_nodeType;
80 bool m_nodeTypeHasBeenSet = false;
81
82 int m_nodeCount{0};
83 bool m_nodeCountHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace finspace
88} // namespace Aws
AWS_FINSPACE_API CapacityConfiguration(Aws::Utils::Json::JsonView jsonValue)
CapacityConfiguration & WithNodeType(NodeTypeT &&value)
CapacityConfiguration & WithNodeCount(int value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FINSPACE_API CapacityConfiguration()=default
AWS_FINSPACE_API CapacityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue