AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AllowedStatistics.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GlueDataBrew {
21namespace Model {
22
31 public:
32 AWS_GLUEDATABREW_API AllowedStatistics() = default;
33 AWS_GLUEDATABREW_API AllowedStatistics(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GLUEDATABREW_API AllowedStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::Vector<Aws::String>& GetStatistics() const { return m_statistics; }
43 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
44 template <typename StatisticsT = Aws::Vector<Aws::String>>
45 void SetStatistics(StatisticsT&& value) {
46 m_statisticsHasBeenSet = true;
47 m_statistics = std::forward<StatisticsT>(value);
48 }
49 template <typename StatisticsT = Aws::Vector<Aws::String>>
50 AllowedStatistics& WithStatistics(StatisticsT&& value) {
51 SetStatistics(std::forward<StatisticsT>(value));
52 return *this;
53 }
54 template <typename StatisticsT = Aws::String>
55 AllowedStatistics& AddStatistics(StatisticsT&& value) {
56 m_statisticsHasBeenSet = true;
57 m_statistics.emplace_back(std::forward<StatisticsT>(value));
58 return *this;
59 }
61 private:
62 Aws::Vector<Aws::String> m_statistics;
63 bool m_statisticsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace GlueDataBrew
68} // 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