AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
S3SourceProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/S3InputFormatConfig.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Appflow {
21namespace Model {
22
30 public:
31 AWS_APPFLOW_API S3SourceProperties() = default;
34 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetBucketName() const { return m_bucketName; }
41 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
42 template <typename BucketNameT = Aws::String>
43 void SetBucketName(BucketNameT&& value) {
44 m_bucketNameHasBeenSet = true;
45 m_bucketName = std::forward<BucketNameT>(value);
46 }
47 template <typename BucketNameT = Aws::String>
48 S3SourceProperties& WithBucketName(BucketNameT&& value) {
49 SetBucketName(std::forward<BucketNameT>(value));
50 return *this;
51 }
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) {
63 m_bucketPrefixHasBeenSet = true;
64 m_bucketPrefix = std::forward<BucketPrefixT>(value);
65 }
66 template <typename BucketPrefixT = Aws::String>
67 S3SourceProperties& WithBucketPrefix(BucketPrefixT&& value) {
68 SetBucketPrefix(std::forward<BucketPrefixT>(value));
69 return *this;
70 }
72
74
75 inline const S3InputFormatConfig& GetS3InputFormatConfig() const { return m_s3InputFormatConfig; }
76 inline bool S3InputFormatConfigHasBeenSet() const { return m_s3InputFormatConfigHasBeenSet; }
77 template <typename S3InputFormatConfigT = S3InputFormatConfig>
78 void SetS3InputFormatConfig(S3InputFormatConfigT&& value) {
79 m_s3InputFormatConfigHasBeenSet = true;
80 m_s3InputFormatConfig = std::forward<S3InputFormatConfigT>(value);
81 }
82 template <typename S3InputFormatConfigT = S3InputFormatConfig>
83 S3SourceProperties& WithS3InputFormatConfig(S3InputFormatConfigT&& value) {
84 SetS3InputFormatConfig(std::forward<S3InputFormatConfigT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_bucketName;
90
91 Aws::String m_bucketPrefix;
92
93 S3InputFormatConfig m_s3InputFormatConfig;
94 bool m_bucketNameHasBeenSet = false;
95 bool m_bucketPrefixHasBeenSet = false;
96 bool m_s3InputFormatConfigHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Appflow
101} // 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