7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/resource-explorer-2/ResourceExplorer2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resource-explorer-2/model/SearchFilter.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/resource-explorer-2/model/IncludedProperty.h>
15#include <aws/core/utils/UUID.h>
19namespace ResourceExplorer2
50 template<
typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<
typename ClientTokenT = Aws::String>
78 template<
typename FiltersT = SearchFilter>
79 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
80 template<
typename FiltersT = SearchFilter>
92 template<
typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
93 void SetIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet =
true; m_includedProperties = std::forward<IncludedPropertiesT>(value); }
94 template<
typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
96 template<
typename IncludedPropertiesT = IncludedProperty>
97 CreateViewRequest&
AddIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet =
true; m_includedProperties.emplace_back(std::forward<IncludedPropertiesT>(value));
return *
this; }
107 template<
typename ScopeT = Aws::String>
108 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
109 template<
typename ScopeT = Aws::String>
119 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
121 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
125 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
138 template<
typename ViewNameT = Aws::String>
139 void SetViewName(ViewNameT&& value) { m_viewNameHasBeenSet =
true; m_viewName = std::forward<ViewNameT>(value); }
140 template<
typename ViewNameT = Aws::String>
146 bool m_clientTokenHasBeenSet =
true;
148 SearchFilter m_filters;
149 bool m_filtersHasBeenSet =
false;
152 bool m_includedPropertiesHasBeenSet =
false;
155 bool m_scopeHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
161 bool m_viewNameHasBeenSet =
false;
void SetScope(ScopeT &&value)
const Aws::String & GetClientToken() const
CreateViewRequest & WithTags(TagsT &&value)
CreateViewRequest & WithViewName(ViewNameT &&value)
void SetClientToken(ClientTokenT &&value)
bool FiltersHasBeenSet() const
const Aws::String & GetViewName() const
CreateViewRequest & WithFilters(FiltersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ClientTokenHasBeenSet() const
CreateViewRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const SearchFilter & GetFilters() const
CreateViewRequest & WithScope(ScopeT &&value)
bool ViewNameHasBeenSet() const
CreateViewRequest & WithClientToken(ClientTokenT &&value)
CreateViewRequest & WithIncludedProperties(IncludedPropertiesT &&value)
const Aws::String & GetScope() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< IncludedProperty > & GetIncludedProperties() const
void SetIncludedProperties(IncludedPropertiesT &&value)
void SetFilters(FiltersT &&value)
bool IncludedPropertiesHasBeenSet() const
CreateViewRequest & AddIncludedProperties(IncludedPropertiesT &&value)
bool ScopeHasBeenSet() const
AWS_RESOURCEEXPLORER2_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
AWS_RESOURCEEXPLORER2_API CreateViewRequest()=default
void SetViewName(ViewNameT &&value)
bool TagsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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
std::vector< T, Aws::Allocator< T > > Vector