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/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElastiCache
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_ELASTICACHE_API NotificationConfiguration();
37 AWS_ELASTICACHE_API NotificationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICACHE_API NotificationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
49 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
50 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
51 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
52 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
53 inline NotificationConfiguration& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
54 inline NotificationConfiguration& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
55 inline NotificationConfiguration& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
57
59
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 ElastiCache
82} // namespace Aws
NotificationConfiguration & WithTopicArn(const Aws::String &value)
NotificationConfiguration & WithTopicArn(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API NotificationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
NotificationConfiguration & WithTopicStatus(Aws::String &&value)
NotificationConfiguration & WithTopicStatus(const Aws::String &value)
NotificationConfiguration & WithTopicArn(const char *value)
AWS_ELASTICACHE_API NotificationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NotificationConfiguration & WithTopicStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream