AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateNamespaceResult.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/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace S3Tables
25{
26namespace Model
27{
29 {
30 public:
31 AWS_S3TABLES_API CreateNamespaceResult() = default;
34
35
37
41 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
42 template<typename TableBucketARNT = Aws::String>
43 void SetTableBucketARN(TableBucketARNT&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::forward<TableBucketARNT>(value); }
44 template<typename TableBucketARNT = Aws::String>
45 CreateNamespaceResult& WithTableBucketARN(TableBucketARNT&& value) { SetTableBucketARN(std::forward<TableBucketARNT>(value)); return *this;}
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) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
55 template<typename NamespaceT = Aws::Vector<Aws::String>>
56 CreateNamespaceResult& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
57 template<typename NamespaceT = Aws::String>
58 CreateNamespaceResult& AddNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace.emplace_back(std::forward<NamespaceT>(value)); return *this; }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 CreateNamespaceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 Aws::String m_tableBucketARN;
72 bool m_tableBucketARNHasBeenSet = false;
73
74 Aws::Vector<Aws::String> m_namespace;
75 bool m_namespaceHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace S3Tables
83} // 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