AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAIPromptVersionRequest.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace QConnect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QCONNECT_API DeleteAIPromptVersionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteAIPromptVersion"; }
31
32 AWS_QCONNECT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
41 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
42 template<typename AssistantIdT = Aws::String>
43 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
44 template<typename AssistantIdT = Aws::String>
45 DeleteAIPromptVersionRequest& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetAiPromptId() const { return m_aiPromptId; }
53 inline bool AiPromptIdHasBeenSet() const { return m_aiPromptIdHasBeenSet; }
54 template<typename AiPromptIdT = Aws::String>
55 void SetAiPromptId(AiPromptIdT&& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = std::forward<AiPromptIdT>(value); }
56 template<typename AiPromptIdT = Aws::String>
57 DeleteAIPromptVersionRequest& WithAiPromptId(AiPromptIdT&& value) { SetAiPromptId(std::forward<AiPromptIdT>(value)); return *this;}
59
61
64 inline long long GetVersionNumber() const { return m_versionNumber; }
65 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
66 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
67 inline DeleteAIPromptVersionRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
69 private:
70
71 Aws::String m_assistantId;
72 bool m_assistantIdHasBeenSet = false;
73
74 Aws::String m_aiPromptId;
75 bool m_aiPromptIdHasBeenSet = false;
76
77 long long m_versionNumber{0};
78 bool m_versionNumberHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QConnect
83} // namespace Aws
AWS_QCONNECT_API Aws::String SerializePayload() const override
DeleteAIPromptVersionRequest & WithAiPromptId(AiPromptIdT &&value)
DeleteAIPromptVersionRequest & WithAssistantId(AssistantIdT &&value)
DeleteAIPromptVersionRequest & WithVersionNumber(long long value)
AWS_QCONNECT_API DeleteAIPromptVersionRequest()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String