AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateScheduledActionRequest.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/ActionType.h>
11#include <aws/opensearch/model/ScheduleAt.h>
12#include <utility>
13
14namespace Aws
15{
16namespace OpenSearchService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_OPENSEARCHSERVICE_API UpdateScheduledActionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateScheduledAction"; }
33
34 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDomainName() const { return m_domainName; }
42 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
43 template<typename DomainNameT = Aws::String>
44 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
45 template<typename DomainNameT = Aws::String>
46 UpdateScheduledActionRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
48
50
56 inline const Aws::String& GetActionID() const { return m_actionID; }
57 inline bool ActionIDHasBeenSet() const { return m_actionIDHasBeenSet; }
58 template<typename ActionIDT = Aws::String>
59 void SetActionID(ActionIDT&& value) { m_actionIDHasBeenSet = true; m_actionID = std::forward<ActionIDT>(value); }
60 template<typename ActionIDT = Aws::String>
61 UpdateScheduledActionRequest& WithActionID(ActionIDT&& value) { SetActionID(std::forward<ActionIDT>(value)); return *this;}
63
65
72 inline ActionType GetActionType() const { return m_actionType; }
73 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
74 inline void SetActionType(ActionType value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
77
79
90 inline ScheduleAt GetScheduleAt() const { return m_scheduleAt; }
91 inline bool ScheduleAtHasBeenSet() const { return m_scheduleAtHasBeenSet; }
92 inline void SetScheduleAt(ScheduleAt value) { m_scheduleAtHasBeenSet = true; m_scheduleAt = value; }
95
97
102 inline long long GetDesiredStartTime() const { return m_desiredStartTime; }
103 inline bool DesiredStartTimeHasBeenSet() const { return m_desiredStartTimeHasBeenSet; }
104 inline void SetDesiredStartTime(long long value) { m_desiredStartTimeHasBeenSet = true; m_desiredStartTime = value; }
105 inline UpdateScheduledActionRequest& WithDesiredStartTime(long long value) { SetDesiredStartTime(value); return *this;}
107 private:
108
109 Aws::String m_domainName;
110 bool m_domainNameHasBeenSet = false;
111
112 Aws::String m_actionID;
113 bool m_actionIDHasBeenSet = false;
114
115 ActionType m_actionType{ActionType::NOT_SET};
116 bool m_actionTypeHasBeenSet = false;
117
118 ScheduleAt m_scheduleAt{ScheduleAt::NOT_SET};
119 bool m_scheduleAtHasBeenSet = false;
120
121 long long m_desiredStartTime{0};
122 bool m_desiredStartTimeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace OpenSearchService
127} // 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