AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline CreateWatchlistRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline CreateWatchlistRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline CreateWatchlistRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline CreateWatchlistRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline CreateWatchlistRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline CreateWatchlistRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::String& GetDomainId() const{ return m_domainId; }
75 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
76 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
77 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
78 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
79 inline CreateWatchlistRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
80 inline CreateWatchlistRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
81 inline CreateWatchlistRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
83
85
88 inline const Aws::String& GetName() const{ return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
91 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
92 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
93 inline CreateWatchlistRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
94 inline CreateWatchlistRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
95 inline CreateWatchlistRequest& WithName(const char* value) { SetName(value); return *this;}
97 private:
98
99 Aws::String m_clientToken;
100 bool m_clientTokenHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 Aws::String m_domainId;
106 bool m_domainIdHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace VoiceID
114} // namespace Aws
CreateWatchlistRequest & WithDescription(Aws::String &&value)
CreateWatchlistRequest & WithDomainId(const Aws::String &value)
CreateWatchlistRequest & WithName(const Aws::String &value)
CreateWatchlistRequest & WithName(const char *value)
CreateWatchlistRequest & WithClientToken(const char *value)
AWS_VOICEID_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_VOICEID_API Aws::String SerializePayload() const override
CreateWatchlistRequest & WithDomainId(const char *value)
CreateWatchlistRequest & WithName(Aws::String &&value)
CreateWatchlistRequest & WithClientToken(Aws::String &&value)
CreateWatchlistRequest & WithDomainId(Aws::String &&value)
CreateWatchlistRequest & WithDescription(const char *value)
CreateWatchlistRequest & WithDescription(const Aws::String &value)
CreateWatchlistRequest & WithClientToken(const Aws::String &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