AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateWatchlistRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/VoiceIDRequest.h>
10#include <aws/voice-id/VoiceID_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace VoiceID {
16namespace Model {
17
21 public:
22 AWS_VOICEID_API CreateWatchlistRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateWatchlist"; }
29
30 AWS_VOICEID_API Aws::String SerializePayload() const override;
31
33
35
42 inline const Aws::String& GetClientToken() const { return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 template <typename ClientTokenT = Aws::String>
45 void SetClientToken(ClientTokenT&& value) {
46 m_clientTokenHasBeenSet = true;
47 m_clientToken = std::forward<ClientTokenT>(value);
48 }
49 template <typename ClientTokenT = Aws::String>
50 CreateWatchlistRequest& WithClientToken(ClientTokenT&& value) {
51 SetClientToken(std::forward<ClientTokenT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template <typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) {
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
68 CreateWatchlistRequest& WithDescription(DescriptionT&& value) {
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDomainId() const { return m_domainId; }
79 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
80 template <typename DomainIdT = Aws::String>
81 void SetDomainId(DomainIdT&& value) {
82 m_domainIdHasBeenSet = true;
83 m_domainId = std::forward<DomainIdT>(value);
84 }
85 template <typename DomainIdT = Aws::String>
87 SetDomainId(std::forward<DomainIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetName() const { return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 template <typename NameT = Aws::String>
99 void SetName(NameT&& value) {
100 m_nameHasBeenSet = true;
101 m_name = std::forward<NameT>(value);
102 }
103 template <typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
106 return *this;
107 }
109 private:
111
112 Aws::String m_description;
113
114 Aws::String m_domainId;
115
116 Aws::String m_name;
117 bool m_clientTokenHasBeenSet = true;
118 bool m_descriptionHasBeenSet = false;
119 bool m_domainIdHasBeenSet = false;
120 bool m_nameHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace VoiceID
125} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateWatchlistRequest & WithDescription(DescriptionT &&value)
CreateWatchlistRequest & WithClientToken(ClientTokenT &&value)
CreateWatchlistRequest & WithName(NameT &&value)
AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_VOICEID_API CreateWatchlistRequest()=default
AWS_VOICEID_API Aws::String SerializePayload() const override
CreateWatchlistRequest & WithDomainId(DomainIdT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String