AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateWatchlistRequest.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/VoiceIDRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace VoiceID
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_VOICEID_API CreateWatchlistRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateWatchlist"; }
32
33 AWS_VOICEID_API Aws::String SerializePayload() const override;
34
36
37
39
46 inline const Aws::String& GetClientToken() const { return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 template<typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<typename ClientTokenT = Aws::String>
51 CreateWatchlistRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 CreateWatchlistRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDomainId() const { return m_domainId; }
71 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
72 template<typename DomainIdT = Aws::String>
73 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
74 template<typename DomainIdT = Aws::String>
75 CreateWatchlistRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
77
79
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 CreateWatchlistRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89 private:
90
92 bool m_clientTokenHasBeenSet = true;
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96
97 Aws::String m_domainId;
98 bool m_domainIdHasBeenSet = false;
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace VoiceID
106} // 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