AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetNamespaceResult.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{
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 GetNamespaceResult() = default;
35
36
38
41 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
42 template<typename NamespaceT = Aws::Vector<Aws::String>>
43 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
44 template<typename NamespaceT = Aws::Vector<Aws::String>>
45 GetNamespaceResult& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
46 template<typename NamespaceT = Aws::String>
47 GetNamespaceResult& AddNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace.emplace_back(std::forward<NamespaceT>(value)); return *this; }
49
51
54 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
55 template<typename CreatedAtT = Aws::Utils::DateTime>
56 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
57 template<typename CreatedAtT = Aws::Utils::DateTime>
58 GetNamespaceResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
60
62
65 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
66 template<typename CreatedByT = Aws::String>
67 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
68 template<typename CreatedByT = Aws::String>
69 GetNamespaceResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
71
73
76 inline const Aws::String& GetOwnerAccountId() const { return m_ownerAccountId; }
77 template<typename OwnerAccountIdT = Aws::String>
78 void SetOwnerAccountId(OwnerAccountIdT&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::forward<OwnerAccountIdT>(value); }
79 template<typename OwnerAccountIdT = Aws::String>
80 GetNamespaceResult& WithOwnerAccountId(OwnerAccountIdT&& value) { SetOwnerAccountId(std::forward<OwnerAccountIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetNamespaceId() const { return m_namespaceId; }
88 template<typename NamespaceIdT = Aws::String>
89 void SetNamespaceId(NamespaceIdT&& value) { m_namespaceIdHasBeenSet = true; m_namespaceId = std::forward<NamespaceIdT>(value); }
90 template<typename NamespaceIdT = Aws::String>
91 GetNamespaceResult& WithNamespaceId(NamespaceIdT&& value) { SetNamespaceId(std::forward<NamespaceIdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetTableBucketId() const { return m_tableBucketId; }
99 template<typename TableBucketIdT = Aws::String>
100 void SetTableBucketId(TableBucketIdT&& value) { m_tableBucketIdHasBeenSet = true; m_tableBucketId = std::forward<TableBucketIdT>(value); }
101 template<typename TableBucketIdT = Aws::String>
102 GetNamespaceResult& WithTableBucketId(TableBucketIdT&& value) { SetTableBucketId(std::forward<TableBucketIdT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 GetNamespaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::Vector<Aws::String> m_namespace;
116 bool m_namespaceHasBeenSet = false;
117
118 Aws::Utils::DateTime m_createdAt{};
119 bool m_createdAtHasBeenSet = false;
120
121 Aws::String m_createdBy;
122 bool m_createdByHasBeenSet = false;
123
124 Aws::String m_ownerAccountId;
125 bool m_ownerAccountIdHasBeenSet = false;
126
127 Aws::String m_namespaceId;
128 bool m_namespaceIdHasBeenSet = false;
129
130 Aws::String m_tableBucketId;
131 bool m_tableBucketIdHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace S3Tables
139} // namespace Aws
GetNamespaceResult & AddNamespace(NamespaceT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
const Aws::String & GetNamespaceId() const
AWS_S3TABLES_API GetNamespaceResult()=default
void SetTableBucketId(TableBucketIdT &&value)
const Aws::String & GetTableBucketId() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Vector< Aws::String > & GetNamespace() const
const Aws::String & GetOwnerAccountId() const
GetNamespaceResult & WithOwnerAccountId(OwnerAccountIdT &&value)
GetNamespaceResult & WithNamespaceId(NamespaceIdT &&value)
AWS_S3TABLES_API GetNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNamespaceResult & WithTableBucketId(TableBucketIdT &&value)
GetNamespaceResult & WithCreatedAt(CreatedAtT &&value)
GetNamespaceResult & WithCreatedBy(CreatedByT &&value)
GetNamespaceResult & WithNamespace(NamespaceT &&value)
AWS_S3TABLES_API GetNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetNamespaceResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue