AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
28 AWS_DOCDB_API ApplyPendingMaintenanceActionRequest() = default;
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 template<typename ResourceIdentifierT = Aws::String>
51 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
52 template<typename ResourceIdentifierT = Aws::String>
53 ApplyPendingMaintenanceActionRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
55
57
61 inline const Aws::String& GetApplyAction() const { return m_applyAction; }
62 inline bool ApplyActionHasBeenSet() const { return m_applyActionHasBeenSet; }
63 template<typename ApplyActionT = Aws::String>
64 void SetApplyAction(ApplyActionT&& value) { m_applyActionHasBeenSet = true; m_applyAction = std::forward<ApplyActionT>(value); }
65 template<typename ApplyActionT = Aws::String>
66 ApplyPendingMaintenanceActionRequest& WithApplyAction(ApplyActionT&& value) { SetApplyAction(std::forward<ApplyActionT>(value)); return *this;}
68
70
79 inline const Aws::String& GetOptInType() const { return m_optInType; }
80 inline bool OptInTypeHasBeenSet() const { return m_optInTypeHasBeenSet; }
81 template<typename OptInTypeT = Aws::String>
82 void SetOptInType(OptInTypeT&& value) { m_optInTypeHasBeenSet = true; m_optInType = std::forward<OptInTypeT>(value); }
83 template<typename OptInTypeT = Aws::String>
84 ApplyPendingMaintenanceActionRequest& WithOptInType(OptInTypeT&& value) { SetOptInType(std::forward<OptInTypeT>(value)); return *this;}
86 private:
87
88 Aws::String m_resourceIdentifier;
89 bool m_resourceIdentifierHasBeenSet = false;
90
91 Aws::String m_applyAction;
92 bool m_applyActionHasBeenSet = false;
93
94 Aws::String m_optInType;
95 bool m_optInTypeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace DocDB
100} // namespace Aws
ApplyPendingMaintenanceActionRequest & WithOptInType(OptInTypeT &&value)
ApplyPendingMaintenanceActionRequest & WithApplyAction(ApplyActionT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ApplyPendingMaintenanceActionRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String