AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TargetConfiguration.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/TimestreamConfiguration.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 TimestreamQuery
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TIMESTREAMQUERY_API TargetConfiguration() = default;
38 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const TimestreamConfiguration& GetTimestreamConfiguration() const { return m_timestreamConfiguration; }
47 inline bool TimestreamConfigurationHasBeenSet() const { return m_timestreamConfigurationHasBeenSet; }
48 template<typename TimestreamConfigurationT = TimestreamConfiguration>
49 void SetTimestreamConfiguration(TimestreamConfigurationT&& value) { m_timestreamConfigurationHasBeenSet = true; m_timestreamConfiguration = std::forward<TimestreamConfigurationT>(value); }
50 template<typename TimestreamConfigurationT = TimestreamConfiguration>
51 TargetConfiguration& WithTimestreamConfiguration(TimestreamConfigurationT&& value) { SetTimestreamConfiguration(std::forward<TimestreamConfigurationT>(value)); return *this;}
53 private:
54
55 TimestreamConfiguration m_timestreamConfiguration;
56 bool m_timestreamConfigurationHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace TimestreamQuery
61} // namespace Aws
const TimestreamConfiguration & GetTimestreamConfiguration() const
AWS_TIMESTREAMQUERY_API TargetConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API TargetConfiguration()=default
void SetTimestreamConfiguration(TimestreamConfigurationT &&value)
AWS_TIMESTREAMQUERY_API TargetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetConfiguration & WithTimestreamConfiguration(TimestreamConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue