AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAIGuardrailVersionRequest.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 <utility>
11
12namespace Aws
13{
14namespace QConnect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_QCONNECT_API DeleteAIGuardrailVersionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteAIGuardrailVersion"; }
31
32 AWS_QCONNECT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
41 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
42 template<typename AssistantIdT = Aws::String>
43 void SetAssistantId(AssistantIdT&& value) { m_assistantIdHasBeenSet = true; m_assistantId = std::forward<AssistantIdT>(value); }
44 template<typename AssistantIdT = Aws::String>
45 DeleteAIGuardrailVersionRequest& WithAssistantId(AssistantIdT&& value) { SetAssistantId(std::forward<AssistantIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetAiGuardrailId() const { return m_aiGuardrailId; }
53 inline bool AiGuardrailIdHasBeenSet() const { return m_aiGuardrailIdHasBeenSet; }
54 template<typename AiGuardrailIdT = Aws::String>
55 void SetAiGuardrailId(AiGuardrailIdT&& value) { m_aiGuardrailIdHasBeenSet = true; m_aiGuardrailId = std::forward<AiGuardrailIdT>(value); }
56 template<typename AiGuardrailIdT = Aws::String>
57 DeleteAIGuardrailVersionRequest& WithAiGuardrailId(AiGuardrailIdT&& value) { SetAiGuardrailId(std::forward<AiGuardrailIdT>(value)); return *this;}
59
61
64 inline long long GetVersionNumber() const { return m_versionNumber; }
65 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
66 inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
67 inline DeleteAIGuardrailVersionRequest& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
69 private:
70
71 Aws::String m_assistantId;
72 bool m_assistantIdHasBeenSet = false;
73
74 Aws::String m_aiGuardrailId;
75 bool m_aiGuardrailIdHasBeenSet = false;
76
77 long long m_versionNumber{0};
78 bool m_versionNumberHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QConnect
83} // namespace Aws
AWS_QCONNECT_API DeleteAIGuardrailVersionRequest()=default
AWS_QCONNECT_API Aws::String SerializePayload() const override
DeleteAIGuardrailVersionRequest & WithAssistantId(AssistantIdT &&value)
DeleteAIGuardrailVersionRequest & WithVersionNumber(long long value)
DeleteAIGuardrailVersionRequest & WithAiGuardrailId(AiGuardrailIdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String