AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DestinationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/S3TablesBucketType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3 {
20namespace Model {
21
29 public:
30 AWS_S3_API DestinationResult() = default;
31 AWS_S3_API DestinationResult(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
45 inline S3TablesBucketType GetTableBucketType() const { return m_tableBucketType; }
46 inline bool TableBucketTypeHasBeenSet() const { return m_tableBucketTypeHasBeenSet; }
48 m_tableBucketTypeHasBeenSet = true;
49 m_tableBucketType = value;
50 }
52 SetTableBucketType(value);
53 return *this;
54 }
56
58
62 inline const Aws::String& GetTableBucketArn() const { return m_tableBucketArn; }
63 inline bool TableBucketArnHasBeenSet() const { return m_tableBucketArnHasBeenSet; }
64 template <typename TableBucketArnT = Aws::String>
65 void SetTableBucketArn(TableBucketArnT&& value) {
66 m_tableBucketArnHasBeenSet = true;
67 m_tableBucketArn = std::forward<TableBucketArnT>(value);
68 }
69 template <typename TableBucketArnT = Aws::String>
70 DestinationResult& WithTableBucketArn(TableBucketArnT&& value) {
71 SetTableBucketArn(std::forward<TableBucketArnT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetTableNamespace() const { return m_tableNamespace; }
82 inline bool TableNamespaceHasBeenSet() const { return m_tableNamespaceHasBeenSet; }
83 template <typename TableNamespaceT = Aws::String>
84 void SetTableNamespace(TableNamespaceT&& value) {
85 m_tableNamespaceHasBeenSet = true;
86 m_tableNamespace = std::forward<TableNamespaceT>(value);
87 }
88 template <typename TableNamespaceT = Aws::String>
89 DestinationResult& WithTableNamespace(TableNamespaceT&& value) {
90 SetTableNamespace(std::forward<TableNamespaceT>(value));
91 return *this;
92 }
94 private:
96
97 Aws::String m_tableBucketArn;
98
99 Aws::String m_tableNamespace;
100 bool m_tableBucketTypeHasBeenSet = false;
101 bool m_tableBucketArnHasBeenSet = false;
102 bool m_tableNamespaceHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace S3
107} // namespace Aws
S3TablesBucketType GetTableBucketType() const
void SetTableBucketArn(TableBucketArnT &&value)
const Aws::String & GetTableBucketArn() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetTableNamespace(TableNamespaceT &&value)
DestinationResult & WithTableBucketArn(TableBucketArnT &&value)
AWS_S3_API DestinationResult()=default
AWS_S3_API DestinationResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTableNamespace() const
AWS_S3_API DestinationResult(const Aws::Utils::Xml::XmlNode &xmlNode)
DestinationResult & WithTableBucketType(S3TablesBucketType value)
void SetTableBucketType(S3TablesBucketType value)
DestinationResult & WithTableNamespace(TableNamespaceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String