AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
CrossRegionDisasterRecoveryConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/DisasterRecoveryType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
30 public:
35
37
41 inline const Aws::String& GetSourceAutonomousDatabaseArn() const { return m_sourceAutonomousDatabaseArn; }
42 inline bool SourceAutonomousDatabaseArnHasBeenSet() const { return m_sourceAutonomousDatabaseArnHasBeenSet; }
43 template <typename SourceAutonomousDatabaseArnT = Aws::String>
44 void SetSourceAutonomousDatabaseArn(SourceAutonomousDatabaseArnT&& value) {
45 m_sourceAutonomousDatabaseArnHasBeenSet = true;
46 m_sourceAutonomousDatabaseArn = std::forward<SourceAutonomousDatabaseArnT>(value);
47 }
48 template <typename SourceAutonomousDatabaseArnT = Aws::String>
50 SetSourceAutonomousDatabaseArn(std::forward<SourceAutonomousDatabaseArnT>(value));
51 return *this;
52 }
54
56
60 inline DisasterRecoveryType GetRemoteDisasterRecoveryType() const { return m_remoteDisasterRecoveryType; }
61 inline bool RemoteDisasterRecoveryTypeHasBeenSet() const { return m_remoteDisasterRecoveryTypeHasBeenSet; }
63 m_remoteDisasterRecoveryTypeHasBeenSet = true;
64 m_remoteDisasterRecoveryType = value;
65 }
68 return *this;
69 }
71
73
77 inline bool GetIsReplicateAutomaticBackups() const { return m_isReplicateAutomaticBackups; }
78 inline bool IsReplicateAutomaticBackupsHasBeenSet() const { return m_isReplicateAutomaticBackupsHasBeenSet; }
79 inline void SetIsReplicateAutomaticBackups(bool value) {
80 m_isReplicateAutomaticBackupsHasBeenSet = true;
81 m_isReplicateAutomaticBackups = value;
82 }
85 return *this;
86 }
88 private:
89 Aws::String m_sourceAutonomousDatabaseArn;
90
91 DisasterRecoveryType m_remoteDisasterRecoveryType{DisasterRecoveryType::NOT_SET};
92
93 bool m_isReplicateAutomaticBackups{false};
94 bool m_sourceAutonomousDatabaseArnHasBeenSet = false;
95 bool m_remoteDisasterRecoveryTypeHasBeenSet = false;
96 bool m_isReplicateAutomaticBackupsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace odb
101} // namespace Aws
AWS_ODB_API CrossRegionDisasterRecoveryConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ODB_API CrossRegionDisasterRecoveryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CrossRegionDisasterRecoveryConfiguration & WithRemoteDisasterRecoveryType(DisasterRecoveryType value)
CrossRegionDisasterRecoveryConfiguration & WithSourceAutonomousDatabaseArn(SourceAutonomousDatabaseArnT &&value)
CrossRegionDisasterRecoveryConfiguration & WithIsReplicateAutomaticBackups(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue