AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartServiceSoftwareUpdateRequest.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/ScheduleAt.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpenSearchService
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_OPENSEARCHSERVICE_API StartServiceSoftwareUpdateRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "StartServiceSoftwareUpdate"; }
36
37 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetDomainName() const { return m_domainName; }
46 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 template<typename DomainNameT = Aws::String>
48 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
49 template<typename DomainNameT = Aws::String>
50 StartServiceSoftwareUpdateRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
52
54
67 inline ScheduleAt GetScheduleAt() const { return m_scheduleAt; }
68 inline bool ScheduleAtHasBeenSet() const { return m_scheduleAtHasBeenSet; }
69 inline void SetScheduleAt(ScheduleAt value) { m_scheduleAtHasBeenSet = true; m_scheduleAt = value; }
72
74
79 inline long long GetDesiredStartTime() const { return m_desiredStartTime; }
80 inline bool DesiredStartTimeHasBeenSet() const { return m_desiredStartTimeHasBeenSet; }
81 inline void SetDesiredStartTime(long long value) { m_desiredStartTimeHasBeenSet = true; m_desiredStartTime = value; }
82 inline StartServiceSoftwareUpdateRequest& WithDesiredStartTime(long long value) { SetDesiredStartTime(value); return *this;}
84 private:
85
86 Aws::String m_domainName;
87 bool m_domainNameHasBeenSet = false;
88
89 ScheduleAt m_scheduleAt{ScheduleAt::NOT_SET};
90 bool m_scheduleAtHasBeenSet = false;
91
92 long long m_desiredStartTime{0};
93 bool m_desiredStartTimeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace OpenSearchService
98} // 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