AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AggregationConfig.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/AggregationType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Appflow {
20namespace Model {
21
29 public:
30 AWS_APPFLOW_API AggregationConfig() = default;
33 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline AggregationType GetAggregationType() const { return m_aggregationType; }
41 inline bool AggregationTypeHasBeenSet() const { return m_aggregationTypeHasBeenSet; }
43 m_aggregationTypeHasBeenSet = true;
44 m_aggregationType = value;
45 }
47 SetAggregationType(value);
48 return *this;
49 }
51
53
59 inline long long GetTargetFileSize() const { return m_targetFileSize; }
60 inline bool TargetFileSizeHasBeenSet() const { return m_targetFileSizeHasBeenSet; }
61 inline void SetTargetFileSize(long long value) {
62 m_targetFileSizeHasBeenSet = true;
63 m_targetFileSize = value;
64 }
65 inline AggregationConfig& WithTargetFileSize(long long value) {
66 SetTargetFileSize(value);
67 return *this;
68 }
70 private:
72
73 long long m_targetFileSize{0};
74 bool m_aggregationTypeHasBeenSet = false;
75 bool m_targetFileSizeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Appflow
80} // namespace Aws
AWS_APPFLOW_API AggregationConfig()=default
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API AggregationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregationConfig & WithAggregationType(AggregationType value)
AWS_APPFLOW_API AggregationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAggregationType(AggregationType value)
AggregationConfig & WithTargetFileSize(long long value)
Aws::Utils::Json::JsonValue JsonValue