AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAIAgentVersionRequest.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 CreateAIAgentVersionRequest();
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 "CreateAIAgentVersion"; }
33
34 AWS_QCONNECT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetAiAgentId() const{ return m_aiAgentId; }
42 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
43 inline void SetAiAgentId(const Aws::String& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = value; }
44 inline void SetAiAgentId(Aws::String&& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = std::move(value); }
45 inline void SetAiAgentId(const char* value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId.assign(value); }
46 inline CreateAIAgentVersionRequest& WithAiAgentId(const Aws::String& value) { SetAiAgentId(value); return *this;}
47 inline CreateAIAgentVersionRequest& WithAiAgentId(Aws::String&& value) { SetAiAgentId(std::move(value)); return *this;}
48 inline CreateAIAgentVersionRequest& WithAiAgentId(const char* value) { SetAiAgentId(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 CreateAIAgentVersionRequest& WithAssistantId(const Aws::String& value) { SetAssistantId(value); return *this;}
62 inline CreateAIAgentVersionRequest& WithAssistantId(Aws::String&& value) { SetAssistantId(std::move(value)); return *this;}
63 inline CreateAIAgentVersionRequest& 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 CreateAIAgentVersionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
80 inline CreateAIAgentVersionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
81 inline CreateAIAgentVersionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
83
85
93 inline const Aws::Utils::DateTime& GetModifiedTime() const{ return m_modifiedTime; }
94 inline bool ModifiedTimeHasBeenSet() const { return m_modifiedTimeHasBeenSet; }
95 inline void SetModifiedTime(const Aws::Utils::DateTime& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = value; }
96 inline void SetModifiedTime(Aws::Utils::DateTime&& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = std::move(value); }
98 inline CreateAIAgentVersionRequest& WithModifiedTime(Aws::Utils::DateTime&& value) { SetModifiedTime(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_aiAgentId;
103 bool m_aiAgentIdHasBeenSet = false;
104
105 Aws::String m_assistantId;
106 bool m_assistantIdHasBeenSet = false;
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110
111 Aws::Utils::DateTime m_modifiedTime;
112 bool m_modifiedTimeHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace QConnect
117} // namespace Aws
CreateAIAgentVersionRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateAIAgentVersionRequest & WithAssistantId(const Aws::String &value)
CreateAIAgentVersionRequest & WithAiAgentId(const Aws::String &value)
CreateAIAgentVersionRequest & WithAiAgentId(const char *value)
CreateAIAgentVersionRequest & WithClientToken(const Aws::String &value)
AWS_QCONNECT_API Aws::String SerializePayload() const override
CreateAIAgentVersionRequest & WithClientToken(const char *value)
CreateAIAgentVersionRequest & WithAssistantId(const char *value)
CreateAIAgentVersionRequest & WithAiAgentId(Aws::String &&value)
CreateAIAgentVersionRequest & WithModifiedTime(Aws::Utils::DateTime &&value)
CreateAIAgentVersionRequest & WithAssistantId(Aws::String &&value)
CreateAIAgentVersionRequest & WithModifiedTime(const Aws::Utils::DateTime &value)
void SetModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String