AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClusteringKey.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/keyspaces/model/SortOrder.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Keyspaces
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_KEYSPACES_API ClusteringKey() = default;
38 AWS_KEYSPACES_API ClusteringKey(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KEYSPACES_API ClusteringKey& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 ClusteringKey& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
60 inline SortOrder GetOrderBy() const { return m_orderBy; }
61 inline bool OrderByHasBeenSet() const { return m_orderByHasBeenSet; }
62 inline void SetOrderBy(SortOrder value) { m_orderByHasBeenSet = true; m_orderBy = value; }
63 inline ClusteringKey& WithOrderBy(SortOrder value) { SetOrderBy(value); return *this;}
65 private:
66
67 Aws::String m_name;
68 bool m_nameHasBeenSet = false;
69
71 bool m_orderByHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Keyspaces
76} // namespace Aws
AWS_KEYSPACES_API ClusteringKey & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
ClusteringKey & WithName(NameT &&value)
AWS_KEYSPACES_API ClusteringKey(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API ClusteringKey()=default
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ClusteringKey & WithOrderBy(SortOrder value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue