AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteBotVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace LexModelsV2 {
18namespace Model {
19
23 public:
24 AWS_LEXMODELSV2_API DeleteBotVersionRequest() = 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 "DeleteBotVersion"; }
31
32 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
33
34 AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetBotId() const { return m_botId; }
41 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
42 template <typename BotIdT = Aws::String>
43 void SetBotId(BotIdT&& value) {
44 m_botIdHasBeenSet = true;
45 m_botId = std::forward<BotIdT>(value);
46 }
47 template <typename BotIdT = Aws::String>
49 SetBotId(std::forward<BotIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
59 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
60 template <typename BotVersionT = Aws::String>
61 void SetBotVersion(BotVersionT&& value) {
62 m_botVersionHasBeenSet = true;
63 m_botVersion = std::forward<BotVersionT>(value);
64 }
65 template <typename BotVersionT = Aws::String>
67 SetBotVersion(std::forward<BotVersionT>(value));
68 return *this;
69 }
71
73
80 inline bool GetSkipResourceInUseCheck() const { return m_skipResourceInUseCheck; }
81 inline bool SkipResourceInUseCheckHasBeenSet() const { return m_skipResourceInUseCheckHasBeenSet; }
82 inline void SetSkipResourceInUseCheck(bool value) {
83 m_skipResourceInUseCheckHasBeenSet = true;
84 m_skipResourceInUseCheck = value;
85 }
88 return *this;
89 }
91 private:
92 Aws::String m_botId;
93
94 Aws::String m_botVersion;
95
96 bool m_skipResourceInUseCheck{false};
97 bool m_botIdHasBeenSet = false;
98 bool m_botVersionHasBeenSet = false;
99 bool m_skipResourceInUseCheckHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace LexModelsV2
104} // namespace Aws
DeleteBotVersionRequest & WithBotVersion(BotVersionT &&value)
DeleteBotVersionRequest & WithBotId(BotIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LEXMODELSV2_API DeleteBotVersionRequest()=default
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
DeleteBotVersionRequest & WithSkipResourceInUseCheck(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String