AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
RegisterAssistantReplicaKeyRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/QConnectRequest.h>
10#include <aws/qconnect/QConnect_EXPORTS.h>
11#include <aws/qconnect/model/ReplicaKmsKey.h>
12
13#include <utility>
14
15namespace Aws {
16namespace QConnect {
17namespace Model {
18
22 public:
23 AWS_QCONNECT_API RegisterAssistantReplicaKeyRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "RegisterAssistantReplicaKey"; }
30
31 AWS_QCONNECT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetAssistantId() const { return m_assistantId; }
38 inline bool AssistantIdHasBeenSet() const { return m_assistantIdHasBeenSet; }
39 template <typename AssistantIdT = Aws::String>
40 void SetAssistantId(AssistantIdT&& value) {
41 m_assistantIdHasBeenSet = true;
42 m_assistantId = std::forward<AssistantIdT>(value);
43 }
44 template <typename AssistantIdT = Aws::String>
46 SetAssistantId(std::forward<AssistantIdT>(value));
47 return *this;
48 }
50
52
55 inline const ReplicaKmsKey& GetReplicaKmsKey() const { return m_replicaKmsKey; }
56 inline bool ReplicaKmsKeyHasBeenSet() const { return m_replicaKmsKeyHasBeenSet; }
57 template <typename ReplicaKmsKeyT = ReplicaKmsKey>
58 void SetReplicaKmsKey(ReplicaKmsKeyT&& value) {
59 m_replicaKmsKeyHasBeenSet = true;
60 m_replicaKmsKey = std::forward<ReplicaKmsKeyT>(value);
61 }
62 template <typename ReplicaKmsKeyT = ReplicaKmsKey>
64 SetReplicaKmsKey(std::forward<ReplicaKmsKeyT>(value));
65 return *this;
66 }
68
70
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template <typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) {
81 m_clientTokenHasBeenSet = true;
82 m_clientToken = std::forward<ClientTokenT>(value);
83 }
84 template <typename ClientTokenT = Aws::String>
86 SetClientToken(std::forward<ClientTokenT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_assistantId;
92
93 ReplicaKmsKey m_replicaKmsKey;
94
96 bool m_assistantIdHasBeenSet = false;
97 bool m_replicaKmsKeyHasBeenSet = false;
98 bool m_clientTokenHasBeenSet = true;
99};
100
101} // namespace Model
102} // namespace QConnect
103} // namespace Aws
AWS_QCONNECT_API Aws::String SerializePayload() const override
RegisterAssistantReplicaKeyRequest & WithClientToken(ClientTokenT &&value)
RegisterAssistantReplicaKeyRequest & WithReplicaKmsKey(ReplicaKmsKeyT &&value)
RegisterAssistantReplicaKeyRequest & WithAssistantId(AssistantIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String