AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PredictQAppResult.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/model/PredictAppDefinition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QApps
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QAPPS_API PredictQAppResult() = default;
34
35
37
40 inline const PredictAppDefinition& GetApp() const { return m_app; }
41 template<typename AppT = PredictAppDefinition>
42 void SetApp(AppT&& value) { m_appHasBeenSet = true; m_app = std::forward<AppT>(value); }
43 template<typename AppT = PredictAppDefinition>
44 PredictQAppResult& WithApp(AppT&& value) { SetApp(std::forward<AppT>(value)); return *this;}
46
48
51 inline const Aws::String& GetProblemStatement() const { return m_problemStatement; }
52 template<typename ProblemStatementT = Aws::String>
53 void SetProblemStatement(ProblemStatementT&& value) { m_problemStatementHasBeenSet = true; m_problemStatement = std::forward<ProblemStatementT>(value); }
54 template<typename ProblemStatementT = Aws::String>
55 PredictQAppResult& WithProblemStatement(ProblemStatementT&& value) { SetProblemStatement(std::forward<ProblemStatementT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 PredictQAppResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
69 bool m_appHasBeenSet = false;
70
71 Aws::String m_problemStatement;
72 bool m_problemStatementHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace QApps
80} // 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