AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
48 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
49 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 inline StartServiceSoftwareUpdateRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 inline StartServiceSoftwareUpdateRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
52 inline StartServiceSoftwareUpdateRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
54
56
69 inline const ScheduleAt& GetScheduleAt() const{ return m_scheduleAt; }
70 inline bool ScheduleAtHasBeenSet() const { return m_scheduleAtHasBeenSet; }
71 inline void SetScheduleAt(const ScheduleAt& value) { m_scheduleAtHasBeenSet = true; m_scheduleAt = value; }
72 inline void SetScheduleAt(ScheduleAt&& value) { m_scheduleAtHasBeenSet = true; m_scheduleAt = std::move(value); }
73 inline StartServiceSoftwareUpdateRequest& WithScheduleAt(const ScheduleAt& value) { SetScheduleAt(value); return *this;}
74 inline StartServiceSoftwareUpdateRequest& WithScheduleAt(ScheduleAt&& value) { SetScheduleAt(std::move(value)); return *this;}
76
78
83 inline long long GetDesiredStartTime() const{ return m_desiredStartTime; }
84 inline bool DesiredStartTimeHasBeenSet() const { return m_desiredStartTimeHasBeenSet; }
85 inline void SetDesiredStartTime(long long value) { m_desiredStartTimeHasBeenSet = true; m_desiredStartTime = value; }
86 inline StartServiceSoftwareUpdateRequest& WithDesiredStartTime(long long value) { SetDesiredStartTime(value); return *this;}
88 private:
89
90 Aws::String m_domainName;
91 bool m_domainNameHasBeenSet = false;
92
93 ScheduleAt m_scheduleAt;
94 bool m_scheduleAtHasBeenSet = false;
95
96 long long m_desiredStartTime;
97 bool m_desiredStartTimeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace OpenSearchService
102} // namespace Aws
StartServiceSoftwareUpdateRequest & WithDesiredStartTime(long long value)
StartServiceSoftwareUpdateRequest & WithDomainName(Aws::String &&value)
StartServiceSoftwareUpdateRequest & WithDomainName(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
StartServiceSoftwareUpdateRequest & WithScheduleAt(ScheduleAt &&value)
StartServiceSoftwareUpdateRequest & WithDomainName(const char *value)
StartServiceSoftwareUpdateRequest & WithScheduleAt(const ScheduleAt &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String