AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatisticsConfiguration.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/databrew/model/StatisticOverride.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 GlueDataBrew
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_GLUEDATABREW_API StatisticsConfiguration();
39 AWS_GLUEDATABREW_API StatisticsConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<Aws::String>& GetIncludedStatistics() const{ return m_includedStatistics; }
50 inline bool IncludedStatisticsHasBeenSet() const { return m_includedStatisticsHasBeenSet; }
51 inline void SetIncludedStatistics(const Aws::Vector<Aws::String>& value) { m_includedStatisticsHasBeenSet = true; m_includedStatistics = value; }
52 inline void SetIncludedStatistics(Aws::Vector<Aws::String>&& value) { m_includedStatisticsHasBeenSet = true; m_includedStatistics = std::move(value); }
55 inline StatisticsConfiguration& AddIncludedStatistics(const Aws::String& value) { m_includedStatisticsHasBeenSet = true; m_includedStatistics.push_back(value); return *this; }
56 inline StatisticsConfiguration& AddIncludedStatistics(Aws::String&& value) { m_includedStatisticsHasBeenSet = true; m_includedStatistics.push_back(std::move(value)); return *this; }
57 inline StatisticsConfiguration& AddIncludedStatistics(const char* value) { m_includedStatisticsHasBeenSet = true; m_includedStatistics.push_back(value); return *this; }
59
61
64 inline const Aws::Vector<StatisticOverride>& GetOverrides() const{ return m_overrides; }
65 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
66 inline void SetOverrides(const Aws::Vector<StatisticOverride>& value) { m_overridesHasBeenSet = true; m_overrides = value; }
67 inline void SetOverrides(Aws::Vector<StatisticOverride>&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
69 inline StatisticsConfiguration& WithOverrides(Aws::Vector<StatisticOverride>&& value) { SetOverrides(std::move(value)); return *this;}
70 inline StatisticsConfiguration& AddOverrides(const StatisticOverride& value) { m_overridesHasBeenSet = true; m_overrides.push_back(value); return *this; }
71 inline StatisticsConfiguration& AddOverrides(StatisticOverride&& value) { m_overridesHasBeenSet = true; m_overrides.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::Vector<Aws::String> m_includedStatistics;
76 bool m_includedStatisticsHasBeenSet = false;
77
79 bool m_overridesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace GlueDataBrew
84} // namespace Aws
void SetOverrides(const Aws::Vector< StatisticOverride > &value)
StatisticsConfiguration & WithIncludedStatistics(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetIncludedStatistics() const
void SetIncludedStatistics(const Aws::Vector< Aws::String > &value)
StatisticsConfiguration & WithOverrides(const Aws::Vector< StatisticOverride > &value)
AWS_GLUEDATABREW_API StatisticsConfiguration(Aws::Utils::Json::JsonView jsonValue)
StatisticsConfiguration & AddIncludedStatistics(const Aws::String &value)
StatisticsConfiguration & WithIncludedStatistics(const Aws::Vector< Aws::String > &value)
StatisticsConfiguration & AddOverrides(const StatisticOverride &value)
AWS_GLUEDATABREW_API StatisticsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< StatisticOverride > & GetOverrides() const
StatisticsConfiguration & AddOverrides(StatisticOverride &&value)
StatisticsConfiguration & AddIncludedStatistics(const char *value)
StatisticsConfiguration & WithOverrides(Aws::Vector< StatisticOverride > &&value)
StatisticsConfiguration & AddIncludedStatistics(Aws::String &&value)
void SetIncludedStatistics(Aws::Vector< Aws::String > &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOverrides(Aws::Vector< StatisticOverride > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue