7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/backup/model/Conditions.h>
11#include <aws/backup/model/Condition.h>
55 template<
typename SelectionNameT = Aws::String>
56 void SetSelectionName(SelectionNameT&& value) { m_selectionNameHasBeenSet =
true; m_selectionName = std::forward<SelectionNameT>(value); }
57 template<
typename SelectionNameT = Aws::String>
69 template<
typename IamRoleArnT = Aws::String>
70 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
71 template<
typename IamRoleArnT = Aws::String>
87 template<
typename ResourcesT = Aws::Vector<Aws::String>>
88 void SetResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources = std::forward<ResourcesT>(value); }
89 template<
typename ResourcesT = Aws::Vector<Aws::String>>
91 template<
typename ResourcesT = Aws::String>
92 BackupSelection&
AddResources(ResourcesT&& value) { m_resourcesHasBeenSet =
true; m_resources.emplace_back(std::forward<ResourcesT>(value));
return *
this; }
106 template<
typename ListOfTagsT = Aws::Vector<Condition>>
107 void SetListOfTags(ListOfTagsT&& value) { m_listOfTagsHasBeenSet =
true; m_listOfTags = std::forward<ListOfTagsT>(value); }
108 template<
typename ListOfTagsT = Aws::Vector<Condition>>
110 template<
typename ListOfTagsT = Condition>
111 BackupSelection&
AddListOfTags(ListOfTagsT&& value) { m_listOfTagsHasBeenSet =
true; m_listOfTags.emplace_back(std::forward<ListOfTagsT>(value));
return *
this; }
124 template<
typename NotResourcesT = Aws::Vector<Aws::String>>
125 void SetNotResources(NotResourcesT&& value) { m_notResourcesHasBeenSet =
true; m_notResources = std::forward<NotResourcesT>(value); }
126 template<
typename NotResourcesT = Aws::Vector<Aws::String>>
128 template<
typename NotResourcesT = Aws::String>
129 BackupSelection&
AddNotResources(NotResourcesT&& value) { m_notResourcesHasBeenSet =
true; m_notResources.emplace_back(std::forward<NotResourcesT>(value));
return *
this; }
145 template<
typename ConditionsT = Conditions>
146 void SetConditions(ConditionsT&& value) { m_conditionsHasBeenSet =
true; m_conditions = std::forward<ConditionsT>(value); }
147 template<
typename ConditionsT = Conditions>
153 bool m_selectionNameHasBeenSet =
false;
156 bool m_iamRoleArnHasBeenSet =
false;
159 bool m_resourcesHasBeenSet =
false;
162 bool m_listOfTagsHasBeenSet =
false;
165 bool m_notResourcesHasBeenSet =
false;
168 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