AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
PredictQAppResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9#include <aws/qapps/model/PredictAppDefinition.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QApps {
23namespace Model {
25 public:
26 AWS_QAPPS_API PredictQAppResult() = default;
29
31
34 inline const PredictAppDefinition& GetApp() const { return m_app; }
35 template <typename AppT = PredictAppDefinition>
36 void SetApp(AppT&& value) {
37 m_appHasBeenSet = true;
38 m_app = std::forward<AppT>(value);
39 }
40 template <typename AppT = PredictAppDefinition>
42 SetApp(std::forward<AppT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetProblemStatement() const { return m_problemStatement; }
52 template <typename ProblemStatementT = Aws::String>
54 m_problemStatementHasBeenSet = true;
55 m_problemStatement = std::forward<ProblemStatementT>(value);
56 }
57 template <typename ProblemStatementT = Aws::String>
59 SetProblemStatement(std::forward<ProblemStatementT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
80
81 Aws::String m_problemStatement;
82
83 Aws::String m_requestId;
84 bool m_appHasBeenSet = false;
85 bool m_problemStatementHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace QApps
91} // namespace Aws
AWS_QAPPS_API PredictQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QAPPS_API PredictQAppResult()=default
const PredictAppDefinition & GetApp() const
const Aws::String & GetProblemStatement() const
void SetProblemStatement(ProblemStatementT &&value)
AWS_QAPPS_API PredictQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PredictQAppResult & WithApp(AppT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
PredictQAppResult & WithRequestId(RequestIdT &&value)
PredictQAppResult & WithProblemStatement(ProblemStatementT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue