AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
NotificationConfiguration.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/SnsConfiguration.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
30 public:
31 AWS_TIMESTREAMQUERY_API NotificationConfiguration() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const SnsConfiguration& GetSnsConfiguration() const { return m_snsConfiguration; }
43 inline bool SnsConfigurationHasBeenSet() const { return m_snsConfigurationHasBeenSet; }
44 template <typename SnsConfigurationT = SnsConfiguration>
46 m_snsConfigurationHasBeenSet = true;
47 m_snsConfiguration = std::forward<SnsConfigurationT>(value);
48 }
49 template <typename SnsConfigurationT = SnsConfiguration>
51 SetSnsConfiguration(std::forward<SnsConfigurationT>(value));
52 return *this;
53 }
55 private:
56 SnsConfiguration m_snsConfiguration;
57 bool m_snsConfigurationHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace TimestreamQuery
62} // namespace Aws
AWS_TIMESTREAMQUERY_API NotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API NotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationConfiguration & WithSnsConfiguration(SnsConfigurationT &&value)
AWS_TIMESTREAMQUERY_API NotificationConfiguration()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue