AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplyPendingMaintenanceActionRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Neptune
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ApplyPendingMaintenanceAction"; }
31
32 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
46 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
47 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
48 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
49 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
50 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
53 inline ApplyPendingMaintenanceActionRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
55
57
61 inline const Aws::String& GetApplyAction() const{ return m_applyAction; }
62 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
63 inline void SetApplyAction(const Aws::String& value) { m_applyActionHasBeenSet = true; m_applyAction = value; }
64 inline void SetApplyAction(Aws::String&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::move(value); }
65 inline void SetApplyAction(const char* value) { m_applyActionHasBeenSet = true; m_applyAction.assign(value); }
67 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(Aws::String&& value) { SetApplyAction(std::move(value)); return *this;}
68 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(const char* value) { SetApplyAction(value); return *this;}
70
72
81 inline const Aws::String& GetOptInType() const{ return m_optInType; }
82 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
83 inline void SetOptInType(const Aws::String& value) { m_optInTypeHasBeenSet = true; m_optInType = value; }
84 inline void SetOptInType(Aws::String&& value) { m_optInTypeHasBeenSet = true; m_optInType = std::move(value); }
85 inline void SetOptInType(const char* value) { m_optInTypeHasBeenSet = true; m_optInType.assign(value); }
86 inline ApplyPendingMaintenanceActionRequest& WithOptInType(const Aws::String& value) { SetOptInType(value); return *this;}
87 inline ApplyPendingMaintenanceActionRequest& WithOptInType(Aws::String&& value) { SetOptInType(std::move(value)); return *this;}
88 inline ApplyPendingMaintenanceActionRequest& WithOptInType(const char* value) { SetOptInType(value); return *this;}
90 private:
91
92 Aws::String m_resourceIdentifier;
93 bool m_resourceIdentifierHasBeenSet = false;
94
95 Aws::String m_applyAction;
96 bool m_applyActionHasBeenSet = false;
97
98 Aws::String m_optInType;
99 bool m_optInTypeHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Neptune
104} // namespace Aws
ApplyPendingMaintenanceActionRequest & WithApplyAction(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(Aws::String &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ApplyPendingMaintenanceActionRequest & WithOptInType(Aws::String &&value)
ApplyPendingMaintenanceActionRequest & WithOptInType(const Aws::String &value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
ApplyPendingMaintenanceActionRequest & WithOptInType(const char *value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(const char *value)
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(const char *value)
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String