AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataAggregation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TopicTimeGranularity.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 QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API DataAggregation();
36 AWS_QUICKSIGHT_API DataAggregation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const TopicTimeGranularity& GetDatasetRowDateGranularity() const{ return m_datasetRowDateGranularity; }
47 inline bool DatasetRowDateGranularityHasBeenSet() const { return m_datasetRowDateGranularityHasBeenSet; }
48 inline void SetDatasetRowDateGranularity(const TopicTimeGranularity& value) { m_datasetRowDateGranularityHasBeenSet = true; m_datasetRowDateGranularity = value; }
49 inline void SetDatasetRowDateGranularity(TopicTimeGranularity&& value) { m_datasetRowDateGranularityHasBeenSet = true; m_datasetRowDateGranularity = std::move(value); }
53
55
58 inline const Aws::String& GetDefaultDateColumnName() const{ return m_defaultDateColumnName; }
59 inline bool DefaultDateColumnNameHasBeenSet() const { return m_defaultDateColumnNameHasBeenSet; }
60 inline void SetDefaultDateColumnName(const Aws::String& value) { m_defaultDateColumnNameHasBeenSet = true; m_defaultDateColumnName = value; }
61 inline void SetDefaultDateColumnName(Aws::String&& value) { m_defaultDateColumnNameHasBeenSet = true; m_defaultDateColumnName = std::move(value); }
62 inline void SetDefaultDateColumnName(const char* value) { m_defaultDateColumnNameHasBeenSet = true; m_defaultDateColumnName.assign(value); }
64 inline DataAggregation& WithDefaultDateColumnName(Aws::String&& value) { SetDefaultDateColumnName(std::move(value)); return *this;}
65 inline DataAggregation& WithDefaultDateColumnName(const char* value) { SetDefaultDateColumnName(value); return *this;}
67 private:
68
69 TopicTimeGranularity m_datasetRowDateGranularity;
70 bool m_datasetRowDateGranularityHasBeenSet = false;
71
72 Aws::String m_defaultDateColumnName;
73 bool m_defaultDateColumnNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
void SetDatasetRowDateGranularity(const TopicTimeGranularity &value)
void SetDefaultDateColumnName(const char *value)
DataAggregation & WithDefaultDateColumnName(Aws::String &&value)
AWS_QUICKSIGHT_API DataAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
DataAggregation & WithDatasetRowDateGranularity(const TopicTimeGranularity &value)
DataAggregation & WithDefaultDateColumnName(const Aws::String &value)
void SetDefaultDateColumnName(Aws::String &&value)
void SetDatasetRowDateGranularity(TopicTimeGranularity &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DataAggregation(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultDateColumnName(const Aws::String &value)
const Aws::String & GetDefaultDateColumnName() const
const TopicTimeGranularity & GetDatasetRowDateGranularity() const
DataAggregation & WithDefaultDateColumnName(const char *value)
DataAggregation & WithDatasetRowDateGranularity(TopicTimeGranularity &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue