AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NamespaceSummary.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.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 S3Tables
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_S3TABLES_API NamespaceSummary() = default;
37 AWS_S3TABLES_API NamespaceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
47 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
48 template<typename NamespaceT = Aws::Vector<Aws::String>>
49 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
50 template<typename NamespaceT = Aws::Vector<Aws::String>>
51 NamespaceSummary& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
52 template<typename NamespaceT = Aws::String>
53 NamespaceSummary& AddNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace.emplace_back(std::forward<NamespaceT>(value)); return *this; }
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 template<typename CreatedAtT = Aws::Utils::DateTime>
63 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
64 template<typename CreatedAtT = Aws::Utils::DateTime>
65 NamespaceSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
67
69
72 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
73 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
74 template<typename CreatedByT = Aws::String>
75 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
76 template<typename CreatedByT = Aws::String>
77 NamespaceSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
79
81
84 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
85 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
86 template<typename OwnerAccountIdT = Aws::String>
87 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
88 template<typename OwnerAccountIdT = Aws::String>
89 NamespaceSummary& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
91
93
96 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
97 inline bool NamespaceIdHasBeenSet() const { return m_namespaceIdHasBeenSet; }
98 template<typename NamespaceIdT = Aws::String>
99 void SetNamespaceId(NamespaceIdT&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::forward<NamespaceIdT>(value); }
100 template<typename NamespaceIdT = Aws::String>
101 NamespaceSummary& WithNamespaceId(NamespaceIdT&& value) { SetNamespaceId(std::forward<NamespaceIdT>(value)); return *this;}
103
105
109 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
110 inline bool TableBucketIdHasBeenSet() const { return m_tableBucketIdHasBeenSet; }
111 template<typename TableBucketIdT = Aws::String>
112 void SetTableBucketId(TableBucketIdT&& value) { m_tableBucketIdHasBeenSet = true; m_tableBucketId = std::forward<TableBucketIdT>(value); }
113 template<typename TableBucketIdT = Aws::String>
114 NamespaceSummary& WithTableBucketId(TableBucketIdT&& value) { SetTableBucketId(std::forward<TableBucketIdT>(value)); return *this;}
116 private:
117
118 Aws::Vector<Aws::String> m_namespace;
119 bool m_namespaceHasBeenSet = false;
120
121 Aws::Utils::DateTime m_createdAt{};
122 bool m_createdAtHasBeenSet = false;
123
124 Aws::String m_createdBy;
125 bool m_createdByHasBeenSet = false;
126
127 Aws::String m_ownerAccountId;
128 bool m_ownerAccountIdHasBeenSet = false;
129
130 Aws::String m_namespaceId;
131 bool m_namespaceIdHasBeenSet = false;
132
133 Aws::String m_tableBucketId;
134 bool m_tableBucketIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace S3Tables
139} // namespace Aws
NamespaceSummary & WithOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetNamespaceId() const
void SetOwnerAccountId(OwnerAccountIdT &&value)
const Aws::Vector< Aws::String > & GetNamespace() const
NamespaceSummary & WithCreatedBy(CreatedByT &&value)
const Aws::String & GetCreatedBy() const
AWS_S3TABLES_API NamespaceSummary()=default
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3TABLES_API NamespaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespaceId(NamespaceIdT &&value)
NamespaceSummary & WithTableBucketId(TableBucketIdT &&value)
void SetTableBucketId(TableBucketIdT &&value)
NamespaceSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetTableBucketId() const
NamespaceSummary & WithNamespace(NamespaceT &&value)
NamespaceSummary & WithNamespaceId(NamespaceIdT &&value)
NamespaceSummary & AddNamespace(NamespaceT &&value)
AWS_S3TABLES_API NamespaceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOwnerAccountId() const
const Aws::Utils::DateTime & GetCreatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue