7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
9#include <aws/keyspaces/model/ClusteringKey.h>
10#include <aws/keyspaces/model/ColumnDefinition.h>
11#include <aws/keyspaces/model/PartitionKey.h>
12#include <aws/keyspaces/model/StaticColumn.h>
44 template <
typename AllColumnsT = Aws::Vector<ColumnDefinition>>
46 m_allColumnsHasBeenSet =
true;
47 m_allColumns = std::forward<AllColumnsT>(value);
49 template <
typename AllColumnsT = Aws::Vector<ColumnDefinition>>
54 template <
typename AllColumnsT = ColumnDefinition>
56 m_allColumnsHasBeenSet =
true;
57 m_allColumns.emplace_back(std::forward<AllColumnsT>(value));
68 template <
typename PartitionKeysT = Aws::Vector<PartitionKey>>
70 m_partitionKeysHasBeenSet =
true;
71 m_partitionKeys = std::forward<PartitionKeysT>(value);
73 template <
typename PartitionKeysT = Aws::Vector<PartitionKey>>
78 template <
typename PartitionKeysT = PartitionKey>
80 m_partitionKeysHasBeenSet =
true;
81 m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
92 template <
typename ClusteringKeysT = Aws::Vector<ClusteringKey>>
94 m_clusteringKeysHasBeenSet =
true;
95 m_clusteringKeys = std::forward<ClusteringKeysT>(value);
97 template <
typename ClusteringKeysT = Aws::Vector<ClusteringKey>>
102 template <
typename ClusteringKeysT = ClusteringKey>
104 m_clusteringKeysHasBeenSet =
true;
105 m_clusteringKeys.emplace_back(std::forward<ClusteringKeysT>(value));
117 template <
typename StaticColumnsT = Aws::Vector<StaticColumn>>
119 m_staticColumnsHasBeenSet =
true;
120 m_staticColumns = std::forward<StaticColumnsT>(value);
122 template <
typename StaticColumnsT = Aws::Vector<StaticColumn>>
127 template <
typename StaticColumnsT = StaticColumn>
129 m_staticColumnsHasBeenSet =
true;
130 m_staticColumns.emplace_back(std::forward<StaticColumnsT>(value));
142 bool m_allColumnsHasBeenSet =
false;
143 bool m_partitionKeysHasBeenSet =
false;
144 bool m_clusteringKeysHasBeenSet =
false;
145 bool m_staticColumnsHasBeenSet =
false;
void SetStaticColumns(StaticColumnsT &&value)
const Aws::Vector< StaticColumn > & GetStaticColumns() const
SchemaDefinition & AddClusteringKeys(ClusteringKeysT &&value)
void SetPartitionKeys(PartitionKeysT &&value)
SchemaDefinition & AddPartitionKeys(PartitionKeysT &&value)
AWS_KEYSPACES_API SchemaDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaDefinition & WithPartitionKeys(PartitionKeysT &&value)
const Aws::Vector< ColumnDefinition > & GetAllColumns() const
bool StaticColumnsHasBeenSet() const
bool ClusteringKeysHasBeenSet() const
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAllColumns(AllColumnsT &&value)
SchemaDefinition & WithAllColumns(AllColumnsT &&value)
const Aws::Vector< PartitionKey > & GetPartitionKeys() const
SchemaDefinition & AddStaticColumns(StaticColumnsT &&value)
AWS_KEYSPACES_API SchemaDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetClusteringKeys(ClusteringKeysT &&value)
bool AllColumnsHasBeenSet() const
SchemaDefinition & WithClusteringKeys(ClusteringKeysT &&value)
SchemaDefinition & AddAllColumns(AllColumnsT &&value)
SchemaDefinition & WithStaticColumns(StaticColumnsT &&value)
const Aws::Vector< ClusteringKey > & GetClusteringKeys() const
AWS_KEYSPACES_API SchemaDefinition()=default
bool PartitionKeysHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue