AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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