AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
50 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
51 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
52 inline S3DestinationProperties& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
53 inline S3DestinationProperties& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
54 inline S3DestinationProperties& WithBucketName(const char* value) { SetBucketName(value); return *this;}
56
58
62 inline const Aws::String& GetBucketPrefix() const{ return m_bucketPrefix; }
63 inline bool BucketPrefixHasBeenSet() const { return m_bucketPrefixHasBeenSet; }
64 inline void SetBucketPrefix(const Aws::String& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = value; }
65 inline void SetBucketPrefix(Aws::String&& value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix = std::move(value); }
66 inline void SetBucketPrefix(const char* value) { m_bucketPrefixHasBeenSet = true; m_bucketPrefix.assign(value); }
67 inline S3DestinationProperties& WithBucketPrefix(const Aws::String& value) { SetBucketPrefix(value); return *this;}
68 inline S3DestinationProperties& WithBucketPrefix(Aws::String&& value) { SetBucketPrefix(std::move(value)); return *this;}
69 inline S3DestinationProperties& WithBucketPrefix(const char* value) { SetBucketPrefix(value); return *this;}
71
73
74 inline const S3OutputFormatConfig& GetS3OutputFormatConfig() const{ return m_s3OutputFormatConfig; }
75 inline bool S3OutputFormatConfigHasBeenSet() const { return m_s3OutputFormatConfigHasBeenSet; }
76 inline void SetS3OutputFormatConfig(const S3OutputFormatConfig& value) { m_s3OutputFormatConfigHasBeenSet = true; m_s3OutputFormatConfig = value; }
77 inline void SetS3OutputFormatConfig(S3OutputFormatConfig&& value) { m_s3OutputFormatConfigHasBeenSet = true; m_s3OutputFormatConfig = std::move(value); }
81 private:
82
83 Aws::String m_bucketName;
84 bool m_bucketNameHasBeenSet = false;
85
86 Aws::String m_bucketPrefix;
87 bool m_bucketPrefixHasBeenSet = false;
88
89 S3OutputFormatConfig m_s3OutputFormatConfig;
90 bool m_s3OutputFormatConfigHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Appflow
95} // namespace Aws
S3DestinationProperties & WithS3OutputFormatConfig(const S3OutputFormatConfig &value)
S3DestinationProperties & WithBucketPrefix(Aws::String &&value)
void SetS3OutputFormatConfig(const S3OutputFormatConfig &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationProperties & WithBucketPrefix(const char *value)
S3DestinationProperties & WithBucketName(const char *value)
AWS_APPFLOW_API S3DestinationProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
S3DestinationProperties & WithS3OutputFormatConfig(S3OutputFormatConfig &&value)
S3DestinationProperties & WithBucketName(Aws::String &&value)
void SetS3OutputFormatConfig(S3OutputFormatConfig &&value)
const S3OutputFormatConfig & GetS3OutputFormatConfig() const
AWS_APPFLOW_API S3DestinationProperties(Aws::Utils::Json::JsonView jsonValue)
S3DestinationProperties & WithBucketName(const Aws::String &value)
S3DestinationProperties & WithBucketPrefix(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue