AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetTableBucketResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace S3Tables
26{
27namespace Model
28{
30 {
31 public:
32 AWS_S3TABLES_API GetTableBucketResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 GetTableBucketResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 GetTableBucketResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
64 template<typename OwnerAccountIdT = Aws::String>
65 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
66 template<typename OwnerAccountIdT = Aws::String>
67 GetTableBucketResult& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
77 template<typename CreatedAtT = Aws::Utils::DateTime>
78 GetTableBucketResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
80
82
85 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
86 template<typename TableBucketIdT = Aws::String>
87 void SetTableBucketId(TableBucketIdT&& value) { m_tableBucketIdHasBeenSet = true; m_tableBucketId = std::forward<TableBucketIdT>(value); }
88 template<typename TableBucketIdT = Aws::String>
89 GetTableBucketResult& WithTableBucketId(TableBucketIdT&& value) { SetTableBucketId(std::forward<TableBucketIdT>(value)); return *this;}
91
93
96 inline TableBucketType GetType() const { return m_type; }
97 inline void SetType(TableBucketType value) { m_typeHasBeenSet = true; m_type = value; }
98 inline GetTableBucketResult& WithType(TableBucketType value) { SetType(value); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template<typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
106 template<typename RequestIdT = Aws::String>
107 GetTableBucketResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_arn;
112 bool m_arnHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_ownerAccountId;
118 bool m_ownerAccountIdHasBeenSet = false;
119
120 Aws::Utils::DateTime m_createdAt{};
121 bool m_createdAtHasBeenSet = false;
122
123 Aws::String m_tableBucketId;
124 bool m_tableBucketIdHasBeenSet = false;
125
127 bool m_typeHasBeenSet = false;
128
129 Aws::String m_requestId;
130 bool m_requestIdHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace S3Tables
135} // namespace Aws
AWS_S3TABLES_API GetTableBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableBucketResult & WithType(TableBucketType value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
GetTableBucketResult & WithOwnerAccountId(OwnerAccountIdT &&value)
GetTableBucketResult & WithArn(ArnT &&value)
AWS_S3TABLES_API GetTableBucketResult()=default
GetTableBucketResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetTableBucketResult & WithCreatedAt(CreatedAtT &&value)
AWS_S3TABLES_API GetTableBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableBucketResult & WithRequestId(RequestIdT &&value)
GetTableBucketResult & WithTableBucketId(TableBucketIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue