AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KxAttachedCluster.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/model/KxClusterType.h>
10#include <aws/finspace/model/KxClusterStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace finspace
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FINSPACE_API KxAttachedCluster() = default;
38 AWS_FINSPACE_API KxAttachedCluster(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetClusterName() const { return m_clusterName; }
48 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
49 template<typename ClusterNameT = Aws::String>
50 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
51 template<typename ClusterNameT = Aws::String>
52 KxAttachedCluster& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
54
56
60 inline KxClusterType GetClusterType() const { return m_clusterType; }
61 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
62 inline void SetClusterType(KxClusterType value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
63 inline KxAttachedCluster& WithClusterType(KxClusterType value) { SetClusterType(value); return *this;}
65
67
77 inline KxClusterStatus GetClusterStatus() const { return m_clusterStatus; }
78 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
79 inline void SetClusterStatus(KxClusterStatus value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = value; }
82 private:
83
84 Aws::String m_clusterName;
85 bool m_clusterNameHasBeenSet = false;
86
88 bool m_clusterTypeHasBeenSet = false;
89
91 bool m_clusterStatusHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace finspace
96} // 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