AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LookbackWindow.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/LookbackWindowSizeUnit.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 LookbackWindow();
37 AWS_QUICKSIGHT_API LookbackWindow(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API LookbackWindow& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetColumnName() const{ return m_columnName; }
47 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
48 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
49 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
50 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
51 inline LookbackWindow& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
52 inline LookbackWindow& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
53 inline LookbackWindow& WithColumnName(const char* value) { SetColumnName(value); return *this;}
55
57
60 inline long long GetSize() const{ return m_size; }
61 inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
62 inline void SetSize(long long value) { m_sizeHasBeenSet = true; m_size = value; }
63 inline LookbackWindow& WithSize(long long value) { SetSize(value); return *this;}
65
67
72 inline const LookbackWindowSizeUnit& GetSizeUnit() const{ return m_sizeUnit; }
73 inline bool SizeUnitHasBeenSet() const { return m_sizeUnitHasBeenSet; }
74 inline void SetSizeUnit(const LookbackWindowSizeUnit& value) { m_sizeUnitHasBeenSet = true; m_sizeUnit = value; }
75 inline void SetSizeUnit(LookbackWindowSizeUnit&& value) { m_sizeUnitHasBeenSet = true; m_sizeUnit = std::move(value); }
76 inline LookbackWindow& WithSizeUnit(const LookbackWindowSizeUnit& value) { SetSizeUnit(value); return *this;}
77 inline LookbackWindow& WithSizeUnit(LookbackWindowSizeUnit&& value) { SetSizeUnit(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_columnName;
82 bool m_columnNameHasBeenSet = false;
83
84 long long m_size;
85 bool m_sizeHasBeenSet = false;
86
87 LookbackWindowSizeUnit m_sizeUnit;
88 bool m_sizeUnitHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace QuickSight
93} // namespace Aws
void SetColumnName(const char *value)
LookbackWindow & WithSize(long long value)
const Aws::String & GetColumnName() const
LookbackWindow & WithColumnName(const Aws::String &value)
const LookbackWindowSizeUnit & GetSizeUnit() const
LookbackWindow & WithColumnName(const char *value)
AWS_QUICKSIGHT_API LookbackWindow(Aws::Utils::Json::JsonView jsonValue)
LookbackWindow & WithColumnName(Aws::String &&value)
LookbackWindow & WithSizeUnit(const LookbackWindowSizeUnit &value)
void SetColumnName(const Aws::String &value)
AWS_QUICKSIGHT_API LookbackWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
LookbackWindow & WithSizeUnit(LookbackWindowSizeUnit &&value)
void SetSizeUnit(const LookbackWindowSizeUnit &value)
void SetSizeUnit(LookbackWindowSizeUnit &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetColumnName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue