AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NotificationConfiguration.h
1
6#pragma once
7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 DAX
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_DAX_API NotificationConfiguration() = default;
40
41
43
46 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
47 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
48 template<typename TopicArnT = Aws::String>
49 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::forward<TopicArnT>(value); }
50 template<typename TopicArnT = Aws::String>
51 NotificationConfiguration& WithTopicArn(TopicArnT&& value) { SetTopicArn(std::forward<TopicArnT>(value)); return *this;}
53
55
60 inline const Aws::String& GetTopicStatus() const { return m_topicStatus; }
61 inline bool TopicStatusHasBeenSet() const { return m_topicStatusHasBeenSet; }
62 template<typename TopicStatusT = Aws::String>
63 void SetTopicStatus(TopicStatusT&& value) { m_topicStatusHasBeenSet = true; m_topicStatus = std::forward<TopicStatusT>(value); }
64 template<typename TopicStatusT = Aws::String>
65 NotificationConfiguration& WithTopicStatus(TopicStatusT&& value) { SetTopicStatus(std::forward<TopicStatusT>(value)); return *this;}
67 private:
68
69 Aws::String m_topicArn;
70 bool m_topicArnHasBeenSet = false;
71
72 Aws::String m_topicStatus;
73 bool m_topicStatusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DAX
78} // namespace Aws
NotificationConfiguration & WithTopicArn(TopicArnT &&value)
AWS_DAX_API NotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
NotificationConfiguration & WithTopicStatus(TopicStatusT &&value)
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DAX_API NotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DAX_API NotificationConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue