AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TimestreamConfig.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTFleetWise
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_IOTFLEETWISE_API TimestreamConfig() = default;
40 AWS_IOTFLEETWISE_API TimestreamConfig(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTFLEETWISE_API TimestreamConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetTimestreamTableArn() const { return m_timestreamTableArn; }
50 inline bool TimestreamTableArnHasBeenSet() const { return m_timestreamTableArnHasBeenSet; }
51 template<typename TimestreamTableArnT = Aws::String>
52 void SetTimestreamTableArn(TimestreamTableArnT&& value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn = std::forward<TimestreamTableArnT>(value); }
53 template<typename TimestreamTableArnT = Aws::String>
54 TimestreamConfig& WithTimestreamTableArn(TimestreamTableArnT&& value) { SetTimestreamTableArn(std::forward<TimestreamTableArnT>(value)); return *this;}
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) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
67 template<typename ExecutionRoleArnT = Aws::String>
68 TimestreamConfig& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
70 private:
71
72 Aws::String m_timestreamTableArn;
73 bool m_timestreamTableArnHasBeenSet = false;
74
75 Aws::String m_executionRoleArn;
76 bool m_executionRoleArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoTFleetWise
81} // 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