AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3OutputFormatConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/FileType.h>
9#include <aws/appflow/model/PrefixConfig.h>
10#include <aws/appflow/model/AggregationConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Appflow
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APPFLOW_API S3OutputFormatConfig();
41 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const FileType& GetFileType() const{ return m_fileType; }
50 inline bool FileTypeHasBeenSet() const { return m_fileTypeHasBeenSet; }
51 inline void SetFileType(const FileType& value) { m_fileTypeHasBeenSet = true; m_fileType = value; }
52 inline void SetFileType(FileType&& value) { m_fileTypeHasBeenSet = true; m_fileType = std::move(value); }
53 inline S3OutputFormatConfig& WithFileType(const FileType& value) { SetFileType(value); return *this;}
54 inline S3OutputFormatConfig& WithFileType(FileType&& value) { SetFileType(std::move(value)); return *this;}
56
58
63 inline const PrefixConfig& GetPrefixConfig() const{ return m_prefixConfig; }
64 inline bool PrefixConfigHasBeenSet() const { return m_prefixConfigHasBeenSet; }
65 inline void SetPrefixConfig(const PrefixConfig& value) { m_prefixConfigHasBeenSet = true; m_prefixConfig = value; }
66 inline void SetPrefixConfig(PrefixConfig&& value) { m_prefixConfigHasBeenSet = true; m_prefixConfig = std::move(value); }
67 inline S3OutputFormatConfig& WithPrefixConfig(const PrefixConfig& value) { SetPrefixConfig(value); return *this;}
68 inline S3OutputFormatConfig& WithPrefixConfig(PrefixConfig&& value) { SetPrefixConfig(std::move(value)); return *this;}
70
72
73 inline const AggregationConfig& GetAggregationConfig() const{ return m_aggregationConfig; }
74 inline bool AggregationConfigHasBeenSet() const { return m_aggregationConfigHasBeenSet; }
75 inline void SetAggregationConfig(const AggregationConfig& value) { m_aggregationConfigHasBeenSet = true; m_aggregationConfig = value; }
76 inline void SetAggregationConfig(AggregationConfig&& value) { m_aggregationConfigHasBeenSet = true; m_aggregationConfig = std::move(value); }
78 inline S3OutputFormatConfig& WithAggregationConfig(AggregationConfig&& value) { SetAggregationConfig(std::move(value)); return *this;}
80
82
93 inline bool GetPreserveSourceDataTyping() const{ return m_preserveSourceDataTyping; }
94 inline bool PreserveSourceDataTypingHasBeenSet() const { return m_preserveSourceDataTypingHasBeenSet; }
95 inline void SetPreserveSourceDataTyping(bool value) { m_preserveSourceDataTypingHasBeenSet = true; m_preserveSourceDataTyping = value; }
98 private:
99
100 FileType m_fileType;
101 bool m_fileTypeHasBeenSet = false;
102
103 PrefixConfig m_prefixConfig;
104 bool m_prefixConfigHasBeenSet = false;
105
106 AggregationConfig m_aggregationConfig;
107 bool m_aggregationConfigHasBeenSet = false;
108
109 bool m_preserveSourceDataTyping;
110 bool m_preserveSourceDataTypingHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Appflow
115} // namespace Aws
AWS_APPFLOW_API S3OutputFormatConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrefixConfig(const PrefixConfig &value)
S3OutputFormatConfig & WithPrefixConfig(const PrefixConfig &value)
void SetAggregationConfig(const AggregationConfig &value)
S3OutputFormatConfig & WithFileType(const FileType &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API S3OutputFormatConfig(Aws::Utils::Json::JsonView jsonValue)
const AggregationConfig & GetAggregationConfig() const
S3OutputFormatConfig & WithFileType(FileType &&value)
S3OutputFormatConfig & WithPreserveSourceDataTyping(bool value)
S3OutputFormatConfig & WithAggregationConfig(AggregationConfig &&value)
S3OutputFormatConfig & WithPrefixConfig(PrefixConfig &&value)
void SetAggregationConfig(AggregationConfig &&value)
S3OutputFormatConfig & WithAggregationConfig(const AggregationConfig &value)
Aws::Utils::Json::JsonValue JsonValue