AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
TableBucketSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10#include <aws/s3tables/model/TableBucketType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace S3Tables {
22namespace Model {
23
30 public:
31 AWS_S3TABLES_API TableBucketSummary() = default;
34 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
48 TableBucketSummary& WithArn(ArnT&& value) {
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 TableBucketSummary& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
77 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
78 template <typename OwnerAccountIdT = Aws::String>
79 void SetOwnerAccountId(OwnerAccountIdT&& value) {
80 m_ownerAccountIdHasBeenSet = true;
81 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
82 }
83 template <typename OwnerAccountIdT = Aws::String>
84 TableBucketSummary& WithOwnerAccountId(OwnerAccountIdT&& value) {
85 SetOwnerAccountId(std::forward<OwnerAccountIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) {
98 m_createdAtHasBeenSet = true;
99 m_createdAt = std::forward<CreatedAtT>(value);
100 }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
102 TableBucketSummary& WithCreatedAt(CreatedAtT&& value) {
103 SetCreatedAt(std::forward<CreatedAtT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
113 inline bool TableBucketIdHasBeenSet() const { return m_tableBucketIdHasBeenSet; }
114 template <typename TableBucketIdT = Aws::String>
115 void SetTableBucketId(TableBucketIdT&& value) {
116 m_tableBucketIdHasBeenSet = true;
117 m_tableBucketId = std::forward<TableBucketIdT>(value);
118 }
119 template <typename TableBucketIdT = Aws::String>
120 TableBucketSummary& WithTableBucketId(TableBucketIdT&& value) {
121 SetTableBucketId(std::forward<TableBucketIdT>(value));
122 return *this;
123 }
125
127
130 inline TableBucketType GetType() const { return m_type; }
131 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
132 inline void SetType(TableBucketType value) {
133 m_typeHasBeenSet = true;
134 m_type = value;
135 }
137 SetType(value);
138 return *this;
139 }
141 private:
142 Aws::String m_arn;
143
144 Aws::String m_name;
145
146 Aws::String m_ownerAccountId;
147
148 Aws::Utils::DateTime m_createdAt{};
149
150 Aws::String m_tableBucketId;
151
153 bool m_arnHasBeenSet = false;
154 bool m_nameHasBeenSet = false;
155 bool m_ownerAccountIdHasBeenSet = false;
156 bool m_createdAtHasBeenSet = false;
157 bool m_tableBucketIdHasBeenSet = false;
158 bool m_typeHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace S3Tables
163} // namespace Aws
TableBucketSummary & WithOwnerAccountId(OwnerAccountIdT &&value)
AWS_S3TABLES_API TableBucketSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TableBucketSummary & WithType(TableBucketType value)
void SetTableBucketId(TableBucketIdT &&value)
TableBucketSummary & WithName(NameT &&value)
const Aws::String & GetTableBucketId() const
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3TABLES_API TableBucketSummary()=default
TableBucketSummary & WithCreatedAt(CreatedAtT &&value)
TableBucketSummary & WithArn(ArnT &&value)
TableBucketSummary & WithTableBucketId(TableBucketIdT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_S3TABLES_API TableBucketSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOwnerAccountId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue