AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
KxAttachedCluster.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/Finspace_EXPORTS.h>
9#include <aws/finspace/model/KxClusterStatus.h>
10#include <aws/finspace/model/KxClusterType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace finspace {
22namespace Model {
23
31 public:
32 AWS_FINSPACE_API KxAttachedCluster() = default;
33 AWS_FINSPACE_API KxAttachedCluster(Aws::Utils::Json::JsonView jsonValue);
35 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetClusterName() const { return m_clusterName; }
42 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
43 template <typename ClusterNameT = Aws::String>
44 void SetClusterName(ClusterNameT&& value) {
45 m_clusterNameHasBeenSet = true;
46 m_clusterName = std::forward<ClusterNameT>(value);
47 }
48 template <typename ClusterNameT = Aws::String>
49 KxAttachedCluster& WithClusterName(ClusterNameT&& value) {
50 SetClusterName(std::forward<ClusterNameT>(value));
51 return *this;
52 }
54
56
60 inline KxClusterType GetClusterType() const { return m_clusterType; }
61 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
62 inline void SetClusterType(KxClusterType value) {
63 m_clusterTypeHasBeenSet = true;
64 m_clusterType = value;
65 }
67 SetClusterType(value);
68 return *this;
69 }
71
73
83 inline KxClusterStatus GetClusterStatus() const { return m_clusterStatus; }
84 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
85 inline void SetClusterStatus(KxClusterStatus value) {
86 m_clusterStatusHasBeenSet = true;
87 m_clusterStatus = value;
88 }
90 SetClusterStatus(value);
91 return *this;
92 }
94 private:
95 Aws::String m_clusterName;
96
98
100 bool m_clusterNameHasBeenSet = false;
101 bool m_clusterTypeHasBeenSet = false;
102 bool m_clusterStatusHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace finspace
107} // namespace Aws
void SetClusterName(ClusterNameT &&value)
AWS_FINSPACE_API KxAttachedCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxAttachedCluster()=default
void SetClusterStatus(KxClusterStatus value)
AWS_FINSPACE_API KxAttachedCluster(Aws::Utils::Json::JsonView jsonValue)
KxAttachedCluster & WithClusterStatus(KxClusterStatus value)
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxAttachedCluster & WithClusterName(ClusterNameT &&value)
KxAttachedCluster & WithClusterType(KxClusterType value)
const Aws::String & GetClusterName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue