AWS SDK for C++  1.9.106
AWS SDK for C++
NotificationConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace AutoScaling
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
46 
50  inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
51 
55  inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
56 
60  inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
61 
65  inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
66 
70  inline NotificationConfiguration& WithAutoScalingGroupName(const Aws::String& value) { SetAutoScalingGroupName(value); return *this;}
71 
75  inline NotificationConfiguration& WithAutoScalingGroupName(Aws::String&& value) { SetAutoScalingGroupName(std::move(value)); return *this;}
76 
80  inline NotificationConfiguration& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
81 
82 
87  inline const Aws::String& GetTopicARN() const{ return m_topicARN; }
88 
93  inline bool TopicARNHasBeenSet() const { return m_topicARNHasBeenSet; }
94 
99  inline void SetTopicARN(const Aws::String& value) { m_topicARNHasBeenSet = true; m_topicARN = value; }
100 
105  inline void SetTopicARN(Aws::String&& value) { m_topicARNHasBeenSet = true; m_topicARN = std::move(value); }
106 
111  inline void SetTopicARN(const char* value) { m_topicARNHasBeenSet = true; m_topicARN.assign(value); }
112 
117  inline NotificationConfiguration& WithTopicARN(const Aws::String& value) { SetTopicARN(value); return *this;}
118 
123  inline NotificationConfiguration& WithTopicARN(Aws::String&& value) { SetTopicARN(std::move(value)); return *this;}
124 
129  inline NotificationConfiguration& WithTopicARN(const char* value) { SetTopicARN(value); return *this;}
130 
131 
140  inline const Aws::String& GetNotificationType() const{ return m_notificationType; }
141 
150  inline bool NotificationTypeHasBeenSet() const { return m_notificationTypeHasBeenSet; }
151 
160  inline void SetNotificationType(const Aws::String& value) { m_notificationTypeHasBeenSet = true; m_notificationType = value; }
161 
170  inline void SetNotificationType(Aws::String&& value) { m_notificationTypeHasBeenSet = true; m_notificationType = std::move(value); }
171 
180  inline void SetNotificationType(const char* value) { m_notificationTypeHasBeenSet = true; m_notificationType.assign(value); }
181 
190  inline NotificationConfiguration& WithNotificationType(const Aws::String& value) { SetNotificationType(value); return *this;}
191 
200  inline NotificationConfiguration& WithNotificationType(Aws::String&& value) { SetNotificationType(std::move(value)); return *this;}
201 
210  inline NotificationConfiguration& WithNotificationType(const char* value) { SetNotificationType(value); return *this;}
211 
212  private:
213 
214  Aws::String m_autoScalingGroupName;
215  bool m_autoScalingGroupNameHasBeenSet;
216 
217  Aws::String m_topicARN;
218  bool m_topicARNHasBeenSet;
219 
220  Aws::String m_notificationType;
221  bool m_notificationTypeHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace AutoScaling
226 } // namespace Aws
Aws::AutoScaling::Model::NotificationConfiguration::NotificationConfiguration
NotificationConfiguration()
Aws::AutoScaling::Model::NotificationConfiguration::GetAutoScalingGroupName
const Aws::String & GetAutoScalingGroupName() const
Definition: NotificationConfiguration.h:45
Aws::AutoScaling::Model::NotificationConfiguration::AutoScalingGroupNameHasBeenSet
bool AutoScalingGroupNameHasBeenSet() const
Definition: NotificationConfiguration.h:50
Aws::AutoScaling::Model::NotificationConfiguration::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::AutoScaling::Model::NotificationConfiguration::WithAutoScalingGroupName
NotificationConfiguration & WithAutoScalingGroupName(const Aws::String &value)
Definition: NotificationConfiguration.h:70
Aws::AutoScaling::Model::NotificationConfiguration::NotificationTypeHasBeenSet
bool NotificationTypeHasBeenSet() const
Definition: NotificationConfiguration.h:150
Aws::AutoScaling::Model::NotificationConfiguration::SetNotificationType
void SetNotificationType(const char *value)
Definition: NotificationConfiguration.h:180
Aws::AutoScaling::Model::NotificationConfiguration::WithTopicARN
NotificationConfiguration & WithTopicARN(const char *value)
Definition: NotificationConfiguration.h:129
AWSStreamFwd.h
Aws::AutoScaling::Model::NotificationConfiguration::GetNotificationType
const Aws::String & GetNotificationType() const
Definition: NotificationConfiguration.h:140
Aws::AutoScaling::Model::NotificationConfiguration::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::AutoScaling::Model::NotificationConfiguration::WithAutoScalingGroupName
NotificationConfiguration & WithAutoScalingGroupName(Aws::String &&value)
Definition: NotificationConfiguration.h:75
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::AutoScaling::Model::NotificationConfiguration::WithNotificationType
NotificationConfiguration & WithNotificationType(Aws::String &&value)
Definition: NotificationConfiguration.h:200
Aws::AutoScaling::Model::NotificationConfiguration::SetNotificationType
void SetNotificationType(Aws::String &&value)
Definition: NotificationConfiguration.h:170
Aws::AutoScaling::Model::NotificationConfiguration::TopicARNHasBeenSet
bool TopicARNHasBeenSet() const
Definition: NotificationConfiguration.h:93
Aws::AutoScaling::Model::NotificationConfiguration::WithTopicARN
NotificationConfiguration & WithTopicARN(Aws::String &&value)
Definition: NotificationConfiguration.h:123
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::NotificationConfiguration::operator=
NotificationConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::NotificationConfiguration::WithNotificationType
NotificationConfiguration & WithNotificationType(const Aws::String &value)
Definition: NotificationConfiguration.h:190
AWSString.h
Aws::AutoScaling::Model::NotificationConfiguration::NotificationConfiguration
NotificationConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::NotificationConfiguration::WithNotificationType
NotificationConfiguration & WithNotificationType(const char *value)
Definition: NotificationConfiguration.h:210
Aws::AutoScaling::Model::NotificationConfiguration::SetTopicARN
void SetTopicARN(const char *value)
Definition: NotificationConfiguration.h:111
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::NotificationConfiguration::SetAutoScalingGroupName
void SetAutoScalingGroupName(Aws::String &&value)
Definition: NotificationConfiguration.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::NotificationConfiguration::SetAutoScalingGroupName
void SetAutoScalingGroupName(const Aws::String &value)
Definition: NotificationConfiguration.h:55
Aws::AutoScaling::Model::NotificationConfiguration::WithAutoScalingGroupName
NotificationConfiguration & WithAutoScalingGroupName(const char *value)
Definition: NotificationConfiguration.h:80
Aws::AutoScaling::Model::NotificationConfiguration::SetAutoScalingGroupName
void SetAutoScalingGroupName(const char *value)
Definition: NotificationConfiguration.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AutoScaling::Model::NotificationConfiguration::WithTopicARN
NotificationConfiguration & WithTopicARN(const Aws::String &value)
Definition: NotificationConfiguration.h:117
index
int index
Definition: cJSON.h:181
Aws::AutoScaling::Model::NotificationConfiguration
Definition: NotificationConfiguration.h:32
Aws::AutoScaling::Model::NotificationConfiguration::GetTopicARN
const Aws::String & GetTopicARN() const
Definition: NotificationConfiguration.h:87
Aws::AutoScaling::Model::NotificationConfiguration::SetTopicARN
void SetTopicARN(Aws::String &&value)
Definition: NotificationConfiguration.h:105
Aws::AutoScaling::Model::NotificationConfiguration::SetTopicARN
void SetTopicARN(const Aws::String &value)
Definition: NotificationConfiguration.h:99
Aws::AutoScaling::Model::NotificationConfiguration::SetNotificationType
void SetNotificationType(const Aws::String &value)
Definition: NotificationConfiguration.h:160