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/autoscaling/AutoScaling_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 AutoScaling
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AUTOSCALING_API NotificationConfiguration();
35 AWS_AUTOSCALING_API NotificationConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_AUTOSCALING_API NotificationConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
47 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
48 inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
49 inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
50 inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
53 inline NotificationConfiguration& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
55
57
60 inline const Aws::String& GetTopicARN() const{ return m_topicARN; }
61 inline bool TopicARNHasBeenSet() const { return m_topicARNHasBeenSet; }
62 inline void SetTopicARN(const Aws::String& value) { m_topicARNHasBeenSet = true; m_topicARN = value; }
63 inline void SetTopicARN(Aws::String&& value) { m_topicARNHasBeenSet = true; m_topicARN = std::move(value); }
64 inline void SetTopicARN(const char* value) { m_topicARNHasBeenSet = true; m_topicARN.assign(value); }
65 inline NotificationConfiguration& WithTopicARN(const Aws::String& value) { SetTopicARN(value); return *this;}
66 inline NotificationConfiguration& WithTopicARN(Aws::String&& value) { SetTopicARN(std::move(value)); return *this;}
67 inline NotificationConfiguration& WithTopicARN(const char* value) { SetTopicARN(value); return *this;}
69
71
79 inline const Aws::String& GetNotificationType() const{ return m_notificationType; }
80 inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
81 inline void SetNotificationType(const Aws::String& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
82 inline void SetNotificationType(Aws::String&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = std::move(value); }
83 inline void SetNotificationType(const char* value) { m_notificationTypeHasBeenSet = true; m_notificationType.assign(value); }
85 inline NotificationConfiguration& WithNotificationType(Aws::String&& value) { SetNotificationType(std::move(value)); return *this;}
86 inline NotificationConfiguration& WithNotificationType(const char* value) { SetNotificationType(value); return *this;}
88 private:
89
90 Aws::String m_autoScalingGroupName;
91 bool m_autoScalingGroupNameHasBeenSet = false;
92
93 Aws::String m_topicARN;
94 bool m_topicARNHasBeenSet = false;
95
96 Aws::String m_notificationType;
97 bool m_notificationTypeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace AutoScaling
102} // namespace Aws
AWS_AUTOSCALING_API NotificationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
NotificationConfiguration & WithNotificationType(const Aws::String &value)
NotificationConfiguration & WithNotificationType(const char *value)
NotificationConfiguration & WithAutoScalingGroupName(const Aws::String &value)
NotificationConfiguration & WithTopicARN(Aws::String &&value)
NotificationConfiguration & WithTopicARN(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NotificationConfiguration & WithTopicARN(const char *value)
AWS_AUTOSCALING_API NotificationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NotificationConfiguration & WithAutoScalingGroupName(Aws::String &&value)
NotificationConfiguration & WithNotificationType(Aws::String &&value)
NotificationConfiguration & WithAutoScalingGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream