7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/backupsearch/BackupSearchRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/backupsearch/model/SearchScope.h>
12#include <aws/backupsearch/model/ItemFilters.h>
44 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
45 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
46 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
48 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
50 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename EncryptionKeyArnT = Aws::String>
73 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) { m_encryptionKeyArnHasBeenSet =
true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
74 template<
typename EncryptionKeyArnT = Aws::String>
87 template<
typename ClientTokenT = Aws::String>
88 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
89 template<
typename ClientTokenT = Aws::String>
101 template<
typename SearchScopeT = SearchScope>
102 void SetSearchScope(SearchScopeT&& value) { m_searchScopeHasBeenSet =
true; m_searchScope = std::forward<SearchScopeT>(value); }
103 template<
typename SearchScopeT = SearchScope>
114 template<
typename ItemFiltersT = ItemFilters>
115 void SetItemFilters(ItemFiltersT&& value) { m_itemFiltersHasBeenSet =
true; m_itemFilters = std::forward<ItemFiltersT>(value); }
116 template<
typename ItemFiltersT = ItemFilters>
122 bool m_tagsHasBeenSet =
false;
125 bool m_nameHasBeenSet =
false;
128 bool m_encryptionKeyArnHasBeenSet =
false;
131 bool m_clientTokenHasBeenSet =
false;
134 bool m_searchScopeHasBeenSet =
false;
137 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