AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateTableMetadataLocationRequest.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/S3TablesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace S3Tables
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_S3TABLES_API UpdateTableMetadataLocationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateTableMetadataLocation"; }
31
32 AWS_S3TABLES_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
40 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
41 template<typename TableBucketARNT = Aws::String>
42 void SetTableBucketARN(TableBucketARNT&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::forward<TableBucketARNT>(value); }
43 template<typename TableBucketARNT = Aws::String>
44 UpdateTableMetadataLocationRequest& WithTableBucketARN(TableBucketARNT&& value) { SetTableBucketARN(std::forward<TableBucketARNT>(value)); return *this;}
46
48
51 inline const Aws::String& GetNamespace() const { return m_namespace; }
52 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
53 template<typename NamespaceT = Aws::String>
54 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
55 template<typename NamespaceT = Aws::String>
56 UpdateTableMetadataLocationRequest& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
58
60
63 inline const Aws::String& GetName() const { return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 template<typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
67 template<typename NameT = Aws::String>
68 UpdateTableMetadataLocationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetVersionToken() const { return m_versionToken; }
76 inline bool VersionTokenHasBeenSet() const { return m_versionTokenHasBeenSet; }
77 template<typename VersionTokenT = Aws::String>
78 void SetVersionToken(VersionTokenT&& value) { m_versionTokenHasBeenSet = true; m_versionToken = std::forward<VersionTokenT>(value); }
79 template<typename VersionTokenT = Aws::String>
80 UpdateTableMetadataLocationRequest& WithVersionToken(VersionTokenT&& value) { SetVersionToken(std::forward<VersionTokenT>(value)); return *this;}
82
84
87 inline const Aws::String& GetMetadataLocation() const { return m_metadataLocation; }
88 inline bool MetadataLocationHasBeenSet() const { return m_metadataLocationHasBeenSet; }
89 template<typename MetadataLocationT = Aws::String>
90 void SetMetadataLocation(MetadataLocationT&& value) { m_metadataLocationHasBeenSet = true; m_metadataLocation = std::forward<MetadataLocationT>(value); }
91 template<typename MetadataLocationT = Aws::String>
92 UpdateTableMetadataLocationRequest& WithMetadataLocation(MetadataLocationT&& value) { SetMetadataLocation(std::forward<MetadataLocationT>(value)); return *this;}
94 private:
95
96 Aws::String m_tableBucketARN;
97 bool m_tableBucketARNHasBeenSet = false;
98
99 Aws::String m_namespace;
100 bool m_namespaceHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 Aws::String m_versionToken;
106 bool m_versionTokenHasBeenSet = false;
107
108 Aws::String m_metadataLocation;
109 bool m_metadataLocationHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace S3Tables
114} // namespace Aws
UpdateTableMetadataLocationRequest & WithVersionToken(VersionTokenT &&value)
UpdateTableMetadataLocationRequest & WithName(NameT &&value)
UpdateTableMetadataLocationRequest & WithNamespace(NamespaceT &&value)
AWS_S3TABLES_API Aws::String SerializePayload() const override
UpdateTableMetadataLocationRequest & WithTableBucketARN(TableBucketARNT &&value)
UpdateTableMetadataLocationRequest & WithMetadataLocation(MetadataLocationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String