AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
RestoreAutonomousDatabaseRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/odb/OdbRequest.h>
10#include <aws/odb/Odb_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace odb {
16namespace Model {
17
21 public:
22 AWS_ODB_API RestoreAutonomousDatabaseRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "RestoreAutonomousDatabase"; }
29
30 AWS_ODB_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetAutonomousDatabaseId() const { return m_autonomousDatabaseId; }
39 inline bool AutonomousDatabaseIdHasBeenSet() const { return m_autonomousDatabaseIdHasBeenSet; }
40 template <typename AutonomousDatabaseIdT = Aws::String>
41 void SetAutonomousDatabaseId(AutonomousDatabaseIdT&& value) {
42 m_autonomousDatabaseIdHasBeenSet = true;
43 m_autonomousDatabaseId = std::forward<AutonomousDatabaseIdT>(value);
44 }
45 template <typename AutonomousDatabaseIdT = Aws::String>
47 SetAutonomousDatabaseId(std::forward<AutonomousDatabaseIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
57 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
58 template <typename TimestampT = Aws::Utils::DateTime>
59 void SetTimestamp(TimestampT&& value) {
60 m_timestampHasBeenSet = true;
61 m_timestamp = std::forward<TimestampT>(value);
62 }
63 template <typename TimestampT = Aws::Utils::DateTime>
65 SetTimestamp(std::forward<TimestampT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_autonomousDatabaseId;
71
72 Aws::Utils::DateTime m_timestamp{};
73 bool m_autonomousDatabaseIdHasBeenSet = false;
74 bool m_timestampHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace odb
79} // namespace Aws
RestoreAutonomousDatabaseRequest & WithAutonomousDatabaseId(AutonomousDatabaseIdT &&value)
AWS_ODB_API Aws::String SerializePayload() const override
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RestoreAutonomousDatabaseRequest & WithTimestamp(TimestampT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String