AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
TimestreamResources.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTFleetWise {
20namespace Model {
21
30 public:
31 AWS_IOTFLEETWISE_API TimestreamResources() = default;
32 AWS_IOTFLEETWISE_API TimestreamResources(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTimestreamDatabaseName() const { return m_timestreamDatabaseName; }
41 inline bool TimestreamDatabaseNameHasBeenSet() const { return m_timestreamDatabaseNameHasBeenSet; }
42 template <typename TimestreamDatabaseNameT = Aws::String>
43 void SetTimestreamDatabaseName(TimestreamDatabaseNameT&& value) {
44 m_timestreamDatabaseNameHasBeenSet = true;
45 m_timestreamDatabaseName = std::forward<TimestreamDatabaseNameT>(value);
46 }
47 template <typename TimestreamDatabaseNameT = Aws::String>
48 TimestreamResources& WithTimestreamDatabaseName(TimestreamDatabaseNameT&& value) {
49 SetTimestreamDatabaseName(std::forward<TimestreamDatabaseNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTimestreamTableName() const { return m_timestreamTableName; }
59 inline bool TimestreamTableNameHasBeenSet() const { return m_timestreamTableNameHasBeenSet; }
60 template <typename TimestreamTableNameT = Aws::String>
61 void SetTimestreamTableName(TimestreamTableNameT&& value) {
62 m_timestreamTableNameHasBeenSet = true;
63 m_timestreamTableName = std::forward<TimestreamTableNameT>(value);
64 }
65 template <typename TimestreamTableNameT = Aws::String>
66 TimestreamResources& WithTimestreamTableName(TimestreamTableNameT&& value) {
67 SetTimestreamTableName(std::forward<TimestreamTableNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_timestreamDatabaseName;
73
74 Aws::String m_timestreamTableName;
75 bool m_timestreamDatabaseNameHasBeenSet = false;
76 bool m_timestreamTableNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace IoTFleetWise
81} // namespace Aws
void SetTimestreamDatabaseName(TimestreamDatabaseNameT &&value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestreamTableName(TimestreamTableNameT &&value)
TimestreamResources & WithTimestreamTableName(TimestreamTableNameT &&value)
const Aws::String & GetTimestreamDatabaseName() const
AWS_IOTFLEETWISE_API TimestreamResources(Aws::Utils::Json::JsonView jsonValue)
TimestreamResources & WithTimestreamDatabaseName(TimestreamDatabaseNameT &&value)
AWS_IOTFLEETWISE_API TimestreamResources & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API TimestreamResources()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue