AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
44 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
45 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
46 inline UpdateScheduledActionRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
47 inline UpdateScheduledActionRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
48 inline UpdateScheduledActionRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
50
52
58 inline const Aws::String& GetActionID() const{ return m_actionID; }
59 inline bool ActionIDHasBeenSet() const { return m_actionIDHasBeenSet; }
60 inline void SetActionID(const Aws::String& value) { m_actionIDHasBeenSet = true; m_actionID = value; }
61 inline void SetActionID(Aws::String&& value) { m_actionIDHasBeenSet = true; m_actionID = std::move(value); }
62 inline void SetActionID(const char* value) { m_actionIDHasBeenSet = true; m_actionID.assign(value); }
63 inline UpdateScheduledActionRequest& WithActionID(const Aws::String& value) { SetActionID(value); return *this;}
64 inline UpdateScheduledActionRequest& WithActionID(Aws::String&& value) { SetActionID(std::move(value)); return *this;}
65 inline UpdateScheduledActionRequest& WithActionID(const char* value) { SetActionID(value); return *this;}
67
69
76 inline const ActionType& GetActionType() const{ return m_actionType; }
77 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
78 inline void SetActionType(const ActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
79 inline void SetActionType(ActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
80 inline UpdateScheduledActionRequest& WithActionType(const ActionType& value) { SetActionType(value); return *this;}
81 inline UpdateScheduledActionRequest& WithActionType(ActionType&& value) { SetActionType(std::move(value)); return *this;}
83
85
96 inline const ScheduleAt& GetScheduleAt() const{ return m_scheduleAt; }
97 inline bool ScheduleAtHasBeenSet() const { return m_scheduleAtHasBeenSet; }
98 inline void SetScheduleAt(const ScheduleAt& value) { m_scheduleAtHasBeenSet = true; m_scheduleAt = value; }
99 inline void SetScheduleAt(ScheduleAt&& value) { m_scheduleAtHasBeenSet = true; m_scheduleAt = std::move(value); }
100 inline UpdateScheduledActionRequest& WithScheduleAt(const ScheduleAt& value) { SetScheduleAt(value); return *this;}
101 inline UpdateScheduledActionRequest& WithScheduleAt(ScheduleAt&& value) { SetScheduleAt(std::move(value)); return *this;}
103
105
110 inline long long GetDesiredStartTime() const{ return m_desiredStartTime; }
111 inline bool DesiredStartTimeHasBeenSet() const { return m_desiredStartTimeHasBeenSet; }
112 inline void SetDesiredStartTime(long long value) { m_desiredStartTimeHasBeenSet = true; m_desiredStartTime = value; }
113 inline UpdateScheduledActionRequest& WithDesiredStartTime(long long value) { SetDesiredStartTime(value); return *this;}
115 private:
116
117 Aws::String m_domainName;
118 bool m_domainNameHasBeenSet = false;
119
120 Aws::String m_actionID;
121 bool m_actionIDHasBeenSet = false;
122
123 ActionType m_actionType;
124 bool m_actionTypeHasBeenSet = false;
125
126 ScheduleAt m_scheduleAt;
127 bool m_scheduleAtHasBeenSet = false;
128
129 long long m_desiredStartTime;
130 bool m_desiredStartTimeHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace OpenSearchService
135} // namespace Aws
UpdateScheduledActionRequest & WithScheduleAt(ScheduleAt &&value)
UpdateScheduledActionRequest & WithActionID(const char *value)
UpdateScheduledActionRequest & WithDomainName(const char *value)
UpdateScheduledActionRequest & WithDesiredStartTime(long long value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdateScheduledActionRequest & WithScheduleAt(const ScheduleAt &value)
UpdateScheduledActionRequest & WithActionID(const Aws::String &value)
UpdateScheduledActionRequest & WithDomainName(const Aws::String &value)
UpdateScheduledActionRequest & WithActionType(const ActionType &value)
UpdateScheduledActionRequest & WithActionID(Aws::String &&value)
UpdateScheduledActionRequest & WithDomainName(Aws::String &&value)
UpdateScheduledActionRequest & WithActionType(ActionType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String