AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SnowflakeDestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/ErrorHandlingConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFLOW_API SnowflakeDestinationProperties() = default;
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetObject() const { return m_object; }
47 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
48 template<typename ObjectT = Aws::String>
49 void SetObject(ObjectT&& value) { m_objectHasBeenSet = true; m_object = std::forward<ObjectT>(value); }
50 template<typename ObjectT = Aws::String>
51 SnowflakeDestinationProperties& WithObject(ObjectT&& value) { SetObject(std::forward<ObjectT>(value)); return *this;}
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) { m_intermediateBucketNameHasBeenSet = true; m_intermediateBucketName = std::forward<IntermediateBucketNameT>(value); }
63 template<typename IntermediateBucketNameT = Aws::String>
64 SnowflakeDestinationProperties& WithIntermediateBucketName(IntermediateBucketNameT&& value) { SetIntermediateBucketName(std::forward<IntermediateBucketNameT>(value)); return *this;}
66
68
72 inline const Aws::String& GetBucketPrefix() const { return m_bucketPrefix; }
73 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
74 template<typename BucketPrefixT = Aws::String>
75 void SetBucketPrefix(BucketPrefixT&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::forward<BucketPrefixT>(value); }
76 template<typename BucketPrefixT = Aws::String>
77 SnowflakeDestinationProperties& WithBucketPrefix(BucketPrefixT&& value) { SetBucketPrefix(std::forward<BucketPrefixT>(value)); return *this;}
79
81
89 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const { return m_errorHandlingConfig; }
90 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
91 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
92 void SetErrorHandlingConfig(ErrorHandlingConfigT&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::forward<ErrorHandlingConfigT>(value); }
93 template<typename ErrorHandlingConfigT = ErrorHandlingConfig>
94 SnowflakeDestinationProperties& WithErrorHandlingConfig(ErrorHandlingConfigT&& value) { SetErrorHandlingConfig(std::forward<ErrorHandlingConfigT>(value)); return *this;}
96 private:
97
98 Aws::String m_object;
99 bool m_objectHasBeenSet = false;
100
101 Aws::String m_intermediateBucketName;
102 bool m_intermediateBucketNameHasBeenSet = false;
103
104 Aws::String m_bucketPrefix;
105 bool m_bucketPrefixHasBeenSet = false;
106
107 ErrorHandlingConfig m_errorHandlingConfig;
108 bool m_errorHandlingConfigHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Appflow
113} // namespace Aws
SnowflakeDestinationProperties & WithObject(ObjectT &&value)
AWS_APPFLOW_API SnowflakeDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API SnowflakeDestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
SnowflakeDestinationProperties & WithBucketPrefix(BucketPrefixT &&value)
SnowflakeDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfigT &&value)
SnowflakeDestinationProperties & WithIntermediateBucketName(IntermediateBucketNameT &&value)
AWS_APPFLOW_API SnowflakeDestinationProperties()=default
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue