7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/Condition.h>
9#include <aws/backup/model/Conditions.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
49 template <
typename SelectionNameT = Aws::String>
51 m_selectionNameHasBeenSet =
true;
52 m_selectionName = std::forward<SelectionNameT>(value);
54 template <
typename SelectionNameT = Aws::String>
69 template <
typename IamRoleArnT = Aws::String>
71 m_iamRoleArnHasBeenSet =
true;
72 m_iamRoleArn = std::forward<IamRoleArnT>(value);
74 template <
typename IamRoleArnT = Aws::String>
93 template <
typename ResourcesT = Aws::Vector<Aws::String>>
95 m_resourcesHasBeenSet =
true;
96 m_resources = std::forward<ResourcesT>(value);
98 template <
typename ResourcesT = Aws::Vector<Aws::String>>
103 template <
typename ResourcesT = Aws::String>
105 m_resourcesHasBeenSet =
true;
106 m_resources.emplace_back(std::forward<ResourcesT>(value));
122 template <
typename ListOfTagsT = Aws::Vector<Condition>>
124 m_listOfTagsHasBeenSet =
true;
125 m_listOfTags = std::forward<ListOfTagsT>(value);
127 template <
typename ListOfTagsT = Aws::Vector<Condition>>
132 template <
typename ListOfTagsT = Condition>
134 m_listOfTagsHasBeenSet =
true;
135 m_listOfTags.emplace_back(std::forward<ListOfTagsT>(value));
150 template <
typename NotResourcesT = Aws::Vector<Aws::String>>
152 m_notResourcesHasBeenSet =
true;
153 m_notResources = std::forward<NotResourcesT>(value);
155 template <
typename NotResourcesT = Aws::Vector<Aws::String>>
160 template <
typename NotResourcesT = Aws::String>
162 m_notResourcesHasBeenSet =
true;
163 m_notResources.emplace_back(std::forward<NotResourcesT>(value));
181 template <
typename ConditionsT = Conditions>
183 m_conditionsHasBeenSet =
true;
184 m_conditions = std::forward<ConditionsT>(value);
186 template <
typename ConditionsT = Conditions>
204 bool m_selectionNameHasBeenSet =
false;
205 bool m_iamRoleArnHasBeenSet =
false;
206 bool m_resourcesHasBeenSet =
false;
207 bool m_listOfTagsHasBeenSet =
false;
208 bool m_notResourcesHasBeenSet =
false;
209 bool m_conditionsHasBeenSet =
false;
AWS_BACKUP_API BackupSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConditionsHasBeenSet() const
const Aws::String & GetSelectionName() const
bool ListOfTagsHasBeenSet() const
void SetIamRoleArn(IamRoleArnT &&value)
BackupSelection & AddResources(ResourcesT &&value)
bool IamRoleArnHasBeenSet() const
BackupSelection & AddListOfTags(ListOfTagsT &&value)
void SetResources(ResourcesT &&value)
BackupSelection & WithSelectionName(SelectionNameT &&value)
BackupSelection & WithConditions(ConditionsT &&value)
bool NotResourcesHasBeenSet() const
const Aws::Vector< Aws::String > & GetResources() const
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetNotResources() const
BackupSelection & WithResources(ResourcesT &&value)
void SetNotResources(NotResourcesT &&value)
BackupSelection & WithNotResources(NotResourcesT &&value)
bool SelectionNameHasBeenSet() const
const Conditions & GetConditions() const
const Aws::String & GetIamRoleArn() const
const Aws::Vector< Condition > & GetListOfTags() const
void SetConditions(ConditionsT &&value)
bool ResourcesHasBeenSet() const
BackupSelection & AddNotResources(NotResourcesT &&value)
AWS_BACKUP_API BackupSelection()=default
AWS_BACKUP_API BackupSelection(Aws::Utils::Json::JsonView jsonValue)
BackupSelection & WithListOfTags(ListOfTagsT &&value)
BackupSelection & WithIamRoleArn(IamRoleArnT &&value)
void SetSelectionName(SelectionNameT &&value)
void SetListOfTags(ListOfTagsT &&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