AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AggregationPartitionBy.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TimeGranularity.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
34 {
35 public:
36 AWS_QUICKSIGHT_API AggregationPartitionBy() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldName() const { return m_fieldName; }
47 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
48 template<typename FieldNameT = Aws::String>
49 void SetFieldName(FieldNameT&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::forward<FieldNameT>(value); }
50 template<typename FieldNameT = Aws::String>
51 AggregationPartitionBy& WithFieldName(FieldNameT&& value) { SetFieldName(std::forward<FieldNameT>(value)); return *this;}
53
55
59 inline TimeGranularity GetTimeGranularity() const { return m_timeGranularity; }
60 inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; }
61 inline void SetTimeGranularity(TimeGranularity value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; }
64 private:
65
66 Aws::String m_fieldName;
67 bool m_fieldNameHasBeenSet = false;
68
70 bool m_timeGranularityHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QuickSight
75} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AggregationPartitionBy(Aws::Utils::Json::JsonView jsonValue)
AggregationPartitionBy & WithTimeGranularity(TimeGranularity value)
AggregationPartitionBy & WithFieldName(FieldNameT &&value)
AWS_QUICKSIGHT_API AggregationPartitionBy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AggregationPartitionBy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue