AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
TableSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Keyspaces {
20namespace Model {
21
30 public:
31 AWS_KEYSPACES_API TableSummary() = default;
32 AWS_KEYSPACES_API TableSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KEYSPACES_API TableSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetKeyspaceName() const { return m_keyspaceName; }
41 inline bool KeyspaceNameHasBeenSet() const { return m_keyspaceNameHasBeenSet; }
42 template <typename KeyspaceNameT = Aws::String>
43 void SetKeyspaceName(KeyspaceNameT&& value) {
44 m_keyspaceNameHasBeenSet = true;
45 m_keyspaceName = std::forward<KeyspaceNameT>(value);
46 }
47 template <typename KeyspaceNameT = Aws::String>
48 TableSummary& WithKeyspaceName(KeyspaceNameT&& value) {
49 SetKeyspaceName(std::forward<KeyspaceNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTableName() const { return m_tableName; }
59 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
60 template <typename TableNameT = Aws::String>
61 void SetTableName(TableNameT&& value) {
62 m_tableNameHasBeenSet = true;
63 m_tableName = std::forward<TableNameT>(value);
64 }
65 template <typename TableNameT = Aws::String>
66 TableSummary& WithTableName(TableNameT&& value) {
67 SetTableName(std::forward<TableNameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
78 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
79 template <typename ResourceArnT = Aws::String>
80 void SetResourceArn(ResourceArnT&& value) {
81 m_resourceArnHasBeenSet = true;
82 m_resourceArn = std::forward<ResourceArnT>(value);
83 }
84 template <typename ResourceArnT = Aws::String>
85 TableSummary& WithResourceArn(ResourceArnT&& value) {
86 SetResourceArn(std::forward<ResourceArnT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_keyspaceName;
92
93 Aws::String m_tableName;
94
95 Aws::String m_resourceArn;
96 bool m_keyspaceNameHasBeenSet = false;
97 bool m_tableNameHasBeenSet = false;
98 bool m_resourceArnHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Keyspaces
103} // namespace Aws
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KEYSPACES_API TableSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTableName() const
AWS_KEYSPACES_API TableSummary()=default
TableSummary & WithResourceArn(ResourceArnT &&value)
const Aws::String & GetResourceArn() const
void SetTableName(TableNameT &&value)
void SetResourceArn(ResourceArnT &&value)
void SetKeyspaceName(KeyspaceNameT &&value)
const Aws::String & GetKeyspaceName() const
AWS_KEYSPACES_API TableSummary(Aws::Utils::Json::JsonView jsonValue)
TableSummary & WithTableName(TableNameT &&value)
TableSummary & WithKeyspaceName(KeyspaceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue