AWS SDK for C++

AWS SDK for C++ Version 1.11.678

Loading...
Searching...
No Matches
ListVocabulariesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/transcribe/TranscribeService_EXPORTS.h>
10#include <aws/transcribe/model/VocabularyState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace TranscribeService {
16namespace Model {
17
21 public:
22 AWS_TRANSCRIBESERVICE_API ListVocabulariesRequest() = 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 "ListVocabularies"; }
29
30 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
42 inline const Aws::String& GetNextToken() const { return m_nextToken; }
43 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
44 template <typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) {
46 m_nextTokenHasBeenSet = true;
47 m_nextToken = std::forward<NextTokenT>(value);
48 }
49 template <typename NextTokenT = Aws::String>
51 SetNextToken(std::forward<NextTokenT>(value));
52 return *this;
53 }
55
57
62 inline int GetMaxResults() const { return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) {
65 m_maxResultsHasBeenSet = true;
66 m_maxResults = value;
67 }
69 SetMaxResults(value);
70 return *this;
71 }
73
75
81 inline VocabularyState GetStateEquals() const { return m_stateEquals; }
82 inline bool StateEqualsHasBeenSet() const { return m_stateEqualsHasBeenSet; }
83 inline void SetStateEquals(VocabularyState value) {
84 m_stateEqualsHasBeenSet = true;
85 m_stateEquals = value;
86 }
88 SetStateEquals(value);
89 return *this;
90 }
92
94
98 inline const Aws::String& GetNameContains() const { return m_nameContains; }
99 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
100 template <typename NameContainsT = Aws::String>
101 void SetNameContains(NameContainsT&& value) {
102 m_nameContainsHasBeenSet = true;
103 m_nameContains = std::forward<NameContainsT>(value);
104 }
105 template <typename NameContainsT = Aws::String>
107 SetNameContains(std::forward<NameContainsT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_nextToken;
113 bool m_nextTokenHasBeenSet = false;
114
115 int m_maxResults{0};
116 bool m_maxResultsHasBeenSet = false;
117
119 bool m_stateEqualsHasBeenSet = false;
120
121 Aws::String m_nameContains;
122 bool m_nameContainsHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace TranscribeService
127} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListVocabulariesRequest & WithNameContains(NameContainsT &&value)
AWS_TRANSCRIBESERVICE_API ListVocabulariesRequest()=default
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
ListVocabulariesRequest & WithNextToken(NextTokenT &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListVocabulariesRequest & WithStateEquals(VocabularyState value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String