7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename SQLT = Aws::String>
79 m_sQLHasBeenSet =
true;
80 m_sQL = std::forward<SQLT>(value);
82 template <
typename SQLT = Aws::String>
84 SetSQL(std::forward<SQLT>(value));
97 m_relevanceHasBeenSet =
true;
107 bool m_nameHasBeenSet =
false;
110 bool m_descriptionHasBeenSet =
false;
113 bool m_sQLHasBeenSet =
false;
115 double m_relevance{0.0};
116 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