AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AccountSettingsNotificationConfiguration.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/SnsConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace TimestreamQuery
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TIMESTREAMQUERY_API AccountSettingsNotificationConfiguration() = default;
39 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const SnsConfiguration& GetSnsConfiguration() const { return m_snsConfiguration; }
45 inline bool SnsConfigurationHasBeenSet() const { return m_snsConfigurationHasBeenSet; }
46 template<typename SnsConfigurationT = SnsConfiguration>
47 void SetSnsConfiguration(SnsConfigurationT&& value) { m_snsConfigurationHasBeenSet = true; m_snsConfiguration = std::forward<SnsConfigurationT>(value); }
48 template<typename SnsConfigurationT = SnsConfiguration>
49 AccountSettingsNotificationConfiguration& WithSnsConfiguration(SnsConfigurationT&& value) { SetSnsConfiguration(std::forward<SnsConfigurationT>(value)); return *this;}
51
53
58 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
59 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
60 template<typename RoleArnT = Aws::String>
61 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
62 template<typename RoleArnT = Aws::String>
63 AccountSettingsNotificationConfiguration& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
65 private:
66
67 SnsConfiguration m_snsConfiguration;
68 bool m_snsConfigurationHasBeenSet = false;
69
70 Aws::String m_roleArn;
71 bool m_roleArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace TimestreamQuery
76} // namespace Aws
AWS_TIMESTREAMQUERY_API AccountSettingsNotificationConfiguration()=default
AccountSettingsNotificationConfiguration & WithSnsConfiguration(SnsConfigurationT &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API AccountSettingsNotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API AccountSettingsNotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue