AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateNamespaceResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace S3Tables {
23namespace Model {
25 public:
26 AWS_S3TABLES_API CreateNamespaceResult() = default;
29
31
35 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
36 template <typename TableBucketARNT = Aws::String>
37 void SetTableBucketARN(TableBucketARNT&& value) {
38 m_tableBucketARNHasBeenSet = true;
39 m_tableBucketARN = std::forward<TableBucketARNT>(value);
40 }
41 template <typename TableBucketARNT = Aws::String>
42 CreateNamespaceResult& WithTableBucketARN(TableBucketARNT&& value) {
43 SetTableBucketARN(std::forward<TableBucketARNT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Vector<Aws::String>& GetNamespace() const { return m_namespace; }
53 template <typename NamespaceT = Aws::Vector<Aws::String>>
54 void SetNamespace(NamespaceT&& value) {
55 m_namespaceHasBeenSet = true;
56 m_namespace = std::forward<NamespaceT>(value);
57 }
58 template <typename NamespaceT = Aws::Vector<Aws::String>>
59 CreateNamespaceResult& WithNamespace(NamespaceT&& value) {
60 SetNamespace(std::forward<NamespaceT>(value));
61 return *this;
62 }
63 template <typename NamespaceT = Aws::String>
64 CreateNamespaceResult& AddNamespace(NamespaceT&& value) {
65 m_namespaceHasBeenSet = true;
66 m_namespace.emplace_back(std::forward<NamespaceT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
80 CreateNamespaceResult& WithRequestId(RequestIdT&& value) {
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_tableBucketARN;
87
88 Aws::Vector<Aws::String> m_namespace;
89
90 Aws::String m_requestId;
91 bool m_tableBucketARNHasBeenSet = false;
92 bool m_namespaceHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace S3Tables
98} // namespace Aws
AWS_S3TABLES_API CreateNamespaceResult()=default
AWS_S3TABLES_API CreateNamespaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateNamespaceResult & AddNamespace(NamespaceT &&value)
CreateNamespaceResult & WithTableBucketARN(TableBucketARNT &&value)
CreateNamespaceResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetNamespace() const
AWS_S3TABLES_API CreateNamespaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateNamespaceResult & WithNamespace(NamespaceT &&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