AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TimestreamQuery {
20namespace Model {
21
29 public:
30 AWS_TIMESTREAMQUERY_API TargetConfiguration() = default;
33 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const TimestreamConfiguration& GetTimestreamConfiguration() const { return m_timestreamConfiguration; }
41 inline bool TimestreamConfigurationHasBeenSet() const { return m_timestreamConfigurationHasBeenSet; }
42 template <typename TimestreamConfigurationT = TimestreamConfiguration>
44 m_timestreamConfigurationHasBeenSet = true;
45 m_timestreamConfiguration = std::forward<TimestreamConfigurationT>(value);
46 }
47 template <typename TimestreamConfigurationT = TimestreamConfiguration>
49 SetTimestreamConfiguration(std::forward<TimestreamConfigurationT>(value));
50 return *this;
51 }
53 private:
54 TimestreamConfiguration m_timestreamConfiguration;
55 bool m_timestreamConfigurationHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace TimestreamQuery
60} // 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