AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CapacityConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace finspace {
20namespace Model {
21
30 public:
31 AWS_FINSPACE_API CapacityConfiguration() = default;
34 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
54 inline const Aws::String& GetNodeType() const { return m_nodeType; }
55 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
56 template <typename NodeTypeT = Aws::String>
57 void SetNodeType(NodeTypeT&& value) {
58 m_nodeTypeHasBeenSet = true;
59 m_nodeType = std::forward<NodeTypeT>(value);
60 }
61 template <typename NodeTypeT = Aws::String>
62 CapacityConfiguration& WithNodeType(NodeTypeT&& value) {
63 SetNodeType(std::forward<NodeTypeT>(value));
64 return *this;
65 }
67
69
72 inline int GetNodeCount() const { return m_nodeCount; }
73 inline bool NodeCountHasBeenSet() const { return m_nodeCountHasBeenSet; }
74 inline void SetNodeCount(int value) {
75 m_nodeCountHasBeenSet = true;
76 m_nodeCount = value;
77 }
79 SetNodeCount(value);
80 return *this;
81 }
83 private:
84 Aws::String m_nodeType;
85 bool m_nodeTypeHasBeenSet = false;
86
87 int m_nodeCount{0};
88 bool m_nodeCountHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace finspace
93} // 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