AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
DeleteBotReplicaRequest.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 LexModelsV2 {
15namespace Model {
16
20 public:
21 AWS_LEXMODELSV2_API DeleteBotReplicaRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteBotReplica"; }
28
29 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetBotId() const { return m_botId; }
37 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
38 template <typename BotIdT = Aws::String>
39 void SetBotId(BotIdT&& value) {
40 m_botIdHasBeenSet = true;
41 m_botId = std::forward<BotIdT>(value);
42 }
43 template <typename BotIdT = Aws::String>
45 SetBotId(std::forward<BotIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetReplicaRegion() const { return m_replicaRegion; }
55 inline bool ReplicaRegionHasBeenSet() const { return m_replicaRegionHasBeenSet; }
56 template <typename ReplicaRegionT = Aws::String>
57 void SetReplicaRegion(ReplicaRegionT&& value) {
58 m_replicaRegionHasBeenSet = true;
59 m_replicaRegion = std::forward<ReplicaRegionT>(value);
60 }
61 template <typename ReplicaRegionT = Aws::String>
62 DeleteBotReplicaRequest& WithReplicaRegion(ReplicaRegionT&& value) {
63 SetReplicaRegion(std::forward<ReplicaRegionT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_botId;
69
70 Aws::String m_replicaRegion;
71 bool m_botIdHasBeenSet = false;
72 bool m_replicaRegionHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace LexModelsV2
77} // namespace Aws
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
AWS_LEXMODELSV2_API DeleteBotReplicaRequest()=default
DeleteBotReplicaRequest & WithReplicaRegion(ReplicaRegionT &&value)
virtual const char * GetServiceRequestName() const override
DeleteBotReplicaRequest & WithBotId(BotIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String