AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DeleteBotAliasRequest.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 DeleteBotAliasRequest() = 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 "DeleteBotAlias"; }
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& GetBotAliasId() const { return m_botAliasId; }
41 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
42 template <typename BotAliasIdT = Aws::String>
43 void SetBotAliasId(BotAliasIdT&& value) {
44 m_botAliasIdHasBeenSet = true;
45 m_botAliasId = std::forward<BotAliasIdT>(value);
46 }
47 template <typename BotAliasIdT = Aws::String>
48 DeleteBotAliasRequest& WithBotAliasId(BotAliasIdT&& value) {
49 SetBotAliasId(std::forward<BotAliasIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetBotId() const { return m_botId; }
59 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
60 template <typename BotIdT = Aws::String>
61 void SetBotId(BotIdT&& value) {
62 m_botIdHasBeenSet = true;
63 m_botId = std::forward<BotIdT>(value);
64 }
65 template <typename BotIdT = Aws::String>
67 SetBotId(std::forward<BotIdT>(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_botAliasId;
93
94 Aws::String m_botId;
95
96 bool m_skipResourceInUseCheck{false};
97 bool m_botAliasIdHasBeenSet = false;
98 bool m_botIdHasBeenSet = false;
99 bool m_skipResourceInUseCheckHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace LexModelsV2
104} // namespace Aws
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
AWS_LEXMODELSV2_API DeleteBotAliasRequest()=default
DeleteBotAliasRequest & WithBotAliasId(BotAliasIdT &&value)
DeleteBotAliasRequest & WithBotId(BotIdT &&value)
virtual const char * GetServiceRequestName() const override
DeleteBotAliasRequest & WithSkipResourceInUseCheck(bool value)
AWS_LEXMODELSV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String