AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
UpdateWatchlistRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/voice-id/VoiceIDRequest.h>
9#include <aws/voice-id/VoiceID_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace VoiceID {
15namespace Model {
16
20 public:
21 AWS_VOICEID_API UpdateWatchlistRequest() = 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 "UpdateWatchlist"; }
28
29 AWS_VOICEID_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetDescription() const { return m_description; }
38 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
39 template <typename DescriptionT = Aws::String>
40 void SetDescription(DescriptionT&& value) {
41 m_descriptionHasBeenSet = true;
42 m_description = std::forward<DescriptionT>(value);
43 }
44 template <typename DescriptionT = Aws::String>
45 UpdateWatchlistRequest& WithDescription(DescriptionT&& value) {
46 SetDescription(std::forward<DescriptionT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDomainId() const { return m_domainId; }
56 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
57 template <typename DomainIdT = Aws::String>
58 void SetDomainId(DomainIdT&& value) {
59 m_domainIdHasBeenSet = true;
60 m_domainId = std::forward<DomainIdT>(value);
61 }
62 template <typename DomainIdT = Aws::String>
64 SetDomainId(std::forward<DomainIdT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetWatchlistId() const { return m_watchlistId; }
92 inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; }
93 template <typename WatchlistIdT = Aws::String>
94 void SetWatchlistId(WatchlistIdT&& value) {
95 m_watchlistIdHasBeenSet = true;
96 m_watchlistId = std::forward<WatchlistIdT>(value);
97 }
98 template <typename WatchlistIdT = Aws::String>
99 UpdateWatchlistRequest& WithWatchlistId(WatchlistIdT&& value) {
100 SetWatchlistId(std::forward<WatchlistIdT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_description;
106
107 Aws::String m_domainId;
108
109 Aws::String m_name;
110
111 Aws::String m_watchlistId;
112 bool m_descriptionHasBeenSet = false;
113 bool m_domainIdHasBeenSet = false;
114 bool m_nameHasBeenSet = false;
115 bool m_watchlistIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace VoiceID
120} // namespace Aws
UpdateWatchlistRequest & WithName(NameT &&value)
UpdateWatchlistRequest & WithDomainId(DomainIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateWatchlistRequest & WithDescription(DescriptionT &&value)
AWS_VOICEID_API Aws::String SerializePayload() const override
UpdateWatchlistRequest & WithWatchlistId(WatchlistIdT &&value)
AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_VOICEID_API UpdateWatchlistRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String