7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/resource-explorer-2/model/SearchFilter.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/resource-explorer-2/model/IncludedProperty.h>
25namespace ResourceExplorer2
44 AWS_RESOURCEEXPLORER2_API
View() =
default;
57 template<
typename FiltersT = SearchFilter>
58 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet =
true; m_filters = std::forward<FiltersT>(value); }
59 template<
typename FiltersT = SearchFilter>
69 template<
typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
70 void SetIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet =
true; m_includedProperties = std::forward<IncludedPropertiesT>(value); }
71 template<
typename IncludedPropertiesT = Aws::Vector<IncludedProperty>>
73 template<
typename IncludedPropertiesT = IncludedProperty>
74 View&
AddIncludedProperties(IncludedPropertiesT&& value) { m_includedPropertiesHasBeenSet =
true; m_includedProperties.emplace_back(std::forward<IncludedPropertiesT>(value));
return *
this; }
83 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
84 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
85 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
95 template<
typename OwnerT = Aws::String>
96 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
97 template<
typename OwnerT = Aws::String>
114 template<
typename ScopeT = Aws::String>
115 void SetScope(ScopeT&& value) { m_scopeHasBeenSet =
true; m_scope = std::forward<ScopeT>(value); }
116 template<
typename ScopeT = Aws::String>
128 template<
typename ViewArnT = Aws::String>
129 void SetViewArn(ViewArnT&& value) { m_viewArnHasBeenSet =
true; m_viewArn = std::forward<ViewArnT>(value); }
130 template<
typename ViewArnT = Aws::String>
136 bool m_filtersHasBeenSet =
false;
139 bool m_includedPropertiesHasBeenSet =
false;
142 bool m_lastUpdatedAtHasBeenSet =
false;
145 bool m_ownerHasBeenSet =
false;
148 bool m_scopeHasBeenSet =
false;
151 bool m_viewArnHasBeenSet =
false;
AWS_RESOURCEEXPLORER2_API View(Aws::Utils::Json::JsonView jsonValue)
bool OwnerHasBeenSet() const
View & WithViewArn(ViewArnT &&value)
AWS_RESOURCEEXPLORER2_API View & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOwner(OwnerT &&value)
const Aws::Vector< IncludedProperty > & GetIncludedProperties() const
bool ViewArnHasBeenSet() const
bool FiltersHasBeenSet() const
const Aws::String & GetViewArn() const
View & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool IncludedPropertiesHasBeenSet() const
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
View & WithIncludedProperties(IncludedPropertiesT &&value)
const SearchFilter & GetFilters() const
View & WithOwner(OwnerT &&value)
void SetIncludedProperties(IncludedPropertiesT &&value)
bool LastUpdatedAtHasBeenSet() const
View & WithScope(ScopeT &&value)
void SetFilters(FiltersT &&value)
AWS_RESOURCEEXPLORER2_API View()=default
void SetScope(ScopeT &&value)
View & WithFilters(FiltersT &&value)
View & AddIncludedProperties(IncludedPropertiesT &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
const Aws::String & GetOwner() const
void SetViewArn(ViewArnT &&value)
const Aws::String & GetScope() const
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool ScopeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue