AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
StartAutonomousDatabaseRefreshRequest.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:
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 "StartAutonomousDatabaseRefresh"; }
29
30 AWS_ODB_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetAutonomousDatabaseId() const { return m_autonomousDatabaseId; }
40 inline bool AutonomousDatabaseIdHasBeenSet() const { return m_autonomousDatabaseIdHasBeenSet; }
41 template <typename AutonomousDatabaseIdT = Aws::String>
42 void SetAutonomousDatabaseId(AutonomousDatabaseIdT&& value) {
43 m_autonomousDatabaseIdHasBeenSet = true;
44 m_autonomousDatabaseId = std::forward<AutonomousDatabaseIdT>(value);
45 }
46 template <typename AutonomousDatabaseIdT = Aws::String>
48 SetAutonomousDatabaseId(std::forward<AutonomousDatabaseIdT>(value));
49 return *this;
50 }
52
54
61 inline const Aws::Utils::DateTime& GetTimeOfRefreshCutoff() const { return m_timeOfRefreshCutoff; }
62 inline bool TimeOfRefreshCutoffHasBeenSet() const { return m_timeOfRefreshCutoffHasBeenSet; }
63 template <typename TimeOfRefreshCutoffT = Aws::Utils::DateTime>
64 void SetTimeOfRefreshCutoff(TimeOfRefreshCutoffT&& value) {
65 m_timeOfRefreshCutoffHasBeenSet = true;
66 m_timeOfRefreshCutoff = std::forward<TimeOfRefreshCutoffT>(value);
67 }
68 template <typename TimeOfRefreshCutoffT = Aws::Utils::DateTime>
70 SetTimeOfRefreshCutoff(std::forward<TimeOfRefreshCutoffT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_autonomousDatabaseId;
76
77 Aws::Utils::DateTime m_timeOfRefreshCutoff{};
78 bool m_autonomousDatabaseIdHasBeenSet = false;
79 bool m_timeOfRefreshCutoffHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace odb
84} // namespace Aws
AWS_ODB_API Aws::String SerializePayload() const override
StartAutonomousDatabaseRefreshRequest & WithAutonomousDatabaseId(AutonomousDatabaseIdT &&value)
AWS_ODB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartAutonomousDatabaseRefreshRequest & WithTimeOfRefreshCutoff(TimeOfRefreshCutoffT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String