AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableBucketSummary.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/s3tables/model/TableBucketType.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 TableBucketSummary() = default;
39 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 TableBucketSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 TableBucketSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
71 inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; }
72 template<typename OwnerAccountIdT = Aws::String>
73 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
74 template<typename OwnerAccountIdT = Aws::String>
75 TableBucketSummary& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
83 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
84 template<typename CreatedAtT = Aws::Utils::DateTime>
85 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
86 template<typename CreatedAtT = Aws::Utils::DateTime>
87 TableBucketSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
89
91
94 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
95 inline bool TableBucketIdHasBeenSet() const { return m_tableBucketIdHasBeenSet; }
96 template<typename TableBucketIdT = Aws::String>
97 void SetTableBucketId(TableBucketIdT&& value) { m_tableBucketIdHasBeenSet = true; m_tableBucketId = std::forward<TableBucketIdT>(value); }
98 template<typename TableBucketIdT = Aws::String>
99 TableBucketSummary& WithTableBucketId(TableBucketIdT&& value) { SetTableBucketId(std::forward<TableBucketIdT>(value)); return *this;}
101
103
106 inline TableBucketType GetType() const { return m_type; }
107 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
108 inline void SetType(TableBucketType value) { m_typeHasBeenSet = true; m_type = value; }
109 inline TableBucketSummary& WithType(TableBucketType value) { SetType(value); return *this;}
111 private:
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_ownerAccountId;
120 bool m_ownerAccountIdHasBeenSet = false;
121
122 Aws::Utils::DateTime m_createdAt{};
123 bool m_createdAtHasBeenSet = false;
124
125 Aws::String m_tableBucketId;
126 bool m_tableBucketIdHasBeenSet = false;
127
129 bool m_typeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace S3Tables
134} // 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