/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace QuickSight
{
namespace Model
{
/**
* Formatting configuration for DateTime
fields.
See
* Also:
AWS
* API Reference
*/
class DateTimeFormatConfiguration
{
public:
AWS_QUICKSIGHT_API DateTimeFormatConfiguration();
AWS_QUICKSIGHT_API DateTimeFormatConfiguration(Aws::Utils::Json::JsonView jsonValue);
AWS_QUICKSIGHT_API DateTimeFormatConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Determines the DateTime
format.
*/
inline const Aws::String& GetDateTimeFormat() const{ return m_dateTimeFormat; }
/**
* Determines the DateTime
format.
*/
inline bool DateTimeFormatHasBeenSet() const { return m_dateTimeFormatHasBeenSet; }
/**
* Determines the DateTime
format.
*/
inline void SetDateTimeFormat(const Aws::String& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = value; }
/**
* Determines the DateTime
format.
*/
inline void SetDateTimeFormat(Aws::String&& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = std::move(value); }
/**
* Determines the DateTime
format.
*/
inline void SetDateTimeFormat(const char* value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat.assign(value); }
/**
* Determines the DateTime
format.
*/
inline DateTimeFormatConfiguration& WithDateTimeFormat(const Aws::String& value) { SetDateTimeFormat(value); return *this;}
/**
* Determines the DateTime
format.
*/
inline DateTimeFormatConfiguration& WithDateTimeFormat(Aws::String&& value) { SetDateTimeFormat(std::move(value)); return *this;}
/**
* Determines the DateTime
format.
*/
inline DateTimeFormatConfiguration& WithDateTimeFormat(const char* value) { SetDateTimeFormat(value); return *this;}
/**
* The options that determine the null value format configuration.
*/
inline const NullValueFormatConfiguration& GetNullValueFormatConfiguration() const{ return m_nullValueFormatConfiguration; }
/**
* The options that determine the null value format configuration.
*/
inline bool NullValueFormatConfigurationHasBeenSet() const { return m_nullValueFormatConfigurationHasBeenSet; }
/**
* The options that determine the null value format configuration.
*/
inline void SetNullValueFormatConfiguration(const NullValueFormatConfiguration& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = value; }
/**
* The options that determine the null value format configuration.
*/
inline void SetNullValueFormatConfiguration(NullValueFormatConfiguration&& value) { m_nullValueFormatConfigurationHasBeenSet = true; m_nullValueFormatConfiguration = std::move(value); }
/**
* The options that determine the null value format configuration.
*/
inline DateTimeFormatConfiguration& WithNullValueFormatConfiguration(const NullValueFormatConfiguration& value) { SetNullValueFormatConfiguration(value); return *this;}
/**
* The options that determine the null value format configuration.
*/
inline DateTimeFormatConfiguration& WithNullValueFormatConfiguration(NullValueFormatConfiguration&& value) { SetNullValueFormatConfiguration(std::move(value)); return *this;}
/**
* The formatting configuration for numeric DateTime
fields.
*/
inline const NumericFormatConfiguration& GetNumericFormatConfiguration() const{ return m_numericFormatConfiguration; }
/**
* The formatting configuration for numeric DateTime
fields.
*/
inline bool NumericFormatConfigurationHasBeenSet() const { return m_numericFormatConfigurationHasBeenSet; }
/**
* The formatting configuration for numeric DateTime
fields.
*/
inline void SetNumericFormatConfiguration(const NumericFormatConfiguration& value) { m_numericFormatConfigurationHasBeenSet = true; m_numericFormatConfiguration = value; }
/**
* The formatting configuration for numeric DateTime
fields.
*/
inline void SetNumericFormatConfiguration(NumericFormatConfiguration&& value) { m_numericFormatConfigurationHasBeenSet = true; m_numericFormatConfiguration = std::move(value); }
/**
* The formatting configuration for numeric DateTime
fields.
*/
inline DateTimeFormatConfiguration& WithNumericFormatConfiguration(const NumericFormatConfiguration& value) { SetNumericFormatConfiguration(value); return *this;}
/**
* The formatting configuration for numeric DateTime
fields.
*/
inline DateTimeFormatConfiguration& WithNumericFormatConfiguration(NumericFormatConfiguration&& value) { SetNumericFormatConfiguration(std::move(value)); return *this;}
private:
Aws::String m_dateTimeFormat;
bool m_dateTimeFormatHasBeenSet = false;
NullValueFormatConfiguration m_nullValueFormatConfiguration;
bool m_nullValueFormatConfigurationHasBeenSet = false;
NumericFormatConfiguration m_numericFormatConfiguration;
bool m_numericFormatConfigurationHasBeenSet = false;
};
} // namespace Model
} // namespace QuickSight
} // namespace Aws