AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StatisticOverride.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GlueDataBrew
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUEDATABREW_API StatisticOverride() = default;
37 AWS_GLUEDATABREW_API StatisticOverride(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLUEDATABREW_API StatisticOverride& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetStatistic() const { return m_statistic; }
47 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
48 template<typename StatisticT = Aws::String>
49 void SetStatistic(StatisticT&& value) { m_statisticHasBeenSet = true; m_statistic = std::forward<StatisticT>(value); }
50 template<typename StatisticT = Aws::String>
51 StatisticOverride& WithStatistic(StatisticT&& value) { SetStatistic(std::forward<StatisticT>(value)); return *this;}
53
55
58 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
59 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
60 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
61 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
62 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
63 StatisticOverride& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
64 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
65 StatisticOverride& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
66 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
67 }
69 private:
70
71 Aws::String m_statistic;
72 bool m_statisticHasBeenSet = false;
73
75 bool m_parametersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GlueDataBrew
80} // namespace Aws
StatisticOverride & WithParameters(ParametersT &&value)
AWS_GLUEDATABREW_API StatisticOverride()=default
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_GLUEDATABREW_API StatisticOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
StatisticOverride & WithStatistic(StatisticT &&value)
StatisticOverride & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_GLUEDATABREW_API StatisticOverride(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue