7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/DimensionField.h>
10#include <aws/quicksight/model/MeasureField.h>
11#include <aws/quicksight/model/TimeGranularity.h>
51 inline void SetComputationId(
const char* value) { m_computationIdHasBeenSet =
true; m_computationId.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
111 bool m_computationIdHasBeenSet =
false;
114 bool m_nameHasBeenSet =
false;
117 bool m_timeHasBeenSet =
false;
120 bool m_valueHasBeenSet =
false;
123 bool m_periodTimeGranularityHasBeenSet =
false;
PeriodToDateComputation & WithPeriodTimeGranularity(const TimeGranularity &value)
const Aws::String & GetName() const
void SetComputationId(const Aws::String &value)
void SetName(const char *value)
void SetName(const Aws::String &value)
PeriodToDateComputation & WithPeriodTimeGranularity(TimeGranularity &&value)
void SetComputationId(const char *value)
void SetTime(DimensionField &&value)
AWS_QUICKSIGHT_API PeriodToDateComputation(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
void SetComputationId(Aws::String &&value)
PeriodToDateComputation & WithTime(const DimensionField &value)
PeriodToDateComputation & WithComputationId(Aws::String &&value)
PeriodToDateComputation & WithValue(const MeasureField &value)
bool PeriodTimeGranularityHasBeenSet() const
void SetName(Aws::String &&value)
PeriodToDateComputation & WithName(const Aws::String &value)
const Aws::String & GetComputationId() const
void SetValue(MeasureField &&value)
const DimensionField & GetTime() const
bool NameHasBeenSet() const
void SetPeriodTimeGranularity(TimeGranularity &&value)
PeriodToDateComputation & WithName(const char *value)
bool ComputationIdHasBeenSet() const
AWS_QUICKSIGHT_API PeriodToDateComputation & operator=(Aws::Utils::Json::JsonView jsonValue)
const MeasureField & GetValue() const
const TimeGranularity & GetPeriodTimeGranularity() const
void SetValue(const MeasureField &value)
AWS_QUICKSIGHT_API PeriodToDateComputation()
bool TimeHasBeenSet() const
PeriodToDateComputation & WithComputationId(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PeriodToDateComputation & WithValue(MeasureField &&value)
PeriodToDateComputation & WithName(Aws::String &&value)
void SetTime(const DimensionField &value)
PeriodToDateComputation & WithComputationId(const Aws::String &value)
void SetPeriodTimeGranularity(const TimeGranularity &value)
PeriodToDateComputation & WithTime(DimensionField &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue