AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TableSummary.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Keyspaces
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_KEYSPACES_API TableSummary() = default;
37 AWS_KEYSPACES_API TableSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KEYSPACES_API TableSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKeyspaceName() const { return m_keyspaceName; }
47 inline bool KeyspaceNameHasBeenSet() const { return m_keyspaceNameHasBeenSet; }
48 template<typename KeyspaceNameT = Aws::String>
49 void SetKeyspaceName(KeyspaceNameT&& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = std::forward<KeyspaceNameT>(value); }
50 template<typename KeyspaceNameT = Aws::String>
51 TableSummary& WithKeyspaceName(KeyspaceNameT&& value) { SetKeyspaceName(std::forward<KeyspaceNameT>(value)); return *this;}
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) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
62 template<typename TableNameT = Aws::String>
63 TableSummary& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
72 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
73 template<typename ResourceArnT = Aws::String>
74 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
75 template<typename ResourceArnT = Aws::String>
76 TableSummary& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
78 private:
79
80 Aws::String m_keyspaceName;
81 bool m_keyspaceNameHasBeenSet = false;
82
83 Aws::String m_tableName;
84 bool m_tableNameHasBeenSet = false;
85
86 Aws::String m_resourceArn;
87 bool m_resourceArnHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Keyspaces
92} // 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