AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryPointSelection.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/backup/model/DateRange.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Backup
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BACKUP_API RecoveryPointSelection();
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetVaultNames() const{ return m_vaultNames; }
49 inline bool VaultNamesHasBeenSet() const { return m_vaultNamesHasBeenSet; }
50 inline void SetVaultNames(const Aws::Vector<Aws::String>& value) { m_vaultNamesHasBeenSet = true; m_vaultNames = value; }
51 inline void SetVaultNames(Aws::Vector<Aws::String>&& value) { m_vaultNamesHasBeenSet = true; m_vaultNames = std::move(value); }
52 inline RecoveryPointSelection& WithVaultNames(const Aws::Vector<Aws::String>& value) { SetVaultNames(value); return *this;}
53 inline RecoveryPointSelection& WithVaultNames(Aws::Vector<Aws::String>&& value) { SetVaultNames(std::move(value)); return *this;}
54 inline RecoveryPointSelection& AddVaultNames(const Aws::String& value) { m_vaultNamesHasBeenSet = true; m_vaultNames.push_back(value); return *this; }
55 inline RecoveryPointSelection& AddVaultNames(Aws::String&& value) { m_vaultNamesHasBeenSet = true; m_vaultNames.push_back(std::move(value)); return *this; }
56 inline RecoveryPointSelection& AddVaultNames(const char* value) { m_vaultNamesHasBeenSet = true; m_vaultNames.push_back(value); return *this; }
58
60
64 inline const Aws::Vector<Aws::String>& GetResourceIdentifiers() const{ return m_resourceIdentifiers; }
65 inline bool ResourceIdentifiersHasBeenSet() const { return m_resourceIdentifiersHasBeenSet; }
66 inline void SetResourceIdentifiers(const Aws::Vector<Aws::String>& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers = value; }
67 inline void SetResourceIdentifiers(Aws::Vector<Aws::String>&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers = std::move(value); }
70 inline RecoveryPointSelection& AddResourceIdentifiers(const Aws::String& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(value); return *this; }
71 inline RecoveryPointSelection& AddResourceIdentifiers(Aws::String&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(std::move(value)); return *this; }
72 inline RecoveryPointSelection& AddResourceIdentifiers(const char* value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(value); return *this; }
74
76
77 inline const DateRange& GetDateRange() const{ return m_dateRange; }
78 inline bool DateRangeHasBeenSet() const { return m_dateRangeHasBeenSet; }
79 inline void SetDateRange(const DateRange& value) { m_dateRangeHasBeenSet = true; m_dateRange = value; }
80 inline void SetDateRange(DateRange&& value) { m_dateRangeHasBeenSet = true; m_dateRange = std::move(value); }
81 inline RecoveryPointSelection& WithDateRange(const DateRange& value) { SetDateRange(value); return *this;}
82 inline RecoveryPointSelection& WithDateRange(DateRange&& value) { SetDateRange(std::move(value)); return *this;}
84 private:
85
86 Aws::Vector<Aws::String> m_vaultNames;
87 bool m_vaultNamesHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_resourceIdentifiers;
90 bool m_resourceIdentifiersHasBeenSet = false;
91
92 DateRange m_dateRange;
93 bool m_dateRangeHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Backup
98} // namespace Aws
RecoveryPointSelection & WithVaultNames(Aws::Vector< Aws::String > &&value)
AWS_BACKUP_API RecoveryPointSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryPointSelection & AddVaultNames(const Aws::String &value)
RecoveryPointSelection & AddResourceIdentifiers(const Aws::String &value)
AWS_BACKUP_API RecoveryPointSelection(Aws::Utils::Json::JsonView jsonValue)
RecoveryPointSelection & AddResourceIdentifiers(const char *value)
RecoveryPointSelection & WithVaultNames(const Aws::Vector< Aws::String > &value)
RecoveryPointSelection & WithResourceIdentifiers(const Aws::Vector< Aws::String > &value)
RecoveryPointSelection & WithResourceIdentifiers(Aws::Vector< Aws::String > &&value)
void SetResourceIdentifiers(Aws::Vector< Aws::String > &&value)
void SetVaultNames(const Aws::Vector< Aws::String > &value)
RecoveryPointSelection & AddResourceIdentifiers(Aws::String &&value)
RecoveryPointSelection & WithDateRange(DateRange &&value)
RecoveryPointSelection & AddVaultNames(Aws::String &&value)
RecoveryPointSelection & AddVaultNames(const char *value)
const Aws::Vector< Aws::String > & GetVaultNames() const
RecoveryPointSelection & WithDateRange(const DateRange &value)
void SetResourceIdentifiers(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetResourceIdentifiers() const
void SetVaultNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue