AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StartServiceSoftwareUpdateRequest.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/ScheduleAt.h>
11
12#include <utility>
13
14namespace Aws {
15namespace OpenSearchService {
16namespace Model {
17
25 public:
26 AWS_OPENSEARCHSERVICE_API StartServiceSoftwareUpdateRequest() = 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 "StartServiceSoftwareUpdate"; }
33
34 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
35
37
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) {
45 m_domainNameHasBeenSet = true;
46 m_domainName = std::forward<DomainNameT>(value);
47 }
48 template <typename DomainNameT = Aws::String>
50 SetDomainName(std::forward<DomainNameT>(value));
51 return *this;
52 }
54
56
69 inline ScheduleAt GetScheduleAt() const { return m_scheduleAt; }
70 inline bool ScheduleAtHasBeenSet() const { return m_scheduleAtHasBeenSet; }
71 inline void SetScheduleAt(ScheduleAt value) {
72 m_scheduleAtHasBeenSet = true;
73 m_scheduleAt = value;
74 }
76 SetScheduleAt(value);
77 return *this;
78 }
80
82
87 inline long long GetDesiredStartTime() const { return m_desiredStartTime; }
88 inline bool DesiredStartTimeHasBeenSet() const { return m_desiredStartTimeHasBeenSet; }
89 inline void SetDesiredStartTime(long long value) {
90 m_desiredStartTimeHasBeenSet = true;
91 m_desiredStartTime = value;
92 }
95 return *this;
96 }
98 private:
99 Aws::String m_domainName;
100
101 ScheduleAt m_scheduleAt{ScheduleAt::NOT_SET};
102
103 long long m_desiredStartTime{0};
104 bool m_domainNameHasBeenSet = false;
105 bool m_scheduleAtHasBeenSet = false;
106 bool m_desiredStartTimeHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace OpenSearchService
111} // namespace Aws
StartServiceSoftwareUpdateRequest & WithScheduleAt(ScheduleAt value)
StartServiceSoftwareUpdateRequest & WithDesiredStartTime(long long value)
AWS_OPENSEARCHSERVICE_API StartServiceSoftwareUpdateRequest()=default
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
StartServiceSoftwareUpdateRequest & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String