AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
S3DestinationProperties.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/S3OutputFormatConfig.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 S3DestinationProperties() = default;
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetBucketName() const { return m_bucketName; }
48 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
49 template<typename BucketNameT = Aws::String>
50 void SetBucketName(BucketNameT&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::forward<BucketNameT>(value); }
51 template<typename BucketNameT = Aws::String>
52 S3DestinationProperties& WithBucketName(BucketNameT&& value) { SetBucketName(std::forward<BucketNameT>(value)); return *this;}
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) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::forward<BucketPrefixT>(value); }
64 template<typename BucketPrefixT = Aws::String>
65 S3DestinationProperties& WithBucketPrefix(BucketPrefixT&& value) { SetBucketPrefix(std::forward<BucketPrefixT>(value)); return *this;}
67
69
70 inline const S3OutputFormatConfig& GetS3OutputFormatConfig() const { return m_s3OutputFormatConfig; }
71 inline bool S3OutputFormatConfigHasBeenSet() const { return m_s3OutputFormatConfigHasBeenSet; }
72 template<typename S3OutputFormatConfigT = S3OutputFormatConfig>
73 void SetS3OutputFormatConfig(S3OutputFormatConfigT&& value) { m_s3OutputFormatConfigHasBeenSet = true; m_s3OutputFormatConfig = std::forward<S3OutputFormatConfigT>(value); }
74 template<typename S3OutputFormatConfigT = S3OutputFormatConfig>
75 S3DestinationProperties& WithS3OutputFormatConfig(S3OutputFormatConfigT&& value) { SetS3OutputFormatConfig(std::forward<S3OutputFormatConfigT>(value)); return *this;}
77 private:
78
79 Aws::String m_bucketName;
80 bool m_bucketNameHasBeenSet = false;
81
82 Aws::String m_bucketPrefix;
83 bool m_bucketPrefixHasBeenSet = false;
84
85 S3OutputFormatConfig m_s3OutputFormatConfig;
86 bool m_s3OutputFormatConfigHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Appflow
91} // 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