AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
S3DestinationProperties.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/S3OutputFormatConfig.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 S3DestinationProperties() = default;
34 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetBucketName() const { return m_bucketName; }
42 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
43 template <typename BucketNameT = Aws::String>
44 void SetBucketName(BucketNameT&& value) {
45 m_bucketNameHasBeenSet = true;
46 m_bucketName = std::forward<BucketNameT>(value);
47 }
48 template <typename BucketNameT = Aws::String>
50 SetBucketName(std::forward<BucketNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetBucketPrefix() const { return m_bucketPrefix; }
61 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
62 template <typename BucketPrefixT = Aws::String>
63 void SetBucketPrefix(BucketPrefixT&& value) {
64 m_bucketPrefixHasBeenSet = true;
65 m_bucketPrefix = std::forward<BucketPrefixT>(value);
66 }
67 template <typename BucketPrefixT = Aws::String>
68 S3DestinationProperties& WithBucketPrefix(BucketPrefixT&& value) {
69 SetBucketPrefix(std::forward<BucketPrefixT>(value));
70 return *this;
71 }
73
75
76 inline const S3OutputFormatConfig& GetS3OutputFormatConfig() const { return m_s3OutputFormatConfig; }
77 inline bool S3OutputFormatConfigHasBeenSet() const { return m_s3OutputFormatConfigHasBeenSet; }
78 template <typename S3OutputFormatConfigT = S3OutputFormatConfig>
79 void SetS3OutputFormatConfig(S3OutputFormatConfigT&& value) {
80 m_s3OutputFormatConfigHasBeenSet = true;
81 m_s3OutputFormatConfig = std::forward<S3OutputFormatConfigT>(value);
82 }
83 template <typename S3OutputFormatConfigT = S3OutputFormatConfig>
84 S3DestinationProperties& WithS3OutputFormatConfig(S3OutputFormatConfigT&& value) {
85 SetS3OutputFormatConfig(std::forward<S3OutputFormatConfigT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_bucketName;
91
92 Aws::String m_bucketPrefix;
93
94 S3OutputFormatConfig m_s3OutputFormatConfig;
95 bool m_bucketNameHasBeenSet = false;
96 bool m_bucketPrefixHasBeenSet = false;
97 bool m_s3OutputFormatConfigHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Appflow
102} // namespace Aws
void SetS3OutputFormatConfig(S3OutputFormatConfigT &&value)
AWS_APPFLOW_API S3DestinationProperties()=default
S3DestinationProperties & WithBucketPrefix(BucketPrefixT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationProperties & WithS3OutputFormatConfig(S3OutputFormatConfigT &&value)
S3DestinationProperties & WithBucketName(BucketNameT &&value)
AWS_APPFLOW_API S3DestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3OutputFormatConfig & GetS3OutputFormatConfig() const
AWS_APPFLOW_API S3DestinationProperties(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue