7#include <aws/backupsearch/BackupSearchRequest.h>
8#include <aws/backupsearch/BackupSearch_EXPORTS.h>
9#include <aws/backupsearch/model/ItemFilters.h>
10#include <aws/backupsearch/model/SearchScope.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace BackupSearch {
40 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
42 m_tagsHasBeenSet =
true;
43 m_tags = std::forward<TagsT>(value);
45 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
47 SetTags(std::forward<TagsT>(value));
50 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
52 m_tagsHasBeenSet =
true;
53 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
82 template <
typename EncryptionKeyArnT = Aws::String>
84 m_encryptionKeyArnHasBeenSet =
true;
85 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
87 template <
typename EncryptionKeyArnT = Aws::String>
103 template <
typename ClientTokenT = Aws::String>
105 m_clientTokenHasBeenSet =
true;
106 m_clientToken = std::forward<ClientTokenT>(value);
108 template <
typename ClientTokenT = Aws::String>
123 template <
typename SearchScopeT = SearchScope>
125 m_searchScopeHasBeenSet =
true;
126 m_searchScope = std::forward<SearchScopeT>(value);
128 template <
typename SearchScopeT = SearchScope>
142 template <
typename ItemFiltersT = ItemFilters>
144 m_itemFiltersHasBeenSet =
true;
145 m_itemFilters = std::forward<ItemFiltersT>(value);
147 template <
typename ItemFiltersT = ItemFilters>
165 bool m_tagsHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
167 bool m_encryptionKeyArnHasBeenSet =
false;
168 bool m_clientTokenHasBeenSet =
false;
169 bool m_searchScopeHasBeenSet =
false;
170 bool m_itemFiltersHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
void SetEncryptionKeyArn(EncryptionKeyArnT &&value)
const Aws::String & GetClientToken() const
StartSearchJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
void SetItemFilters(ItemFiltersT &&value)
StartSearchJobRequest & WithName(NameT &&value)
const ItemFilters & GetItemFilters() const
const SearchScope & GetSearchScope() const
void SetTags(TagsT &&value)
StartSearchJobRequest & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
StartSearchJobRequest & WithTags(TagsT &&value)
bool SearchScopeHasBeenSet() const
StartSearchJobRequest & WithSearchScope(SearchScopeT &&value)
const Aws::String & GetName() const
const Aws::String & GetEncryptionKeyArn() const
StartSearchJobRequest & WithClientToken(ClientTokenT &&value)
bool NameHasBeenSet() const
StartSearchJobRequest & WithItemFilters(ItemFiltersT &&value)
void SetClientToken(ClientTokenT &&value)
bool EncryptionKeyArnHasBeenSet() const
void SetSearchScope(SearchScopeT &&value)
bool ItemFiltersHasBeenSet() const
AWS_BACKUPSEARCH_API StartSearchJobRequest()=default
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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