AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackintConfig.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/ssm-sap/model/BackintMode.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SsmSap
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SSMSAP_API BackintConfig();
37 AWS_SSMSAP_API BackintConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const BackintMode& GetBackintMode() const{ return m_backintMode; }
47 inline bool BackintModeHasBeenSet() const { return m_backintModeHasBeenSet; }
48 inline void SetBackintMode(const BackintMode& value) { m_backintModeHasBeenSet = true; m_backintMode = value; }
49 inline void SetBackintMode(BackintMode&& value) { m_backintModeHasBeenSet = true; m_backintMode = std::move(value); }
50 inline BackintConfig& WithBackintMode(const BackintMode& value) { SetBackintMode(value); return *this;}
51 inline BackintConfig& WithBackintMode(BackintMode&& value) { SetBackintMode(std::move(value)); return *this;}
53
55
58 inline bool GetEnsureNoBackupInProcess() const{ return m_ensureNoBackupInProcess; }
59 inline bool EnsureNoBackupInProcessHasBeenSet() const { return m_ensureNoBackupInProcessHasBeenSet; }
60 inline void SetEnsureNoBackupInProcess(bool value) { m_ensureNoBackupInProcessHasBeenSet = true; m_ensureNoBackupInProcess = value; }
61 inline BackintConfig& WithEnsureNoBackupInProcess(bool value) { SetEnsureNoBackupInProcess(value); return *this;}
63 private:
64
65 BackintMode m_backintMode;
66 bool m_backintModeHasBeenSet = false;
67
68 bool m_ensureNoBackupInProcess;
69 bool m_ensureNoBackupInProcessHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SsmSap
74} // namespace Aws
BackintConfig & WithBackintMode(BackintMode &&value)
AWS_SSMSAP_API BackintConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
BackintConfig & WithEnsureNoBackupInProcess(bool value)
BackintConfig & WithBackintMode(const BackintMode &value)
AWS_SSMSAP_API BackintConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEnsureNoBackupInProcess(bool value)
void SetBackintMode(BackintMode &&value)
const BackintMode & GetBackintMode() const
void SetBackintMode(const BackintMode &value)
Aws::Utils::Json::JsonValue JsonValue