177 lines
5.0 KiB
C++
177 lines
5.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/quicksight/QuickSight_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace QuickSight
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The column schema.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ColumnSchema">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_QUICKSIGHT_API ColumnSchema
|
|
{
|
|
public:
|
|
ColumnSchema();
|
|
ColumnSchema(Aws::Utils::Json::JsonView jsonValue);
|
|
ColumnSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithName(const char* value) { SetName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline const Aws::String& GetDataType() const{ return m_dataType; }
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline void SetDataType(const Aws::String& value) { m_dataTypeHasBeenSet = true; m_dataType = value; }
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline void SetDataType(Aws::String&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); }
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline void SetDataType(const char* value) { m_dataTypeHasBeenSet = true; m_dataType.assign(value); }
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithDataType(const Aws::String& value) { SetDataType(value); return *this;}
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithDataType(Aws::String&& value) { SetDataType(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The data type of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithDataType(const char* value) { SetDataType(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline const Aws::String& GetGeographicRole() const{ return m_geographicRole; }
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline bool GeographicRoleHasBeenSet() const { return m_geographicRoleHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline void SetGeographicRole(const Aws::String& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = value; }
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline void SetGeographicRole(Aws::String&& value) { m_geographicRoleHasBeenSet = true; m_geographicRole = std::move(value); }
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline void SetGeographicRole(const char* value) { m_geographicRoleHasBeenSet = true; m_geographicRole.assign(value); }
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithGeographicRole(const Aws::String& value) { SetGeographicRole(value); return *this;}
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithGeographicRole(Aws::String&& value) { SetGeographicRole(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The geographic role of the column schema.</p>
|
|
*/
|
|
inline ColumnSchema& WithGeographicRole(const char* value) { SetGeographicRole(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_name;
|
|
bool m_nameHasBeenSet;
|
|
|
|
Aws::String m_dataType;
|
|
bool m_dataTypeHasBeenSet;
|
|
|
|
Aws::String m_geographicRole;
|
|
bool m_geographicRoleHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QuickSight
|
|
} // namespace Aws
|