AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTimestreamTableArn(const Aws::String& value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn = value; }
52 inline void SetTimestreamTableArn(Aws::String&& value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn = std::move(value); }
53 inline void SetTimestreamTableArn(const char* value) { m_timestreamTableArnHasBeenSet = true; m_timestreamTableArn.assign(value); }
54 inline TimestreamConfig& WithTimestreamTableArn(const Aws::String& value) { SetTimestreamTableArn(value); return *this;}
55 inline TimestreamConfig& WithTimestreamTableArn(Aws::String&& value) { SetTimestreamTableArn(std::move(value)); return *this;}
56 inline TimestreamConfig& WithTimestreamTableArn(const char* value) { SetTimestreamTableArn(value); return *this;}
58
60
65 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
66 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
67 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
68 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
69 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
70 inline TimestreamConfig& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
71 inline TimestreamConfig& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
72 inline TimestreamConfig& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
74 private:
75
76 Aws::String m_timestreamTableArn;
77 bool m_timestreamTableArnHasBeenSet = false;
78
79 Aws::String m_executionRoleArn;
80 bool m_executionRoleArnHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace IoTFleetWise
85} // namespace Aws
TimestreamConfig & WithTimestreamTableArn(const char *value)
TimestreamConfig & WithTimestreamTableArn(Aws::String &&value)
AWS_IOTFLEETWISE_API TimestreamConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TimestreamConfig & WithExecutionRoleArn(Aws::String &&value)
void SetExecutionRoleArn(Aws::String &&value)
TimestreamConfig & WithExecutionRoleArn(const char *value)
void SetExecutionRoleArn(const Aws::String &value)
void SetTimestreamTableArn(Aws::String &&value)
AWS_IOTFLEETWISE_API TimestreamConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimestreamTableArn() const
const Aws::String & GetExecutionRoleArn() const
TimestreamConfig & WithTimestreamTableArn(const Aws::String &value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestreamTableArn(const Aws::String &value)
TimestreamConfig & WithExecutionRoleArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue