AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
63 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
64 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
65 inline CapacityConfiguration& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
66 inline CapacityConfiguration& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
67 inline CapacityConfiguration& WithNodeType(const char* value) { SetNodeType(value); return *this;}
69
71
74 inline int GetNodeCount() const{ return m_nodeCount; }
75 inline bool NodeCountHasBeenSet() const { return m_nodeCountHasBeenSet; }
76 inline void SetNodeCount(int value) { m_nodeCountHasBeenSet = true; m_nodeCount = value; }
77 inline CapacityConfiguration& WithNodeCount(int value) { SetNodeCount(value); return *this;}
79 private:
80
81 Aws::String m_nodeType;
82 bool m_nodeTypeHasBeenSet = false;
83
84 int m_nodeCount;
85 bool m_nodeCountHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace finspace
90} // namespace Aws
AWS_FINSPACE_API CapacityConfiguration(Aws::Utils::Json::JsonView jsonValue)
CapacityConfiguration & WithNodeCount(int value)
CapacityConfiguration & WithNodeType(const Aws::String &value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
CapacityConfiguration & WithNodeType(const char *value)
CapacityConfiguration & WithNodeType(Aws::String &&value)
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