AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeNotificationConfigurationsResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/autoscaling/model/ResponseMetadata.h>
11#include <aws/autoscaling/model/NotificationConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace AutoScaling
27{
28namespace Model
29{
31 {
32 public:
33 AWS_AUTOSCALING_API DescribeNotificationConfigurationsResult() = default;
36
37
39
42 inline const Aws::Vector<NotificationConfiguration>& GetNotificationConfigurations() const { return m_notificationConfigurations; }
43 template<typename NotificationConfigurationsT = Aws::Vector<NotificationConfiguration>>
44 void SetNotificationConfigurations(NotificationConfigurationsT&& value) { m_notificationConfigurationsHasBeenSet = true; m_notificationConfigurations = std::forward<NotificationConfigurationsT>(value); }
45 template<typename NotificationConfigurationsT = Aws::Vector<NotificationConfiguration>>
46 DescribeNotificationConfigurationsResult& WithNotificationConfigurations(NotificationConfigurationsT&& value) { SetNotificationConfigurations(std::forward<NotificationConfigurationsT>(value)); return *this;}
47 template<typename NotificationConfigurationsT = NotificationConfiguration>
48 DescribeNotificationConfigurationsResult& AddNotificationConfigurations(NotificationConfigurationsT&& value) { m_notificationConfigurationsHasBeenSet = true; m_notificationConfigurations.emplace_back(std::forward<NotificationConfigurationsT>(value)); return *this; }
50
52
58 inline const Aws::String& GetNextToken() const { return m_nextToken; }
59 template<typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<typename NextTokenT = Aws::String>
62 DescribeNotificationConfigurationsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
64
66
67 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
68 template<typename ResponseMetadataT = ResponseMetadata>
69 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
70 template<typename ResponseMetadataT = ResponseMetadata>
71 DescribeNotificationConfigurationsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
73 private:
74
75 Aws::Vector<NotificationConfiguration> m_notificationConfigurations;
76 bool m_notificationConfigurationsHasBeenSet = false;
77
78 Aws::String m_nextToken;
79 bool m_nextTokenHasBeenSet = false;
80
81 ResponseMetadata m_responseMetadata;
82 bool m_responseMetadataHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace AutoScaling
87} // namespace Aws
const Aws::Vector< NotificationConfiguration > & GetNotificationConfigurations() const
AWS_AUTOSCALING_API DescribeNotificationConfigurationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeNotificationConfigurationsResult & AddNotificationConfigurations(NotificationConfigurationsT &&value)
DescribeNotificationConfigurationsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_AUTOSCALING_API DescribeNotificationConfigurationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeNotificationConfigurationsResult & WithNotificationConfigurations(NotificationConfigurationsT &&value)
DescribeNotificationConfigurationsResult & WithNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument