AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RedshiftDestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/ErrorHandlingConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Appflow {
21namespace Model {
22
30 public:
31 AWS_APPFLOW_API RedshiftDestinationProperties() = default;
34 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetObject() const { return m_object; }
41 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
42 template <typename ObjectT = Aws::String>
43 void SetObject(ObjectT&& value) {
44 m_objectHasBeenSet = true;
45 m_object = std::forward<ObjectT>(value);
46 }
47 template <typename ObjectT = Aws::String>
49 SetObject(std::forward<ObjectT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetIntermediateBucketName() const { return m_intermediateBucketName; }
60 inline bool IntermediateBucketNameHasBeenSet() const { return m_intermediateBucketNameHasBeenSet; }
61 template <typename IntermediateBucketNameT = Aws::String>
62 void SetIntermediateBucketName(IntermediateBucketNameT&& value) {
63 m_intermediateBucketNameHasBeenSet = true;
64 m_intermediateBucketName = std::forward<IntermediateBucketNameT>(value);
65 }
66 template <typename IntermediateBucketNameT = Aws::String>
68 SetIntermediateBucketName(std::forward<IntermediateBucketNameT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetBucketPrefix() const { return m_bucketPrefix; }
79 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
80 template <typename BucketPrefixT = Aws::String>
81 void SetBucketPrefix(BucketPrefixT&& value) {
82 m_bucketPrefixHasBeenSet = true;
83 m_bucketPrefix = std::forward<BucketPrefixT>(value);
84 }
85 template <typename BucketPrefixT = Aws::String>
87 SetBucketPrefix(std::forward<BucketPrefixT>(value));
88 return *this;
89 }
91
93
101 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const { return m_errorHandlingConfig; }
102 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
103 template <typename ErrorHandlingConfigT = ErrorHandlingConfig>
104 void SetErrorHandlingConfig(ErrorHandlingConfigT&& value) {
105 m_errorHandlingConfigHasBeenSet = true;
106 m_errorHandlingConfig = std::forward<ErrorHandlingConfigT>(value);
107 }
108 template <typename ErrorHandlingConfigT = ErrorHandlingConfig>
110 SetErrorHandlingConfig(std::forward<ErrorHandlingConfigT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_object;
116
117 Aws::String m_intermediateBucketName;
118
119 Aws::String m_bucketPrefix;
120
121 ErrorHandlingConfig m_errorHandlingConfig;
122 bool m_objectHasBeenSet = false;
123 bool m_intermediateBucketNameHasBeenSet = false;
124 bool m_bucketPrefixHasBeenSet = false;
125 bool m_errorHandlingConfigHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace Appflow
130} // namespace Aws
RedshiftDestinationProperties & WithObject(ObjectT &&value)
RedshiftDestinationProperties & WithIntermediateBucketName(IntermediateBucketNameT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfigT &&value)
AWS_APPFLOW_API RedshiftDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API RedshiftDestinationProperties()=default
RedshiftDestinationProperties & WithBucketPrefix(BucketPrefixT &&value)
void SetIntermediateBucketName(IntermediateBucketNameT &&value)
AWS_APPFLOW_API RedshiftDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue