7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/model/TimestreamTimestamp.h>
11#include <aws/iot/model/TimestreamDimension.h>
53 template<
typename RoleArnT = Aws::String>
54 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
55 template<
typename RoleArnT = Aws::String>
65 template<
typename DatabaseNameT = Aws::String>
66 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
67 template<
typename DatabaseNameT = Aws::String>
77 template<
typename TableNameT = Aws::String>
78 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet =
true; m_tableName = std::forward<TableNameT>(value); }
79 template<
typename TableNameT = Aws::String>
90 template<
typename DimensionsT = Aws::Vector<TimestreamDimension>>
91 void SetDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions = std::forward<DimensionsT>(value); }
92 template<
typename DimensionsT = Aws::Vector<TimestreamDimension>>
94 template<
typename DimensionsT = TimestreamDimension>
95 TimestreamAction&
AddDimensions(DimensionsT&& value) { m_dimensionsHasBeenSet =
true; m_dimensions.emplace_back(std::forward<DimensionsT>(value));
return *
this; }
109 template<
typename TimestampT = TimestreamTimestamp>
110 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
111 template<
typename TimestampT = TimestreamTimestamp>
117 bool m_roleArnHasBeenSet =
false;
120 bool m_databaseNameHasBeenSet =
false;
123 bool m_tableNameHasBeenSet =
false;
126 bool m_dimensionsHasBeenSet =
false;
129 bool m_timestampHasBeenSet =
false;
TimestreamAction & WithTableName(TableNameT &&value)
const Aws::String & GetDatabaseName() const
const Aws::String & GetTableName() const
AWS_IOT_API TimestreamAction()=default
const TimestreamTimestamp & GetTimestamp() const
TimestreamAction & WithDatabaseName(DatabaseNameT &&value)
bool RoleArnHasBeenSet() const
void SetTableName(TableNameT &&value)
const Aws::Vector< TimestreamDimension > & GetDimensions() const
TimestreamAction & AddDimensions(DimensionsT &&value)
TimestreamAction & WithRoleArn(RoleArnT &&value)
bool DatabaseNameHasBeenSet() const
AWS_IOT_API TimestreamAction & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestreamAction & WithTimestamp(TimestampT &&value)
TimestreamAction & WithDimensions(DimensionsT &&value)
bool DimensionsHasBeenSet() const
bool TimestampHasBeenSet() const
void SetDimensions(DimensionsT &&value)
void SetDatabaseName(DatabaseNameT &&value)
void SetTimestamp(TimestampT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRoleArn() const
AWS_IOT_API TimestreamAction(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
bool TableNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue