7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
71 template<
typename SQLT = Aws::String>
72 void SetSQL(SQLT&& value) { m_sQLHasBeenSet =
true; m_sQL = std::forward<SQLT>(value); }
73 template<
typename SQLT = Aws::String>
84 inline void SetRelevance(
double value) { m_relevanceHasBeenSet =
true; m_relevance = value; }
90 bool m_nameHasBeenSet =
false;
93 bool m_descriptionHasBeenSet =
false;
96 bool m_sQLHasBeenSet =
false;
98 double m_relevance{0.0};
99 bool m_relevanceHasBeenSet =
false;
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
SearchSampleQueriesSearchResult & WithDescription(DescriptionT &&value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRelevance(double value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
AWS_CLOUDTRAIL_API SearchSampleQueriesSearchResult()=default
double GetRelevance() const
bool SQLHasBeenSet() const
bool RelevanceHasBeenSet() const
const Aws::String & GetSQL() const
SearchSampleQueriesSearchResult & WithRelevance(double value)
void SetSQL(SQLT &&value)
SearchSampleQueriesSearchResult & WithName(NameT &&value)
bool NameHasBeenSet() const
void SetName(NameT &&value)
SearchSampleQueriesSearchResult & WithSQL(SQLT &&value)
AWS_CLOUDTRAIL_API SearchSampleQueriesSearchResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API SearchSampleQueriesSearchResult(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue