AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeScheduledActionsResult.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/ScheduledUpdateGroupAction.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 DescribeScheduledActionsResult() = default;
36
37
39
42 inline const Aws::Vector<ScheduledUpdateGroupAction>& GetScheduledUpdateGroupActions() const { return m_scheduledUpdateGroupActions; }
43 template<typename ScheduledUpdateGroupActionsT = Aws::Vector<ScheduledUpdateGroupAction>>
44 void SetScheduledUpdateGroupActions(ScheduledUpdateGroupActionsT&& value) { m_scheduledUpdateGroupActionsHasBeenSet = true; m_scheduledUpdateGroupActions = std::forward<ScheduledUpdateGroupActionsT>(value); }
45 template<typename ScheduledUpdateGroupActionsT = Aws::Vector<ScheduledUpdateGroupAction>>
46 DescribeScheduledActionsResult& WithScheduledUpdateGroupActions(ScheduledUpdateGroupActionsT&& value) { SetScheduledUpdateGroupActions(std::forward<ScheduledUpdateGroupActionsT>(value)); return *this;}
47 template<typename ScheduledUpdateGroupActionsT = ScheduledUpdateGroupAction>
48 DescribeScheduledActionsResult& AddScheduledUpdateGroupActions(ScheduledUpdateGroupActionsT&& value) { m_scheduledUpdateGroupActionsHasBeenSet = true; m_scheduledUpdateGroupActions.emplace_back(std::forward<ScheduledUpdateGroupActionsT>(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 DescribeScheduledActionsResult& 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 DescribeScheduledActionsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
73 private:
74
75 Aws::Vector<ScheduledUpdateGroupAction> m_scheduledUpdateGroupActions;
76 bool m_scheduledUpdateGroupActionsHasBeenSet = 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
DescribeScheduledActionsResult & WithScheduledUpdateGroupActions(ScheduledUpdateGroupActionsT &&value)
AWS_AUTOSCALING_API DescribeScheduledActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeScheduledActionsResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< ScheduledUpdateGroupAction > & GetScheduledUpdateGroupActions() const
AWS_AUTOSCALING_API DescribeScheduledActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetScheduledUpdateGroupActions(ScheduledUpdateGroupActionsT &&value)
DescribeScheduledActionsResult & WithNextToken(NextTokenT &&value)
DescribeScheduledActionsResult & AddScheduledUpdateGroupActions(ScheduledUpdateGroupActionsT &&value)
AWS_AUTOSCALING_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