AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AllowedStatistics.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 <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
35 {
36 public:
37 AWS_GLUEDATABREW_API AllowedStatistics() = default;
38 AWS_GLUEDATABREW_API AllowedStatistics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API AllowedStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetStatistics() const { return m_statistics; }
49 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
50 template<typename StatisticsT = Aws::Vector<Aws::String>>
51 void SetStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics = std::forward<StatisticsT>(value); }
52 template<typename StatisticsT = Aws::Vector<Aws::String>>
53 AllowedStatistics& WithStatistics(StatisticsT&& value) { SetStatistics(std::forward<StatisticsT>(value)); return *this;}
54 template<typename StatisticsT = Aws::String>
55 AllowedStatistics& AddStatistics(StatisticsT&& value) { m_statisticsHasBeenSet = true; m_statistics.emplace_back(std::forward<StatisticsT>(value)); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_statistics;
60 bool m_statisticsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace GlueDataBrew
65} // namespace Aws
AllowedStatistics & AddStatistics(StatisticsT &&value)
AWS_GLUEDATABREW_API AllowedStatistics(Aws::Utils::Json::JsonView jsonValue)
AllowedStatistics & WithStatistics(StatisticsT &&value)
AWS_GLUEDATABREW_API AllowedStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetStatistics() const
AWS_GLUEDATABREW_API AllowedStatistics()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue