AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
TimestreamConfig.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
33 public:
34 AWS_IOTFLEETWISE_API TimestreamConfig() = default;
35 AWS_IOTFLEETWISE_API TimestreamConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IOTFLEETWISE_API TimestreamConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetTimestreamTableArn() const { return m_timestreamTableArn; }
44 inline bool TimestreamTableArnHasBeenSet() const { return m_timestreamTableArnHasBeenSet; }
45 template <typename TimestreamTableArnT = Aws::String>
46 void SetTimestreamTableArn(TimestreamTableArnT&& value) {
47 m_timestreamTableArnHasBeenSet = true;
48 m_timestreamTableArn = std::forward<TimestreamTableArnT>(value);
49 }
50 template <typename TimestreamTableArnT = Aws::String>
51 TimestreamConfig& WithTimestreamTableArn(TimestreamTableArnT&& value) {
52 SetTimestreamTableArn(std::forward<TimestreamTableArnT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
64 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
65 template <typename ExecutionRoleArnT = Aws::String>
66 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
67 m_executionRoleArnHasBeenSet = true;
68 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
69 }
70 template <typename ExecutionRoleArnT = Aws::String>
71 TimestreamConfig& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
72 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_timestreamTableArn;
78
79 Aws::String m_executionRoleArn;
80 bool m_timestreamTableArnHasBeenSet = false;
81 bool m_executionRoleArnHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace IoTFleetWise
86} // namespace Aws
AWS_IOTFLEETWISE_API TimestreamConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestreamConfig & WithTimestreamTableArn(TimestreamTableArnT &&value)
AWS_IOTFLEETWISE_API TimestreamConfig()=default
void SetTimestreamTableArn(TimestreamTableArnT &&value)
AWS_IOTFLEETWISE_API TimestreamConfig(Aws::Utils::Json::JsonView jsonValue)
TimestreamConfig & WithExecutionRoleArn(ExecutionRoleArnT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetTimestreamTableArn() const
const Aws::String & GetExecutionRoleArn() const
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue