AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAIPromptRequest.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/qconnect/model/AIPromptTemplateConfiguration.h>
11#include <aws/qconnect/model/VisibilityStatus.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace QConnect
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_QCONNECT_API UpdateAIPromptRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateAIPrompt"; }
34
35 AWS_QCONNECT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetAiPromptId() const{ return m_aiPromptId; }
43 inline bool AiPromptIdHasBeenSet() const { return m_aiPromptIdHasBeenSet; }
44 inline void SetAiPromptId(const Aws::String& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = value; }
45 inline void SetAiPromptId(Aws::String&& value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId = std::move(value); }
46 inline void SetAiPromptId(const char* value) { m_aiPromptIdHasBeenSet = true; m_aiPromptId.assign(value); }
47 inline UpdateAIPromptRequest& WithAiPromptId(const Aws::String& value) { SetAiPromptId(value); return *this;}
48 inline UpdateAIPromptRequest& WithAiPromptId(Aws::String&& value) { SetAiPromptId(std::move(value)); return *this;}
49 inline UpdateAIPromptRequest& WithAiPromptId(const char* value) { SetAiPromptId(value); return *this;}
51
53
57 inline const Aws::String& GetAssistantId() const{ return m_assistantId; }
58 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
59 inline void SetAssistantId(const Aws::String& value) { m_assistantIdHasBeenSet = true; m_assistantId = value; }
60 inline void SetAssistantId(Aws::String&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::move(value); }
61 inline void SetAssistantId(const char* value) { m_assistantIdHasBeenSet = true; m_assistantId.assign(value); }
62 inline UpdateAIPromptRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
63 inline UpdateAIPromptRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
64 inline UpdateAIPromptRequest& WithAssistantId(const char* value) { SetAssistantId(value); return *this;}
66
68
75 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
78 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
79 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
80 inline UpdateAIPromptRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
81 inline UpdateAIPromptRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
82 inline UpdateAIPromptRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline UpdateAIPromptRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline UpdateAIPromptRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline UpdateAIPromptRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const AIPromptTemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; }
104 inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
105 inline void SetTemplateConfiguration(const AIPromptTemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; }
106 inline void SetTemplateConfiguration(AIPromptTemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); }
110
112
115 inline const VisibilityStatus& GetVisibilityStatus() const{ return m_visibilityStatus; }
116 inline bool VisibilityStatusHasBeenSet() const { return m_visibilityStatusHasBeenSet; }
117 inline void SetVisibilityStatus(const VisibilityStatus& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = value; }
118 inline void SetVisibilityStatus(VisibilityStatus&& value) { m_visibilityStatusHasBeenSet = true; m_visibilityStatus = std::move(value); }
120 inline UpdateAIPromptRequest& WithVisibilityStatus(VisibilityStatus&& value) { SetVisibilityStatus(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_aiPromptId;
125 bool m_aiPromptIdHasBeenSet = false;
126
127 Aws::String m_assistantId;
128 bool m_assistantIdHasBeenSet = false;
129
130 Aws::String m_clientToken;
131 bool m_clientTokenHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 AIPromptTemplateConfiguration m_templateConfiguration;
137 bool m_templateConfigurationHasBeenSet = false;
138
139 VisibilityStatus m_visibilityStatus;
140 bool m_visibilityStatusHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace QConnect
145} // namespace Aws
void SetTemplateConfiguration(AIPromptTemplateConfiguration &&value)
UpdateAIPromptRequest & WithAiPromptId(const char *value)
UpdateAIPromptRequest & WithClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateAIPromptRequest & WithDescription(const Aws::String &value)
void SetVisibilityStatus(const VisibilityStatus &value)
UpdateAIPromptRequest & WithClientToken(const char *value)
UpdateAIPromptRequest & WithTemplateConfiguration(AIPromptTemplateConfiguration &&value)
const AIPromptTemplateConfiguration & GetTemplateConfiguration() const
UpdateAIPromptRequest & WithAssistantId(Aws::String &&value)
UpdateAIPromptRequest & WithAssistantId(const Aws::String &value)
UpdateAIPromptRequest & WithVisibilityStatus(VisibilityStatus &&value)
void SetTemplateConfiguration(const AIPromptTemplateConfiguration &value)
UpdateAIPromptRequest & WithAssistantId(const char *value)
UpdateAIPromptRequest & WithTemplateConfiguration(const AIPromptTemplateConfiguration &value)
UpdateAIPromptRequest & WithClientToken(Aws::String &&value)
UpdateAIPromptRequest & WithAiPromptId(Aws::String &&value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
UpdateAIPromptRequest & WithAiPromptId(const Aws::String &value)
const VisibilityStatus & GetVisibilityStatus() const
UpdateAIPromptRequest & WithVisibilityStatus(const VisibilityStatus &value)
void SetVisibilityStatus(VisibilityStatus &&value)
UpdateAIPromptRequest & WithDescription(Aws::String &&value)
UpdateAIPromptRequest & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String