AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdvancedBackupSetting.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Backup
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_BACKUP_API AdvancedBackupSetting();
38 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
50 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
51 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
52 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
53 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
54 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
55 inline AdvancedBackupSetting& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
56 inline AdvancedBackupSetting& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
57 inline AdvancedBackupSetting& WithResourceType(const char* value) { SetResourceType(value); return *this;}
59
61
73 inline const Aws::Map<Aws::String, Aws::String>& GetBackupOptions() const{ return m_backupOptions; }
74 inline bool BackupOptionsHasBeenSet() const { return m_backupOptionsHasBeenSet; }
75 inline void SetBackupOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_backupOptionsHasBeenSet = true; m_backupOptions = value; }
76 inline void SetBackupOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions = std::move(value); }
79 inline AdvancedBackupSetting& AddBackupOptions(const Aws::String& key, const Aws::String& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, value); return *this; }
80 inline AdvancedBackupSetting& AddBackupOptions(Aws::String&& key, const Aws::String& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(std::move(key), value); return *this; }
81 inline AdvancedBackupSetting& AddBackupOptions(const Aws::String& key, Aws::String&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, std::move(value)); return *this; }
82 inline AdvancedBackupSetting& AddBackupOptions(Aws::String&& key, Aws::String&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(std::move(key), std::move(value)); return *this; }
83 inline AdvancedBackupSetting& AddBackupOptions(const char* key, Aws::String&& value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, std::move(value)); return *this; }
84 inline AdvancedBackupSetting& AddBackupOptions(Aws::String&& key, const char* value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(std::move(key), value); return *this; }
85 inline AdvancedBackupSetting& AddBackupOptions(const char* key, const char* value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, value); return *this; }
87 private:
88
89 Aws::String m_resourceType;
90 bool m_resourceTypeHasBeenSet = false;
91
93 bool m_backupOptionsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Backup
98} // namespace Aws
AdvancedBackupSetting & WithResourceType(Aws::String &&value)
void SetBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
AdvancedBackupSetting & WithBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetResourceType(const Aws::String &value)
AdvancedBackupSetting & AddBackupOptions(const char *key, const char *value)
AdvancedBackupSetting & AddBackupOptions(Aws::String &&key, Aws::String &&value)
AWS_BACKUP_API AdvancedBackupSetting(Aws::Utils::Json::JsonView jsonValue)
void SetBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetBackupOptions() const
AdvancedBackupSetting & AddBackupOptions(Aws::String &&key, const char *value)
AWS_BACKUP_API AdvancedBackupSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
AdvancedBackupSetting & WithResourceType(const Aws::String &value)
AdvancedBackupSetting & AddBackupOptions(Aws::String &&key, const Aws::String &value)
AdvancedBackupSetting & AddBackupOptions(const Aws::String &key, const Aws::String &value)
AdvancedBackupSetting & AddBackupOptions(const char *key, Aws::String &&value)
AdvancedBackupSetting & AddBackupOptions(const Aws::String &key, Aws::String &&value)
AdvancedBackupSetting & WithResourceType(const char *value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AdvancedBackupSetting & WithBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue