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/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() = default;
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 template<typename AutoScalingGroupNameT = Aws::String>
49 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value); }
50 template<typename AutoScalingGroupNameT = Aws::String>
51 NotificationConfiguration& WithAutoScalingGroupName(AutoScalingGroupNameT&& value) { SetAutoScalingGroupName(std::forward<AutoScalingGroupNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetTopicARN() const { return m_topicARN; }
59 inline bool TopicARNHasBeenSet() const { return m_topicARNHasBeenSet; }
60 template<typename TopicARNT = Aws::String>
61 void SetTopicARN(TopicARNT&& value) { m_topicARNHasBeenSet = true; m_topicARN = std::forward<TopicARNT>(value); }
62 template<typename TopicARNT = Aws::String>
63 NotificationConfiguration& WithTopicARN(TopicARNT&& value) { SetTopicARN(std::forward<TopicARNT>(value)); return *this;}
65
67
75 inline const Aws::String& GetNotificationType() const { return m_notificationType; }
76 inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
77 template<typename NotificationTypeT = Aws::String>
78 void SetNotificationType(NotificationTypeT&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = std::forward<NotificationTypeT>(value); }
79 template<typename NotificationTypeT = Aws::String>
80 NotificationConfiguration& WithNotificationType(NotificationTypeT&& value) { SetNotificationType(std::forward<NotificationTypeT>(value)); return *this;}
82 private:
83
84 Aws::String m_autoScalingGroupName;
85 bool m_autoScalingGroupNameHasBeenSet = false;
86
87 Aws::String m_topicARN;
88 bool m_topicARNHasBeenSet = false;
89
90 Aws::String m_notificationType;
91 bool m_notificationTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace AutoScaling
96} // namespace Aws
AWS_AUTOSCALING_API NotificationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
NotificationConfiguration & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
AWS_AUTOSCALING_API NotificationConfiguration()=default
NotificationConfiguration & WithNotificationType(NotificationTypeT &&value)
NotificationConfiguration & WithTopicARN(TopicARNT &&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
AWS_AUTOSCALING_API NotificationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream