AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAIPromptResult.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/AIPromptData.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 QConnect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QCONNECT_API GetAIPromptResult();
34
35
37
40 inline const AIPromptData& GetAiPrompt() const{ return m_aiPrompt; }
41 inline void SetAiPrompt(const AIPromptData& value) { m_aiPrompt = value; }
42 inline void SetAiPrompt(AIPromptData&& value) { m_aiPrompt = std::move(value); }
43 inline GetAIPromptResult& WithAiPrompt(const AIPromptData& value) { SetAiPrompt(value); return *this;}
44 inline GetAIPromptResult& WithAiPrompt(AIPromptData&& value) { SetAiPrompt(std::move(value)); return *this;}
46
48
53 inline long long GetVersionNumber() const{ return m_versionNumber; }
54 inline void SetVersionNumber(long long value) { m_versionNumber = value; }
55 inline GetAIPromptResult& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline GetAIPromptResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline GetAIPromptResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline GetAIPromptResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 AIPromptData m_aiPrompt;
71
72 long long m_versionNumber;
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace QConnect
79} // namespace Aws
GetAIPromptResult & WithVersionNumber(long long value)
AWS_QCONNECT_API GetAIPromptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAIPromptResult & WithRequestId(const char *value)
GetAIPromptResult & WithRequestId(Aws::String &&value)
AWS_QCONNECT_API GetAIPromptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
GetAIPromptResult & WithRequestId(const Aws::String &value)
const AIPromptData & GetAiPrompt() const
GetAIPromptResult & WithAiPrompt(AIPromptData &&value)
GetAIPromptResult & WithAiPrompt(const AIPromptData &value)
void SetAiPrompt(const AIPromptData &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue