AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAIPromptVersionRequest.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 <aws/core/utils/DateTime.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace QConnect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_QCONNECT_API CreateAIPromptVersionRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateAIPromptVersion"; }
33
34 AWS_QCONNECT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetAiPromptId() const{ return m_aiPromptId; }
42 inline bool AiPromptIdHasBeenSet() const { return m_aiPromptIdHasBeenSet; }
43 inline void SetAiPromptId(const Aws::String& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = value; }
44 inline void SetAiPromptId(Aws::String&& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = std::move(value); }
45 inline void SetAiPromptId(const char* value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId.assign(value); }
46 inline CreateAIPromptVersionRequest& WithAiPromptId(const Aws::String& value) { SetAiPromptId(value); return *this;}
47 inline CreateAIPromptVersionRequest& WithAiPromptId(Aws::String&& value) { SetAiPromptId(std::move(value)); return *this;}
48 inline CreateAIPromptVersionRequest& WithAiPromptId(const char* value) { SetAiPromptId(value); return *this;}
50
52
56 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
57 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
58 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
59 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
60 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
61 inline CreateAIPromptVersionRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
62 inline CreateAIPromptVersionRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
63 inline CreateAIPromptVersionRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
65
67
74 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
77 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
78 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
79 inline CreateAIPromptVersionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
80 inline CreateAIPromptVersionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
81 inline CreateAIPromptVersionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetModifiedTime() const{ return m_modifiedTime; }
89 inline bool ModifiedTimeHasBeenSet() const { return m_modifiedTimeHasBeenSet; }
90 inline void SetModifiedTime(const Aws::Utils::DateTime& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = value; }
91 inline void SetModifiedTime(Aws::Utils::DateTime&& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = std::move(value); }
93 inline CreateAIPromptVersionRequest& WithModifiedTime(Aws::Utils::DateTime&& value) { SetModifiedTime(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_aiPromptId;
98 bool m_aiPromptIdHasBeenSet = false;
99
100 Aws::String m_assistantId;
101 bool m_assistantIdHasBeenSet = false;
102
103 Aws::String m_clientToken;
104 bool m_clientTokenHasBeenSet = false;
105
106 Aws::Utils::DateTime m_modifiedTime;
107 bool m_modifiedTimeHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace QConnect
112} // namespace Aws
CreateAIPromptVersionRequest & WithAiPromptId(const Aws::String &value)
CreateAIPromptVersionRequest & WithAssistantId(const Aws::String &value)
CreateAIPromptVersionRequest & WithAssistantId(Aws::String &&value)
CreateAIPromptVersionRequest & WithClientToken(Aws::String &&value)
CreateAIPromptVersionRequest & WithAiPromptId(const char *value)
CreateAIPromptVersionRequest & WithModifiedTime(Aws::Utils::DateTime &&value)
CreateAIPromptVersionRequest & WithAssistantId(const char *value)
CreateAIPromptVersionRequest & WithClientToken(const char *value)
CreateAIPromptVersionRequest & WithModifiedTime(const Aws::Utils::DateTime &value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
CreateAIPromptVersionRequest & WithClientToken(const Aws::String &value)
CreateAIPromptVersionRequest & WithAiPromptId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String