AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuggestResult.h
1
6#pragma once
7#include <aws/cloudsearchdomain/CloudSearchDomain_EXPORTS.h>
8#include <aws/cloudsearchdomain/model/SuggestStatus.h>
9#include <aws/cloudsearchdomain/model/SuggestModel.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudSearchDomain
26{
27namespace Model
28{
36 {
37 public:
38 AWS_CLOUDSEARCHDOMAIN_API SuggestResult();
41
42
44
49 inline const SuggestStatus& GetStatus() const{ return m_status; }
50 inline void SetStatus(const SuggestStatus& value) { m_status = value; }
51 inline void SetStatus(SuggestStatus&& value) { m_status = std::move(value); }
52 inline SuggestResult& WithStatus(const SuggestStatus& value) { SetStatus(value); return *this;}
53 inline SuggestResult& WithStatus(SuggestStatus&& value) { SetStatus(std::move(value)); return *this;}
55
57
60 inline const SuggestModel& GetSuggest() const{ return m_suggest; }
61 inline void SetSuggest(const SuggestModel& value) { m_suggest = value; }
62 inline void SetSuggest(SuggestModel&& value) { m_suggest = std::move(value); }
63 inline SuggestResult& WithSuggest(const SuggestModel& value) { SetSuggest(value); return *this;}
64 inline SuggestResult& WithSuggest(SuggestModel&& value) { SetSuggest(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline SuggestResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline SuggestResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline SuggestResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 SuggestStatus m_status;
80
81 SuggestModel m_suggest;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace CloudSearchDomain
88} // namespace Aws
const SuggestModel & GetSuggest() const
void SetRequestId(const Aws::String &value)
SuggestResult & WithSuggest(SuggestModel &&value)
SuggestResult & WithRequestId(const char *value)
SuggestResult & WithStatus(SuggestStatus &&value)
AWS_CLOUDSEARCHDOMAIN_API SuggestResult()
AWS_CLOUDSEARCHDOMAIN_API SuggestResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SuggestResult & WithStatus(const SuggestStatus &value)
SuggestResult & WithRequestId(Aws::String &&value)
SuggestResult & WithSuggest(const SuggestModel &value)
void SetStatus(const SuggestStatus &value)
SuggestResult & WithRequestId(const Aws::String &value)
const SuggestStatus & GetStatus() const
void SetSuggest(const SuggestModel &value)
AWS_CLOUDSEARCHDOMAIN_API SuggestResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue