AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ErrorHandlingConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Appflow
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_APPFLOW_API ErrorHandlingConfig() = default;
41 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline bool GetFailOnFirstDestinationError() const { return m_failOnFirstDestinationError; }
50 inline bool FailOnFirstDestinationErrorHasBeenSet() const { return m_failOnFirstDestinationErrorHasBeenSet; }
51 inline void SetFailOnFirstDestinationError(bool value) { m_failOnFirstDestinationErrorHasBeenSet = true; m_failOnFirstDestinationError = value; }
54
56
59 inline const Aws::String& GetBucketPrefix() const { return m_bucketPrefix; }
60 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
61 template<typename BucketPrefixT = Aws::String>
62 void SetBucketPrefix(BucketPrefixT&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::forward<BucketPrefixT>(value); }
63 template<typename BucketPrefixT = Aws::String>
64 ErrorHandlingConfig& WithBucketPrefix(BucketPrefixT&& value) { SetBucketPrefix(std::forward<BucketPrefixT>(value)); return *this;}
66
68
71 inline const Aws::String& GetBucketName() const { return m_bucketName; }
72 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
73 template<typename BucketNameT = Aws::String>
74 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
75 template<typename BucketNameT = Aws::String>
76 ErrorHandlingConfig& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
78 private:
79
80 bool m_failOnFirstDestinationError{false};
81 bool m_failOnFirstDestinationErrorHasBeenSet = false;
82
83 Aws::String m_bucketPrefix;
84 bool m_bucketPrefixHasBeenSet = false;
85
86 Aws::String m_bucketName;
87 bool m_bucketNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Appflow
92} // namespace Aws
AWS_APPFLOW_API ErrorHandlingConfig(Aws::Utils::Json::JsonView jsonValue)
ErrorHandlingConfig & WithBucketName(BucketNameT &&value)
ErrorHandlingConfig & WithFailOnFirstDestinationError(bool value)
AWS_APPFLOW_API ErrorHandlingConfig()=default
const Aws::String & GetBucketPrefix() const
AWS_APPFLOW_API ErrorHandlingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBucketPrefix(BucketPrefixT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorHandlingConfig & WithBucketPrefix(BucketPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue