AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
49 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
50 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
51 inline S3SourceProperties& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
52 inline S3SourceProperties& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
53 inline S3SourceProperties& WithBucketName(const char* value) { SetBucketName(value); return *this;}
55
57
61 inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; }
62 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
63 inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
64 inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
65 inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
66 inline S3SourceProperties& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;}
67 inline S3SourceProperties& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
68 inline S3SourceProperties& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
70
72
73 inline const S3InputFormatConfig& GetS3InputFormatConfig() const{ return m_s3InputFormatConfig; }
74 inline bool S3InputFormatConfigHasBeenSet() const { return m_s3InputFormatConfigHasBeenSet; }
75 inline void SetS3InputFormatConfig(const S3InputFormatConfig& value) { m_s3InputFormatConfigHasBeenSet = true; m_s3InputFormatConfig = value; }
76 inline void SetS3InputFormatConfig(S3InputFormatConfig&& value) { m_s3InputFormatConfigHasBeenSet = true; m_s3InputFormatConfig = std::move(value); }
78 inline S3SourceProperties& WithS3InputFormatConfig(S3InputFormatConfig&& value) { SetS3InputFormatConfig(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_bucketName;
83 bool m_bucketNameHasBeenSet = false;
84
85 Aws::String m_bucketPrefix;
86 bool m_bucketPrefixHasBeenSet = false;
87
88 S3InputFormatConfig m_s3InputFormatConfig;
89 bool m_s3InputFormatConfigHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Appflow
94} // namespace Aws
void SetS3InputFormatConfig(const S3InputFormatConfig &value)
S3SourceProperties & WithBucketName(const char *value)
S3SourceProperties & WithBucketPrefix(Aws::String &&value)
S3SourceProperties & WithS3InputFormatConfig(S3InputFormatConfig &&value)
const Aws::String & GetBucketName() const
AWS_APPFLOW_API S3SourceProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
S3SourceProperties & WithS3InputFormatConfig(const S3InputFormatConfig &value)
S3SourceProperties & WithBucketName(Aws::String &&value)
S3SourceProperties & WithBucketName(const Aws::String &value)
void SetS3InputFormatConfig(S3InputFormatConfig &&value)
S3SourceProperties & WithBucketPrefix(const Aws::String &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBucketPrefix() const
S3SourceProperties & WithBucketPrefix(const char *value)
const S3InputFormatConfig & GetS3InputFormatConfig() const
void SetBucketName(const Aws::String &value)
void SetBucketPrefix(const Aws::String &value)
AWS_APPFLOW_API S3SourceProperties(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue