AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
AccountSettingsNotificationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
9#include <aws/timestream-query/model/SnsConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
30 public:
31 AWS_TIMESTREAMQUERY_API AccountSettingsNotificationConfiguration() = default;
34 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const SnsConfiguration& GetSnsConfiguration() const { return m_snsConfiguration; }
39 inline bool SnsConfigurationHasBeenSet() const { return m_snsConfigurationHasBeenSet; }
40 template <typename SnsConfigurationT = SnsConfiguration>
41 void SetSnsConfiguration(SnsConfigurationT&& value) {
42 m_snsConfigurationHasBeenSet = true;
43 m_snsConfiguration = std::forward<SnsConfigurationT>(value);
44 }
45 template <typename SnsConfigurationT = SnsConfiguration>
47 SetSnsConfiguration(std::forward<SnsConfigurationT>(value));
48 return *this;
49 }
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) {
62 m_roleArnHasBeenSet = true;
63 m_roleArn = std::forward<RoleArnT>(value);
64 }
65 template <typename RoleArnT = Aws::String>
67 SetRoleArn(std::forward<RoleArnT>(value));
68 return *this;
69 }
71 private:
72 SnsConfiguration m_snsConfiguration;
73
74 Aws::String m_roleArn;
75 bool m_snsConfigurationHasBeenSet = false;
76 bool m_roleArnHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace TimestreamQuery
81} // 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