AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
62 inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
63 inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
64 inline ErrorHandlingConfig& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;}
65 inline ErrorHandlingConfig& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
66 inline ErrorHandlingConfig& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
68
70
73 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
74 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
75 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
76 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
77 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
78 inline ErrorHandlingConfig& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
79 inline ErrorHandlingConfig& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
80 inline ErrorHandlingConfig& WithBucketName(const char* value) { SetBucketName(value); return *this;}
82 private:
83
84 bool m_failOnFirstDestinationError;
85 bool m_failOnFirstDestinationErrorHasBeenSet = false;
86
87 Aws::String m_bucketPrefix;
88 bool m_bucketPrefixHasBeenSet = false;
89
90 Aws::String m_bucketName;
91 bool m_bucketNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Appflow
96} // namespace Aws
ErrorHandlingConfig & WithBucketPrefix(const Aws::String &value)
AWS_APPFLOW_API ErrorHandlingConfig(Aws::Utils::Json::JsonView jsonValue)
ErrorHandlingConfig & WithBucketName(const Aws::String &value)
void SetBucketPrefix(const Aws::String &value)
ErrorHandlingConfig & WithFailOnFirstDestinationError(bool value)
ErrorHandlingConfig & WithBucketName(const char *value)
const Aws::String & GetBucketPrefix() const
void SetBucketName(const Aws::String &value)
AWS_APPFLOW_API ErrorHandlingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorHandlingConfig & WithBucketPrefix(Aws::String &&value)
ErrorHandlingConfig & WithBucketPrefix(const char *value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorHandlingConfig & WithBucketName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue