AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListLanguageModelsRequest.h
1
6#pragma once
7#include <aws/transcribe/TranscribeService_EXPORTS.h>
8#include <aws/transcribe/TranscribeServiceRequest.h>
9#include <aws/transcribe/model/ModelStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace TranscribeService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSCRIBESERVICE_API ListLanguageModelsRequest();
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 "ListLanguageModels"; }
32
33 AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
44 inline const ModelStatus& GetStatusEquals() const{ return m_statusEquals; }
45 inline bool StatusEqualsHasBeenSet() const { return m_statusEqualsHasBeenSet; }
46 inline void SetStatusEquals(const ModelStatus& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = value; }
47 inline void SetStatusEquals(ModelStatus&& value) { m_statusEqualsHasBeenSet = true; m_statusEquals = std::move(value); }
48 inline ListLanguageModelsRequest& WithStatusEquals(const ModelStatus& value) { SetStatusEquals(value); return *this;}
49 inline ListLanguageModelsRequest& WithStatusEquals(ModelStatus&& value) { SetStatusEquals(std::move(value)); return *this;}
51
53
57 inline const Aws::String& GetNameContains() const{ return m_nameContains; }
58 inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
59 inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
60 inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
61 inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
62 inline ListLanguageModelsRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
63 inline ListLanguageModelsRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
64 inline ListLanguageModelsRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
66
68
75 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
80 inline ListLanguageModelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline ListLanguageModelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline ListLanguageModelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84
86
92 inline int GetMaxResults() const{ return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline ListLanguageModelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97 private:
98
99 ModelStatus m_statusEquals;
100 bool m_statusEqualsHasBeenSet = false;
101
102 Aws::String m_nameContains;
103 bool m_nameContainsHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace TranscribeService
114} // namespace Aws
ListLanguageModelsRequest & WithNameContains(const Aws::String &value)
ListLanguageModelsRequest & WithNextToken(const char *value)
ListLanguageModelsRequest & WithNameContains(Aws::String &&value)
ListLanguageModelsRequest & WithNextToken(const Aws::String &value)
ListLanguageModelsRequest & WithNameContains(const char *value)
ListLanguageModelsRequest & WithStatusEquals(const ModelStatus &value)
ListLanguageModelsRequest & WithNextToken(Aws::String &&value)
AWS_TRANSCRIBESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_TRANSCRIBESERVICE_API Aws::String SerializePayload() const override
ListLanguageModelsRequest & WithStatusEquals(ModelStatus &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String