AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
47 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
48 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
49 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
50 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
51 inline NotificationConfiguration& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
52 inline NotificationConfiguration& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
53 inline NotificationConfiguration& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
55
57
62 inline const Aws::String& GetTopicStatus() const{ return m_topicStatus; }
63 inline bool TopicStatusHasBeenSet() const { return m_topicStatusHasBeenSet; }
64 inline void SetTopicStatus(const Aws::String& value) { m_topicStatusHasBeenSet = true; m_topicStatus = value; }
65 inline void SetTopicStatus(Aws::String&& value) { m_topicStatusHasBeenSet = true; m_topicStatus = std::move(value); }
66 inline void SetTopicStatus(const char* value) { m_topicStatusHasBeenSet = true; m_topicStatus.assign(value); }
67 inline NotificationConfiguration& WithTopicStatus(const Aws::String& value) { SetTopicStatus(value); return *this;}
68 inline NotificationConfiguration& WithTopicStatus(Aws::String&& value) { SetTopicStatus(std::move(value)); return *this;}
69 inline NotificationConfiguration& WithTopicStatus(const char* value) { SetTopicStatus(value); return *this;}
71 private:
72
73 Aws::String m_topicArn;
74 bool m_topicArnHasBeenSet = false;
75
76 Aws::String m_topicStatus;
77 bool m_topicStatusHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace DAX
82} // namespace Aws
AWS_DAX_API NotificationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationConfiguration & WithTopicArn(const Aws::String &value)
NotificationConfiguration & WithTopicArn(const char *value)
AWS_DAX_API NotificationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NotificationConfiguration & WithTopicStatus(const char *value)
NotificationConfiguration & WithTopicArn(Aws::String &&value)
NotificationConfiguration & WithTopicStatus(const Aws::String &value)
NotificationConfiguration & WithTopicStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue