AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
ListInferenceProfilesRequest.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock/model/InferenceProfileType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Bedrock
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_BEDROCK_API ListInferenceProfilesRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListInferenceProfiles"; }
36
37 AWS_BEDROCK_API Aws::String SerializePayload() const override;
38
39 AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
49 inline int GetMaxResults() const { return m_maxResults; }
50 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
51 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
52 inline ListInferenceProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
54
56
62 inline const Aws::String& GetNextToken() const { return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 template<typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
66 template<typename NextTokenT = Aws::String>
67 ListInferenceProfilesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
69
71
80 inline InferenceProfileType GetTypeEquals() const { return m_typeEquals; }
81 inline bool TypeEqualsHasBeenSet() const { return m_typeEqualsHasBeenSet; }
82 inline void SetTypeEquals(InferenceProfileType value) { m_typeEqualsHasBeenSet = true; m_typeEquals = value; }
85 private:
86
87 int m_maxResults{0};
88 bool m_maxResultsHasBeenSet = false;
89
90 Aws::String m_nextToken;
91 bool m_nextTokenHasBeenSet = false;
92
94 bool m_typeEqualsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Bedrock
99} // namespace Aws
ListInferenceProfilesRequest & WithNextToken(NextTokenT &&value)
ListInferenceProfilesRequest & WithMaxResults(int value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
ListInferenceProfilesRequest & WithTypeEquals(InferenceProfileType value)
AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_BEDROCK_API ListInferenceProfilesRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String