AWS SDK for C++  1.9.132
AWS SDK for C++
TimestreamAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
28 
38  {
39  public:
44 
45 
50  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
51 
56  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
57 
62  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
63 
68  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
69 
74  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
75 
80  inline TimestreamAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
81 
86  inline TimestreamAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
87 
92  inline TimestreamAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
93 
94 
98  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
99 
103  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
104 
108  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
109 
113  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
114 
118  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
119 
123  inline TimestreamAction& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
124 
128  inline TimestreamAction& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
129 
133  inline TimestreamAction& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
134 
135 
139  inline const Aws::String& GetTableName() const{ return m_tableName; }
140 
144  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
145 
149  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
150 
154  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
155 
159  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
160 
164  inline TimestreamAction& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
165 
169  inline TimestreamAction& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
170 
174  inline TimestreamAction& WithTableName(const char* value) { SetTableName(value); return *this;}
175 
176 
181  inline const Aws::Vector<TimestreamDimension>& GetDimensions() const{ return m_dimensions; }
182 
187  inline bool DimensionsHasBeenSet() const { return m_dimensionsHasBeenSet; }
188 
193  inline void SetDimensions(const Aws::Vector<TimestreamDimension>& value) { m_dimensionsHasBeenSet = true; m_dimensions = value; }
194 
199  inline void SetDimensions(Aws::Vector<TimestreamDimension>&& value) { m_dimensionsHasBeenSet = true; m_dimensions = std::move(value); }
200 
205  inline TimestreamAction& WithDimensions(const Aws::Vector<TimestreamDimension>& value) { SetDimensions(value); return *this;}
206 
211  inline TimestreamAction& WithDimensions(Aws::Vector<TimestreamDimension>&& value) { SetDimensions(std::move(value)); return *this;}
212 
217  inline TimestreamAction& AddDimensions(const TimestreamDimension& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(value); return *this; }
218 
223  inline TimestreamAction& AddDimensions(TimestreamDimension&& value) { m_dimensionsHasBeenSet = true; m_dimensions.push_back(std::move(value)); return *this; }
224 
225 
234  inline const TimestreamTimestamp& GetTimestamp() const{ return m_timestamp; }
235 
244  inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
245 
254  inline void SetTimestamp(const TimestreamTimestamp& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
255 
264  inline void SetTimestamp(TimestreamTimestamp&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
265 
274  inline TimestreamAction& WithTimestamp(const TimestreamTimestamp& value) { SetTimestamp(value); return *this;}
275 
284  inline TimestreamAction& WithTimestamp(TimestreamTimestamp&& value) { SetTimestamp(std::move(value)); return *this;}
285 
286  private:
287 
288  Aws::String m_roleArn;
289  bool m_roleArnHasBeenSet;
290 
291  Aws::String m_databaseName;
292  bool m_databaseNameHasBeenSet;
293 
294  Aws::String m_tableName;
295  bool m_tableNameHasBeenSet;
296 
298  bool m_dimensionsHasBeenSet;
299 
300  TimestreamTimestamp m_timestamp;
301  bool m_timestampHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace IoT
306 } // namespace Aws
Aws::IoT::Model::TimestreamAction::AddDimensions
TimestreamAction & AddDimensions(const TimestreamDimension &value)
Definition: TimestreamAction.h:217
Aws::IoT::Model::TimestreamAction::WithRoleArn
TimestreamAction & WithRoleArn(Aws::String &&value)
Definition: TimestreamAction.h:86
TimestreamTimestamp.h
Aws::IoT::Model::TimestreamAction
Definition: TimestreamAction.h:38
Aws::IoT::Model::TimestreamAction::TableNameHasBeenSet
bool TableNameHasBeenSet() const
Definition: TimestreamAction.h:144
Aws::IoT::Model::TimestreamAction::TimestampHasBeenSet
bool TimestampHasBeenSet() const
Definition: TimestreamAction.h:244
Aws::IoT::Model::TimestreamAction::WithTimestamp
TimestreamAction & WithTimestamp(const TimestreamTimestamp &value)
Definition: TimestreamAction.h:274
Aws::IoT::Model::TimestreamAction::SetTableName
void SetTableName(const Aws::String &value)
Definition: TimestreamAction.h:149
Aws::IoT::Model::TimestreamAction::SetDimensions
void SetDimensions(Aws::Vector< TimestreamDimension > &&value)
Definition: TimestreamAction.h:199
Aws::IoT::Model::TimestreamAction::WithDimensions
TimestreamAction & WithDimensions(const Aws::Vector< TimestreamDimension > &value)
Definition: TimestreamAction.h:205
Aws::IoT::Model::TimestreamAction::WithDatabaseName
TimestreamAction & WithDatabaseName(const char *value)
Definition: TimestreamAction.h:133
Aws::IoT::Model::TimestreamAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: TimestreamAction.h:50
Aws::IoT::Model::TimestreamAction::WithDimensions
TimestreamAction & WithDimensions(Aws::Vector< TimestreamDimension > &&value)
Definition: TimestreamAction.h:211
Aws::IoT::Model::TimestreamAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: TimestreamAction.h:62
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::TimestreamAction::WithDatabaseName
TimestreamAction & WithDatabaseName(const Aws::String &value)
Definition: TimestreamAction.h:123
Aws::IoT::Model::TimestreamTimestamp
Definition: TimestreamTimestamp.h:34
AWSVector.h
Aws::IoT::Model::TimestreamAction::WithRoleArn
TimestreamAction & WithRoleArn(const Aws::String &value)
Definition: TimestreamAction.h:80
Aws::IoT::Model::TimestreamAction::GetDimensions
const Aws::Vector< TimestreamDimension > & GetDimensions() const
Definition: TimestreamAction.h:181
Aws::IoT::Model::TimestreamAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: TimestreamAction.h:56
Aws::IoT::Model::TimestreamAction::SetTableName
void SetTableName(Aws::String &&value)
Definition: TimestreamAction.h:154
Aws::IoT::Model::TimestreamAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::TimestreamAction::TimestreamAction
TimestreamAction()
Aws::IoT::Model::TimestreamAction::WithTableName
TimestreamAction & WithTableName(const char *value)
Definition: TimestreamAction.h:174
Aws::IoT::Model::TimestreamAction::GetTimestamp
const TimestreamTimestamp & GetTimestamp() const
Definition: TimestreamAction.h:234
Aws::IoT::Model::TimestreamAction::WithTableName
TimestreamAction & WithTableName(Aws::String &&value)
Definition: TimestreamAction.h:169
Aws::IoT::Model::TimestreamAction::SetTimestamp
void SetTimestamp(const TimestreamTimestamp &value)
Definition: TimestreamAction.h:254
Aws::IoT::Model::TimestreamAction::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: TimestreamAction.h:98
Aws::IoT::Model::TimestreamAction::WithTableName
TimestreamAction & WithTableName(const Aws::String &value)
Definition: TimestreamAction.h:164
Aws::IoT::Model::TimestreamAction::AddDimensions
TimestreamAction & AddDimensions(TimestreamDimension &&value)
Definition: TimestreamAction.h:223
Aws::IoT::Model::TimestreamDimension
Definition: TimestreamDimension.h:33
TimestreamDimension.h
Aws::IoT::Model::TimestreamAction::operator=
TimestreamAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::TimestreamAction::WithDatabaseName
TimestreamAction & WithDatabaseName(Aws::String &&value)
Definition: TimestreamAction.h:128
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::TimestreamAction::TimestreamAction
TimestreamAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TimestreamAction::WithRoleArn
TimestreamAction & WithRoleArn(const char *value)
Definition: TimestreamAction.h:92
Aws::IoT::Model::TimestreamAction::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: TimestreamAction.h:103
Aws::IoT::Model::TimestreamAction::DimensionsHasBeenSet
bool DimensionsHasBeenSet() const
Definition: TimestreamAction.h:187
Aws::IoT::Model::TimestreamAction::SetTableName
void SetTableName(const char *value)
Definition: TimestreamAction.h:159
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TimestreamAction::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: TimestreamAction.h:113
Aws::IoT::Model::TimestreamAction::SetDimensions
void SetDimensions(const Aws::Vector< TimestreamDimension > &value)
Definition: TimestreamAction.h:193
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::TimestreamAction::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: TimestreamAction.h:118
Aws::IoT::Model::TimestreamAction::SetTimestamp
void SetTimestamp(TimestreamTimestamp &&value)
Definition: TimestreamAction.h:264
Aws::IoT::Model::TimestreamAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: TimestreamAction.h:68
Aws::IoT::Model::TimestreamAction::GetTableName
const Aws::String & GetTableName() const
Definition: TimestreamAction.h:139
Aws::IoT::Model::TimestreamAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: TimestreamAction.h:74
Aws::IoT::Model::TimestreamAction::WithTimestamp
TimestreamAction & WithTimestamp(TimestreamTimestamp &&value)
Definition: TimestreamAction.h:284
IoT_EXPORTS.h
Aws::IoT::Model::TimestreamAction::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: TimestreamAction.h:108