AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Appflow
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPFLOW_API AggregationConfig() = default;
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline AggregationType GetAggregationType() const { return m_aggregationType; }
47 inline bool AggregationTypeHasBeenSet() const { return m_aggregationTypeHasBeenSet; }
48 inline void SetAggregationType(AggregationType value) { m_aggregationTypeHasBeenSet = true; m_aggregationType = value; }
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) { m_targetFileSizeHasBeenSet = true; m_targetFileSize = value; }
62 inline AggregationConfig& WithTargetFileSize(long long value) { SetTargetFileSize(value); return *this;}
64 private:
65
67 bool m_aggregationTypeHasBeenSet = false;
68
69 long long m_targetFileSize{0};
70 bool m_targetFileSizeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Appflow
75} // 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