AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DateTimeHierarchy.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/DrillDownFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API DateTimeHierarchy();
38 AWS_QUICKSIGHT_API DateTimeHierarchy(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetHierarchyId() const{ return m_hierarchyId; }
48 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
49 inline void SetHierarchyId(const Aws::String& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = value; }
50 inline void SetHierarchyId(Aws::String&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::move(value); }
51 inline void SetHierarchyId(const char* value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId.assign(value); }
52 inline DateTimeHierarchy& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;}
53 inline DateTimeHierarchy& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;}
54 inline DateTimeHierarchy& WithHierarchyId(const char* value) { SetHierarchyId(value); return *this;}
56
58
62 inline const Aws::Vector<DrillDownFilter>& GetDrillDownFilters() const{ return m_drillDownFilters; }
63 inline bool DrillDownFiltersHasBeenSet() const { return m_drillDownFiltersHasBeenSet; }
64 inline void SetDrillDownFilters(const Aws::Vector<DrillDownFilter>& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters = value; }
65 inline void SetDrillDownFilters(Aws::Vector<DrillDownFilter>&& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters = std::move(value); }
68 inline DateTimeHierarchy& AddDrillDownFilters(const DrillDownFilter& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters.push_back(value); return *this; }
69 inline DateTimeHierarchy& AddDrillDownFilters(DrillDownFilter&& value) { m_drillDownFiltersHasBeenSet = true; m_drillDownFilters.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_hierarchyId;
74 bool m_hierarchyIdHasBeenSet = false;
75
76 Aws::Vector<DrillDownFilter> m_drillDownFilters;
77 bool m_drillDownFiltersHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace QuickSight
82} // namespace Aws
DateTimeHierarchy & WithHierarchyId(const Aws::String &value)
DateTimeHierarchy & WithDrillDownFilters(Aws::Vector< DrillDownFilter > &&value)
DateTimeHierarchy & WithDrillDownFilters(const Aws::Vector< DrillDownFilter > &value)
DateTimeHierarchy & AddDrillDownFilters(const DrillDownFilter &value)
AWS_QUICKSIGHT_API DateTimeHierarchy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDrillDownFilters(Aws::Vector< DrillDownFilter > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetHierarchyId() const
AWS_QUICKSIGHT_API DateTimeHierarchy(Aws::Utils::Json::JsonView jsonValue)
DateTimeHierarchy & WithHierarchyId(Aws::String &&value)
DateTimeHierarchy & WithHierarchyId(const char *value)
void SetDrillDownFilters(const Aws::Vector< DrillDownFilter > &value)
void SetHierarchyId(const Aws::String &value)
const Aws::Vector< DrillDownFilter > & GetDrillDownFilters() const
DateTimeHierarchy & AddDrillDownFilters(DrillDownFilter &&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