AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpsolverS3OutputFormatConfig.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
35 {
36 public:
37 AWS_APPFLOW_API UpsolverS3OutputFormatConfig() = default;
40 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline FileType GetFileType() const { return m_fileType; }
49 inline bool FileTypeHasBeenSet() const { return m_fileTypeHasBeenSet; }
50 inline void SetFileType(FileType value) { m_fileTypeHasBeenSet = true; m_fileType = value; }
51 inline UpsolverS3OutputFormatConfig& WithFileType(FileType value) { SetFileType(value); return *this;}
53
55
56 inline const PrefixConfig& GetPrefixConfig() const { return m_prefixConfig; }
57 inline bool PrefixConfigHasBeenSet() const { return m_prefixConfigHasBeenSet; }
58 template<typename PrefixConfigT = PrefixConfig>
59 void SetPrefixConfig(PrefixConfigT&& value) { m_prefixConfigHasBeenSet = true; m_prefixConfig = std::forward<PrefixConfigT>(value); }
60 template<typename PrefixConfigT = PrefixConfig>
61 UpsolverS3OutputFormatConfig& WithPrefixConfig(PrefixConfigT&& value) { SetPrefixConfig(std::forward<PrefixConfigT>(value)); return *this;}
63
65
66 inline const AggregationConfig& GetAggregationConfig() const { return m_aggregationConfig; }
67 inline bool AggregationConfigHasBeenSet() const { return m_aggregationConfigHasBeenSet; }
68 template<typename AggregationConfigT = AggregationConfig>
69 void SetAggregationConfig(AggregationConfigT&& value) { m_aggregationConfigHasBeenSet = true; m_aggregationConfig = std::forward<AggregationConfigT>(value); }
70 template<typename AggregationConfigT = AggregationConfig>
71 UpsolverS3OutputFormatConfig& WithAggregationConfig(AggregationConfigT&& value) { SetAggregationConfig(std::forward<AggregationConfigT>(value)); return *this;}
73 private:
74
75 FileType m_fileType{FileType::NOT_SET};
76 bool m_fileTypeHasBeenSet = false;
77
78 PrefixConfig m_prefixConfig;
79 bool m_prefixConfigHasBeenSet = false;
80
81 AggregationConfig m_aggregationConfig;
82 bool m_aggregationConfigHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Appflow
87} // namespace Aws
AWS_APPFLOW_API UpsolverS3OutputFormatConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API UpsolverS3OutputFormatConfig()=default
UpsolverS3OutputFormatConfig & WithPrefixConfig(PrefixConfigT &&value)
UpsolverS3OutputFormatConfig & WithFileType(FileType value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API UpsolverS3OutputFormatConfig(Aws::Utils::Json::JsonView jsonValue)
UpsolverS3OutputFormatConfig & WithAggregationConfig(AggregationConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue