AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteBotRequest.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 DeleteBotRequest() = 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 "DeleteBot"; }
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>
48 DeleteBotRequest& WithBotId(BotIdT&& value) {
49 SetBotId(std::forward<BotIdT>(value));
50 return *this;
51 }
53
55
62 inline bool GetSkipResourceInUseCheck() const { return m_skipResourceInUseCheck; }
63 inline bool SkipResourceInUseCheckHasBeenSet() const { return m_skipResourceInUseCheckHasBeenSet; }
64 inline void SetSkipResourceInUseCheck(bool value) {
65 m_skipResourceInUseCheckHasBeenSet = true;
66 m_skipResourceInUseCheck = value;
67 }
70 return *this;
71 }
73 private:
74 Aws::String m_botId;
75
76 bool m_skipResourceInUseCheck{false};
77 bool m_botIdHasBeenSet = false;
78 bool m_skipResourceInUseCheckHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace LexModelsV2
83} // namespace Aws
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteBotRequest & WithBotId(BotIdT &&value)
virtual const char * GetServiceRequestName() const override
DeleteBotRequest & WithSkipResourceInUseCheck(bool value)
AWS_LEXMODELSV2_API DeleteBotRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String