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/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DocDB
15{
16namespace Model
17{
18
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ApplyPendingMaintenanceAction"; }
35
36 AWS_DOCDB_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
48 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
49 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
50 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
51 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
52 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
55 inline ApplyPendingMaintenanceActionRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
57
59
63 inline const Aws::String& GetApplyAction() const{ return m_applyAction; }
64 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
65 inline void SetApplyAction(const Aws::String& value) { m_applyActionHasBeenSet = true; m_applyAction = value; }
66 inline void SetApplyAction(Aws::String&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::move(value); }
67 inline void SetApplyAction(const char* value) { m_applyActionHasBeenSet = true; m_applyAction.assign(value); }
69 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(Aws::String&& value) { SetApplyAction(std::move(value)); return *this;}
70 inline ApplyPendingMaintenanceActionRequest& WithApplyAction(const char* value) { SetApplyAction(value); return *this;}
72
74
83 inline const Aws::String& GetOptInType() const{ return m_optInType; }
84 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
85 inline void SetOptInType(const Aws::String& value) { m_optInTypeHasBeenSet = true; m_optInType = value; }
86 inline void SetOptInType(Aws::String&& value) { m_optInTypeHasBeenSet = true; m_optInType = std::move(value); }
87 inline void SetOptInType(const char* value) { m_optInTypeHasBeenSet = true; m_optInType.assign(value); }
88 inline ApplyPendingMaintenanceActionRequest& WithOptInType(const Aws::String& value) { SetOptInType(value); return *this;}
89 inline ApplyPendingMaintenanceActionRequest& WithOptInType(Aws::String&& value) { SetOptInType(std::move(value)); return *this;}
90 inline ApplyPendingMaintenanceActionRequest& WithOptInType(const char* value) { SetOptInType(value); return *this;}
92 private:
93
94 Aws::String m_resourceIdentifier;
95 bool m_resourceIdentifierHasBeenSet = false;
96
97 Aws::String m_applyAction;
98 bool m_applyActionHasBeenSet = false;
99
100 Aws::String m_optInType;
101 bool m_optInTypeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace DocDB
106} // namespace Aws
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(Aws::String &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
ApplyPendingMaintenanceActionRequest & WithOptInType(Aws::String &&value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(Aws::String &&value)
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(const char *value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ApplyPendingMaintenanceActionRequest & WithOptInType(const char *value)
ApplyPendingMaintenanceActionRequest & WithOptInType(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(const Aws::String &value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String