AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StatisticsConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/databrew/GlueDataBrew_EXPORTS.h>
10#include <aws/databrew/model/StatisticOverride.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GlueDataBrew {
22namespace Model {
23
32 public:
33 AWS_GLUEDATABREW_API StatisticsConfiguration() = default;
34 AWS_GLUEDATABREW_API StatisticsConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<Aws::String>& GetIncludedStatistics() const { return m_includedStatistics; }
44 inline bool IncludedStatisticsHasBeenSet() const { return m_includedStatisticsHasBeenSet; }
45 template <typename IncludedStatisticsT = Aws::Vector<Aws::String>>
46 void SetIncludedStatistics(IncludedStatisticsT&& value) {
47 m_includedStatisticsHasBeenSet = true;
48 m_includedStatistics = std::forward<IncludedStatisticsT>(value);
49 }
50 template <typename IncludedStatisticsT = Aws::Vector<Aws::String>>
51 StatisticsConfiguration& WithIncludedStatistics(IncludedStatisticsT&& value) {
52 SetIncludedStatistics(std::forward<IncludedStatisticsT>(value));
53 return *this;
54 }
55 template <typename IncludedStatisticsT = Aws::String>
56 StatisticsConfiguration& AddIncludedStatistics(IncludedStatisticsT&& value) {
57 m_includedStatisticsHasBeenSet = true;
58 m_includedStatistics.emplace_back(std::forward<IncludedStatisticsT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::Vector<StatisticOverride>& GetOverrides() const { return m_overrides; }
68 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
69 template <typename OverridesT = Aws::Vector<StatisticOverride>>
70 void SetOverrides(OverridesT&& value) {
71 m_overridesHasBeenSet = true;
72 m_overrides = std::forward<OverridesT>(value);
73 }
74 template <typename OverridesT = Aws::Vector<StatisticOverride>>
76 SetOverrides(std::forward<OverridesT>(value));
77 return *this;
78 }
79 template <typename OverridesT = StatisticOverride>
81 m_overridesHasBeenSet = true;
82 m_overrides.emplace_back(std::forward<OverridesT>(value));
83 return *this;
84 }
86 private:
87 Aws::Vector<Aws::String> m_includedStatistics;
88
90 bool m_includedStatisticsHasBeenSet = false;
91 bool m_overridesHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace GlueDataBrew
96} // namespace Aws
StatisticsConfiguration & AddOverrides(OverridesT &&value)
StatisticsConfiguration & AddIncludedStatistics(IncludedStatisticsT &&value)
const Aws::Vector< Aws::String > & GetIncludedStatistics() const
AWS_GLUEDATABREW_API StatisticsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API StatisticsConfiguration()=default
AWS_GLUEDATABREW_API StatisticsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< StatisticOverride > & GetOverrides() const
StatisticsConfiguration & WithOverrides(OverridesT &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
StatisticsConfiguration & WithIncludedStatistics(IncludedStatisticsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue