AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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
42 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
43 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
44 template<typename AssistantIdT = Aws::String>
45 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
46 template<typename AssistantIdT = Aws::String>
47 CreateAIAgentVersionRequest& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetAiAgentId() const { return m_aiAgentId; }
55 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
56 template<typename AiAgentIdT = Aws::String>
57 void SetAiAgentId(AiAgentIdT&& value) { m_aiAgentIdHasBeenSet = true; m_aiAgentId = std::forward<AiAgentIdT>(value); }
58 template<typename AiAgentIdT = Aws::String>
59 CreateAIAgentVersionRequest& WithAiAgentId(AiAgentIdT&& value) { SetAiAgentId(std::forward<AiAgentIdT>(value)); return *this;}
61
63
71 inline const Aws::Utils::DateTime& GetModifiedTime() const { return m_modifiedTime; }
72 inline bool ModifiedTimeHasBeenSet() const { return m_modifiedTimeHasBeenSet; }
73 template<typename ModifiedTimeT = Aws::Utils::DateTime>
74 void SetModifiedTime(ModifiedTimeT&& value) { m_modifiedTimeHasBeenSet = true; m_modifiedTime = std::forward<ModifiedTimeT>(value); }
75 template<typename ModifiedTimeT = Aws::Utils::DateTime>
76 CreateAIAgentVersionRequest& WithModifiedTime(ModifiedTimeT&& value) { SetModifiedTime(std::forward<ModifiedTimeT>(value)); return *this;}
78
80
87 inline const Aws::String& GetClientToken() const { return m_clientToken; }
88 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
89 template<typename ClientTokenT = Aws::String>
90 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
91 template<typename ClientTokenT = Aws::String>
92 CreateAIAgentVersionRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
94 private:
95
96 Aws::String m_assistantId;
97 bool m_assistantIdHasBeenSet = false;
98
99 Aws::String m_aiAgentId;
100 bool m_aiAgentIdHasBeenSet = false;
101
102 Aws::Utils::DateTime m_modifiedTime{};
103 bool m_modifiedTimeHasBeenSet = false;
104
106 bool m_clientTokenHasBeenSet = true;
107 };
108
109} // namespace Model
110} // namespace QConnect
111} // namespace Aws
CreateAIAgentVersionRequest & WithAiAgentId(AiAgentIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateAIAgentVersionRequest & WithAssistantId(AssistantIdT &&value)
CreateAIAgentVersionRequest & WithModifiedTime(ModifiedTimeT &&value)
CreateAIAgentVersionRequest & WithClientToken(ClientTokenT &&value)
AWS_QCONNECT_API CreateAIAgentVersionRequest()=default
AWS_QCONNECT_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String