AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3SourceProperties.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/S3InputFormatConfig.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 S3SourceProperties() = default;
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucketName() const { return m_bucketName; }
47 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
48 template<typename BucketNameT = Aws::String>
49 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
50 template<typename BucketNameT = Aws::String>
51 S3SourceProperties& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
53
55
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 S3SourceProperties& WithBucketPrefix(BucketPrefixT&& value) { SetBucketPrefix(std::forward<BucketPrefixT>(value)); return *this;}
66
68
69 inline const S3InputFormatConfig& GetS3InputFormatConfig() const { return m_s3InputFormatConfig; }
70 inline bool S3InputFormatConfigHasBeenSet() const { return m_s3InputFormatConfigHasBeenSet; }
71 template<typename S3InputFormatConfigT = S3InputFormatConfig>
72 void SetS3InputFormatConfig(S3InputFormatConfigT&& value) { m_s3InputFormatConfigHasBeenSet = true; m_s3InputFormatConfig = std::forward<S3InputFormatConfigT>(value); }
73 template<typename S3InputFormatConfigT = S3InputFormatConfig>
74 S3SourceProperties& WithS3InputFormatConfig(S3InputFormatConfigT&& value) { SetS3InputFormatConfig(std::forward<S3InputFormatConfigT>(value)); return *this;}
76 private:
77
78 Aws::String m_bucketName;
79 bool m_bucketNameHasBeenSet = false;
80
81 Aws::String m_bucketPrefix;
82 bool m_bucketPrefixHasBeenSet = false;
83
84 S3InputFormatConfig m_s3InputFormatConfig;
85 bool m_s3InputFormatConfigHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Appflow
90} // namespace Aws
const Aws::String & GetBucketName() const
AWS_APPFLOW_API S3SourceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3InputFormatConfig(S3InputFormatConfigT &&value)
S3SourceProperties & WithBucketName(BucketNameT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucketPrefix() const
S3SourceProperties & WithBucketPrefix(BucketPrefixT &&value)
const S3InputFormatConfig & GetS3InputFormatConfig() const
void SetBucketPrefix(BucketPrefixT &&value)
AWS_APPFLOW_API S3SourceProperties()=default
AWS_APPFLOW_API S3SourceProperties(Aws::Utils::Json::JsonView jsonValue)
S3SourceProperties & WithS3InputFormatConfig(S3InputFormatConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue