AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteAgentVersionRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace BedrockAgent
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_BEDROCKAGENT_API DeleteAgentVersionRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteAgentVersion"; }
35
36 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
37
38 AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetAgentId() const { return m_agentId; }
46 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
47 template<typename AgentIdT = Aws::String>
48 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
49 template<typename AgentIdT = Aws::String>
50 DeleteAgentVersionRequest& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAgentVersion() const { return m_agentVersion; }
58 inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; }
59 template<typename AgentVersionT = Aws::String>
60 void SetAgentVersion(AgentVersionT&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::forward<AgentVersionT>(value); }
61 template<typename AgentVersionT = Aws::String>
62 DeleteAgentVersionRequest& WithAgentVersion(AgentVersionT&& value) { SetAgentVersion(std::forward<AgentVersionT>(value)); return *this;}
64
66
71 inline bool GetSkipResourceInUseCheck() const { return m_skipResourceInUseCheck; }
72 inline bool SkipResourceInUseCheckHasBeenSet() const { return m_skipResourceInUseCheckHasBeenSet; }
73 inline void SetSkipResourceInUseCheck(bool value) { m_skipResourceInUseCheckHasBeenSet = true; m_skipResourceInUseCheck = value; }
76 private:
77
78 Aws::String m_agentId;
79 bool m_agentIdHasBeenSet = false;
80
81 Aws::String m_agentVersion;
82 bool m_agentVersionHasBeenSet = false;
83
84 bool m_skipResourceInUseCheck{false};
85 bool m_skipResourceInUseCheckHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace BedrockAgent
90} // namespace Aws
DeleteAgentVersionRequest & WithAgentId(AgentIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
DeleteAgentVersionRequest & WithAgentVersion(AgentVersionT &&value)
DeleteAgentVersionRequest & WithSkipResourceInUseCheck(bool value)
AWS_BEDROCKAGENT_API DeleteAgentVersionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String