AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetAIAgentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnectRequest.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QConnect {
15namespace Model {
16
20 public:
21 AWS_QCONNECT_API GetAIAgentRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetAIAgent"; }
28
29 AWS_QCONNECT_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
37 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
38 template <typename AssistantIdT = Aws::String>
40 m_assistantIdHasBeenSet = true;
41 m_assistantId = std::forward<AssistantIdT>(value);
42 }
43 template <typename AssistantIdT = Aws::String>
45 SetAssistantId(std::forward<AssistantIdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetAiAgentId() const { return m_aiAgentId; }
56 inline bool AiAgentIdHasBeenSet() const { return m_aiAgentIdHasBeenSet; }
57 template <typename AiAgentIdT = Aws::String>
58 void SetAiAgentId(AiAgentIdT&& value) {
59 m_aiAgentIdHasBeenSet = true;
60 m_aiAgentId = std::forward<AiAgentIdT>(value);
61 }
62 template <typename AiAgentIdT = Aws::String>
64 SetAiAgentId(std::forward<AiAgentIdT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_assistantId;
70
71 Aws::String m_aiAgentId;
72 bool m_assistantIdHasBeenSet = false;
73 bool m_aiAgentIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace QConnect
78} // namespace Aws
const Aws::String & GetAiAgentId() const
GetAIAgentRequest & WithAiAgentId(AiAgentIdT &&value)
AWS_QCONNECT_API GetAIAgentRequest()=default
void SetAssistantId(AssistantIdT &&value)
GetAIAgentRequest & WithAssistantId(AssistantIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAssistantId() const
AWS_QCONNECT_API Aws::String SerializePayload() const override
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String