AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListVocabulariesRequest.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/transcribe/model/VocabularyState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace TranscribeService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSCRIBESERVICE_API ListVocabulariesRequest();
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 "ListVocabularies"; }
32
33 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
46 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
51 inline ListVocabulariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListVocabulariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListVocabulariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
62 inline int GetMaxResults() const{ return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline ListVocabulariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
75 inline const VocabularyState& GetStateEquals() const{ return m_stateEquals; }
76 inline bool StateEqualsHasBeenSet() const { return m_stateEqualsHasBeenSet; }
77 inline void SetStateEquals(const VocabularyState& value) { m_stateEqualsHasBeenSet = true; m_stateEquals = value; }
78 inline void SetStateEquals(VocabularyState&& value) { m_stateEqualsHasBeenSet = true; m_stateEquals = std::move(value); }
79 inline ListVocabulariesRequest& WithStateEquals(const VocabularyState& value) { SetStateEquals(value); return *this;}
80 inline ListVocabulariesRequest& WithStateEquals(VocabularyState&& value) { SetStateEquals(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
89 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
90 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
91 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
92 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
93 inline ListVocabulariesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
94 inline ListVocabulariesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
95 inline ListVocabulariesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
97 private:
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxResults;
103 bool m_maxResultsHasBeenSet = false;
104
105 VocabularyState m_stateEquals;
106 bool m_stateEqualsHasBeenSet = false;
107
108 Aws::String m_nameContains;
109 bool m_nameContainsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace TranscribeService
114} // namespace Aws
ListVocabulariesRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListVocabulariesRequest & WithNextToken(Aws::String &&value)
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
ListVocabulariesRequest & WithNameContains(const Aws::String &value)
ListVocabulariesRequest & WithNextToken(const Aws::String &value)
ListVocabulariesRequest & WithStateEquals(VocabularyState &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListVocabulariesRequest & WithNameContains(Aws::String &&value)
ListVocabulariesRequest & WithNameContains(const char *value)
ListVocabulariesRequest & WithStateEquals(const VocabularyState &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String