AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeNotificationConfigurationsResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/NotificationConfiguration.h>
9#include <aws/autoscaling/model/ResponseMetadata.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace AutoScaling {
26namespace Model {
28 public:
29 AWS_AUTOSCALING_API DescribeNotificationConfigurationsResult() = default;
33
35
38 inline const Aws::Vector<NotificationConfiguration>& GetNotificationConfigurations() const { return m_notificationConfigurations; }
39 template <typename NotificationConfigurationsT = Aws::Vector<NotificationConfiguration>>
40 void SetNotificationConfigurations(NotificationConfigurationsT&& value) {
41 m_notificationConfigurationsHasBeenSet = true;
42 m_notificationConfigurations = std::forward<NotificationConfigurationsT>(value);
43 }
44 template <typename NotificationConfigurationsT = Aws::Vector<NotificationConfiguration>>
46 SetNotificationConfigurations(std::forward<NotificationConfigurationsT>(value));
47 return *this;
48 }
49 template <typename NotificationConfigurationsT = NotificationConfiguration>
51 m_notificationConfigurationsHasBeenSet = true;
52 m_notificationConfigurations.emplace_back(std::forward<NotificationConfigurationsT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::String& GetNextToken() const { return m_nextToken; }
65 template <typename NextTokenT = Aws::String>
66 void SetNextToken(NextTokenT&& value) {
67 m_nextTokenHasBeenSet = true;
68 m_nextToken = std::forward<NextTokenT>(value);
69 }
70 template <typename NextTokenT = Aws::String>
72 SetNextToken(std::forward<NextTokenT>(value));
73 return *this;
74 }
76
78
79 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
80 template <typename ResponseMetadataT = ResponseMetadata>
81 void SetResponseMetadata(ResponseMetadataT&& value) {
82 m_responseMetadataHasBeenSet = true;
83 m_responseMetadata = std::forward<ResponseMetadataT>(value);
84 }
85 template <typename ResponseMetadataT = ResponseMetadata>
87 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
88 return *this;
89 }
91 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
92
93 private:
94 Aws::Vector<NotificationConfiguration> m_notificationConfigurations;
95
96 Aws::String m_nextToken;
97
98 ResponseMetadata m_responseMetadata;
99 Aws::Http::HttpResponseCode m_HttpResponseCode;
100 bool m_notificationConfigurationsHasBeenSet = false;
101 bool m_nextTokenHasBeenSet = false;
102 bool m_responseMetadataHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace AutoScaling
107} // 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