AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeScheduledActionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/ScheduledAction.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift {
25namespace Model {
27 public:
28 AWS_REDSHIFT_API DescribeScheduledActionsResult() = default;
31
33
41 inline const Aws::String& GetMarker() const { return m_marker; }
42 template <typename MarkerT = Aws::String>
43 void SetMarker(MarkerT&& value) {
44 m_markerHasBeenSet = true;
45 m_marker = std::forward<MarkerT>(value);
46 }
47 template <typename MarkerT = Aws::String>
49 SetMarker(std::forward<MarkerT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<ScheduledAction>& GetScheduledActions() const { return m_scheduledActions; }
59 template <typename ScheduledActionsT = Aws::Vector<ScheduledAction>>
60 void SetScheduledActions(ScheduledActionsT&& value) {
61 m_scheduledActionsHasBeenSet = true;
62 m_scheduledActions = std::forward<ScheduledActionsT>(value);
63 }
64 template <typename ScheduledActionsT = Aws::Vector<ScheduledAction>>
66 SetScheduledActions(std::forward<ScheduledActionsT>(value));
67 return *this;
68 }
69 template <typename ScheduledActionsT = ScheduledAction>
71 m_scheduledActionsHasBeenSet = true;
72 m_scheduledActions.emplace_back(std::forward<ScheduledActionsT>(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 private:
92 Aws::String m_marker;
93
94 Aws::Vector<ScheduledAction> m_scheduledActions;
95
96 ResponseMetadata m_responseMetadata;
97 bool m_markerHasBeenSet = false;
98 bool m_scheduledActionsHasBeenSet = false;
99 bool m_responseMetadataHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Redshift
104} // namespace Aws
DescribeScheduledActionsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeScheduledActionsResult & AddScheduledActions(ScheduledActionsT &&value)
DescribeScheduledActionsResult & WithScheduledActions(ScheduledActionsT &&value)
const Aws::Vector< ScheduledAction > & GetScheduledActions() const
AWS_REDSHIFT_API DescribeScheduledActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeScheduledActionsResult & WithMarker(MarkerT &&value)
AWS_REDSHIFT_API DescribeScheduledActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API DescribeScheduledActionsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument