AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; }
50 inline void SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); }
51 inline void SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); }
52 inline KxAttachedCluster& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
53 inline KxAttachedCluster& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
54 inline KxAttachedCluster& WithClusterName(const char* value) { SetClusterName(value); return *this;}
56
58
62 inline const KxClusterType& GetClusterType() const{ return m_clusterType; }
63 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
64 inline void SetClusterType(const KxClusterType& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
65 inline void SetClusterType(KxClusterType&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
66 inline KxAttachedCluster& WithClusterType(const KxClusterType& value) { SetClusterType(value); return *this;}
67 inline KxAttachedCluster& WithClusterType(KxClusterType&& value) { SetClusterType(std::move(value)); return *this;}
69
71
81 inline const KxClusterStatus& GetClusterStatus() const{ return m_clusterStatus; }
82 inline bool ClusterStatusHasBeenSet() const { return m_clusterStatusHasBeenSet; }
83 inline void SetClusterStatus(const KxClusterStatus& value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = value; }
84 inline void SetClusterStatus(KxClusterStatus&& value) { m_clusterStatusHasBeenSet = true; m_clusterStatus = std::move(value); }
85 inline KxAttachedCluster& WithClusterStatus(const KxClusterStatus& value) { SetClusterStatus(value); return *this;}
86 inline KxAttachedCluster& WithClusterStatus(KxClusterStatus&& value) { SetClusterStatus(std::move(value)); return *this;}
88 private:
89
90 Aws::String m_clusterName;
91 bool m_clusterNameHasBeenSet = false;
92
93 KxClusterType m_clusterType;
94 bool m_clusterTypeHasBeenSet = false;
95
96 KxClusterStatus m_clusterStatus;
97 bool m_clusterStatusHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace finspace
102} // namespace Aws
void SetClusterType(KxClusterType &&value)
AWS_FINSPACE_API KxAttachedCluster & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FINSPACE_API KxAttachedCluster(Aws::Utils::Json::JsonView jsonValue)
const KxClusterStatus & GetClusterStatus() const
KxAttachedCluster & WithClusterStatus(KxClusterStatus &&value)
KxAttachedCluster & WithClusterName(const Aws::String &value)
const KxClusterType & GetClusterType() const
AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
KxAttachedCluster & WithClusterStatus(const KxClusterStatus &value)
void SetClusterStatus(KxClusterStatus &&value)
void SetClusterStatus(const KxClusterStatus &value)
KxAttachedCluster & WithClusterName(Aws::String &&value)
KxAttachedCluster & WithClusterType(KxClusterType &&value)
void SetClusterType(const KxClusterType &value)
KxAttachedCluster & WithClusterName(const char *value)
void SetClusterName(const Aws::String &value)
const Aws::String & GetClusterName() const
KxAttachedCluster & WithClusterType(const KxClusterType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue