AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStatistics(const Aws::Vector<Aws::String>& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
51 inline void SetStatistics(Aws::Vector<Aws::String>&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
52 inline AllowedStatistics& WithStatistics(const Aws::Vector<Aws::String>& value) { SetStatistics(value); return *this;}
53 inline AllowedStatistics& WithStatistics(Aws::Vector<Aws::String>&& value) { SetStatistics(std::move(value)); return *this;}
54 inline AllowedStatistics& AddStatistics(const Aws::String& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
55 inline AllowedStatistics& AddStatistics(Aws::String&& value) { m_statisticsHasBeenSet = true; m_statistics.push_back(std::move(value)); return *this; }
56 inline AllowedStatistics& AddStatistics(const char* value) { m_statisticsHasBeenSet = true; m_statistics.push_back(value); return *this; }
58 private:
59
60 Aws::Vector<Aws::String> m_statistics;
61 bool m_statisticsHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace GlueDataBrew
66} // namespace Aws
AllowedStatistics & WithStatistics(const Aws::Vector< Aws::String > &value)
AllowedStatistics & AddStatistics(const char *value)
AWS_GLUEDATABREW_API AllowedStatistics(Aws::Utils::Json::JsonView jsonValue)
AllowedStatistics & AddStatistics(Aws::String &&value)
AWS_GLUEDATABREW_API AllowedStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AllowedStatistics & AddStatistics(const Aws::String &value)
void SetStatistics(Aws::Vector< Aws::String > &&value)
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetStatistics() const
AllowedStatistics & WithStatistics(Aws::Vector< Aws::String > &&value)
void SetStatistics(const Aws::Vector< Aws::String > &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