AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateScheduledActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/ActionType.h>
11#include <aws/opensearch/model/ScheduleAt.h>
12
13#include <utility>
14
15namespace Aws {
16namespace OpenSearchService {
17namespace Model {
18
22 public:
23 AWS_OPENSEARCHSERVICE_API UpdateScheduledActionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateScheduledAction"; }
30
31 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetDomainName() const { return m_domainName; }
38 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
39 template <typename DomainNameT = Aws::String>
40 void SetDomainName(DomainNameT&& value) {
41 m_domainNameHasBeenSet = true;
42 m_domainName = std::forward<DomainNameT>(value);
43 }
44 template <typename DomainNameT = Aws::String>
46 SetDomainName(std::forward<DomainNameT>(value));
47 return *this;
48 }
50
52
58 inline const Aws::String& GetActionID() const { return m_actionID; }
59 inline bool ActionIDHasBeenSet() const { return m_actionIDHasBeenSet; }
60 template <typename ActionIDT = Aws::String>
61 void SetActionID(ActionIDT&& value) {
62 m_actionIDHasBeenSet = true;
63 m_actionID = std::forward<ActionIDT>(value);
64 }
65 template <typename ActionIDT = Aws::String>
67 SetActionID(std::forward<ActionIDT>(value));
68 return *this;
69 }
71
73
80 inline ActionType GetActionType() const { return m_actionType; }
81 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
82 inline void SetActionType(ActionType value) {
83 m_actionTypeHasBeenSet = true;
84 m_actionType = value;
85 }
87 SetActionType(value);
88 return *this;
89 }
91
93
104 inline ScheduleAt GetScheduleAt() const { return m_scheduleAt; }
105 inline bool ScheduleAtHasBeenSet() const { return m_scheduleAtHasBeenSet; }
106 inline void SetScheduleAt(ScheduleAt value) {
107 m_scheduleAtHasBeenSet = true;
108 m_scheduleAt = value;
109 }
111 SetScheduleAt(value);
112 return *this;
113 }
115
117
122 inline long long GetDesiredStartTime() const { return m_desiredStartTime; }
123 inline bool DesiredStartTimeHasBeenSet() const { return m_desiredStartTimeHasBeenSet; }
124 inline void SetDesiredStartTime(long long value) {
125 m_desiredStartTimeHasBeenSet = true;
126 m_desiredStartTime = value;
127 }
129 SetDesiredStartTime(value);
130 return *this;
131 }
133 private:
134 Aws::String m_domainName;
135
136 Aws::String m_actionID;
137
138 ActionType m_actionType{ActionType::NOT_SET};
139
140 ScheduleAt m_scheduleAt{ScheduleAt::NOT_SET};
141
142 long long m_desiredStartTime{0};
143 bool m_domainNameHasBeenSet = false;
144 bool m_actionIDHasBeenSet = false;
145 bool m_actionTypeHasBeenSet = false;
146 bool m_scheduleAtHasBeenSet = false;
147 bool m_desiredStartTimeHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace OpenSearchService
152} // namespace Aws
UpdateScheduledActionRequest & WithDomainName(DomainNameT &&value)
UpdateScheduledActionRequest & WithDesiredStartTime(long long value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdateScheduledActionRequest & WithActionType(ActionType value)
UpdateScheduledActionRequest & WithScheduleAt(ScheduleAt value)
AWS_OPENSEARCHSERVICE_API UpdateScheduledActionRequest()=default
UpdateScheduledActionRequest & WithActionID(ActionIDT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String