AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const AggregationType& GetAggregationType() const{ return m_aggregationType; }
47 inline bool AggregationTypeHasBeenSet() const { return m_aggregationTypeHasBeenSet; }
48 inline void SetAggregationType(const AggregationType& value) { m_aggregationTypeHasBeenSet = true; m_aggregationType = value; }
49 inline void SetAggregationType(AggregationType&& value) { m_aggregationTypeHasBeenSet = true; m_aggregationType = std::move(value); }
50 inline AggregationConfig& WithAggregationType(const AggregationType& value) { SetAggregationType(value); return *this;}
51 inline AggregationConfig& WithAggregationType(AggregationType&& value) { SetAggregationType(std::move(value)); return *this;}
53
55
61 inline long long GetTargetFileSize() const{ return m_targetFileSize; }
62 inline bool TargetFileSizeHasBeenSet() const { return m_targetFileSizeHasBeenSet; }
63 inline void SetTargetFileSize(long long value) { m_targetFileSizeHasBeenSet = true; m_targetFileSize = value; }
64 inline AggregationConfig& WithTargetFileSize(long long value) { SetTargetFileSize(value); return *this;}
66 private:
67
68 AggregationType m_aggregationType;
69 bool m_aggregationTypeHasBeenSet = false;
70
71 long long m_targetFileSize;
72 bool m_targetFileSizeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Appflow
77} // namespace Aws
void SetAggregationType(const AggregationType &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API AggregationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregationConfig & WithAggregationType(const AggregationType &value)
AWS_APPFLOW_API AggregationConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAggregationType(AggregationType &&value)
const AggregationType & GetAggregationType() const
AggregationConfig & WithTargetFileSize(long long value)
AggregationConfig & WithAggregationType(AggregationType &&value)
Aws::Utils::Json::JsonValue JsonValue