AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedshiftDestinationProperties.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:
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 inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; }
49 inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); }
50 inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); }
51 inline RedshiftDestinationProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;}
52 inline RedshiftDestinationProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;}
53 inline RedshiftDestinationProperties& WithObject(const char* value) { SetObject(value); return *this;}
55
57
61 inline const Aws::String& GetIntermediateBucketName() const{ return m_intermediateBucketName; }
62 inline bool IntermediateBucketNameHasBeenSet() const { return m_intermediateBucketNameHasBeenSet; }
63 inline void SetIntermediateBucketName(const Aws::String& value) { m_intermediateBucketNameHasBeenSet = true; m_intermediateBucketName = value; }
64 inline void SetIntermediateBucketName(Aws::String&& value) { m_intermediateBucketNameHasBeenSet = true; m_intermediateBucketName = std::move(value); }
65 inline void SetIntermediateBucketName(const char* value) { m_intermediateBucketNameHasBeenSet = true; m_intermediateBucketName.assign(value); }
70
72
76 inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; }
77 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
78 inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
79 inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
80 inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
81 inline RedshiftDestinationProperties& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;}
82 inline RedshiftDestinationProperties& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
83 inline RedshiftDestinationProperties& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
85
87
95 inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; }
96 inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; }
97 inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; }
98 inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); }
102 private:
103
104 Aws::String m_object;
105 bool m_objectHasBeenSet = false;
106
107 Aws::String m_intermediateBucketName;
108 bool m_intermediateBucketNameHasBeenSet = false;
109
110 Aws::String m_bucketPrefix;
111 bool m_bucketPrefixHasBeenSet = false;
112
113 ErrorHandlingConfig m_errorHandlingConfig;
114 bool m_errorHandlingConfigHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Appflow
119} // namespace Aws
RedshiftDestinationProperties & WithObject(const char *value)
RedshiftDestinationProperties & WithBucketPrefix(Aws::String &&value)
RedshiftDestinationProperties & WithBucketPrefix(const char *value)
void SetErrorHandlingConfig(const ErrorHandlingConfig &value)
RedshiftDestinationProperties & WithIntermediateBucketName(const Aws::String &value)
RedshiftDestinationProperties & WithErrorHandlingConfig(ErrorHandlingConfig &&value)
RedshiftDestinationProperties & WithBucketPrefix(const Aws::String &value)
RedshiftDestinationProperties & WithIntermediateBucketName(Aws::String &&value)
RedshiftDestinationProperties & WithObject(Aws::String &&value)
RedshiftDestinationProperties & WithObject(const Aws::String &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
RedshiftDestinationProperties & WithErrorHandlingConfig(const ErrorHandlingConfig &value)
AWS_APPFLOW_API RedshiftDestinationProperties(Aws::Utils::Json::JsonView jsonValue)
RedshiftDestinationProperties & WithIntermediateBucketName(const char *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