AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AggregationPartitionBy.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/TimeGranularity.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API AggregationPartitionBy() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFieldName() const { return m_fieldName; }
41 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
42 template <typename FieldNameT = Aws::String>
43 void SetFieldName(FieldNameT&& value) {
44 m_fieldNameHasBeenSet = true;
45 m_fieldName = std::forward<FieldNameT>(value);
46 }
47 template <typename FieldNameT = Aws::String>
49 SetFieldName(std::forward<FieldNameT>(value));
50 return *this;
51 }
53
55
59 inline TimeGranularity GetTimeGranularity() const { return m_timeGranularity; }
60 inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; }
62 m_timeGranularityHasBeenSet = true;
63 m_timeGranularity = value;
64 }
66 SetTimeGranularity(value);
67 return *this;
68 }
70 private:
71 Aws::String m_fieldName;
72
74 bool m_fieldNameHasBeenSet = false;
75 bool m_timeGranularityHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace QuickSight
80} // 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