AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
InferenceConfig.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CustomerProfiles {
17namespace Model {
18
26 public:
27 AWS_CUSTOMERPROFILES_API InferenceConfig() = default;
28 AWS_CUSTOMERPROFILES_API InferenceConfig(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CUSTOMERPROFILES_API InferenceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline int GetMinProvisionedTPS() const { return m_minProvisionedTPS; }
39 inline bool MinProvisionedTPSHasBeenSet() const { return m_minProvisionedTPSHasBeenSet; }
40 inline void SetMinProvisionedTPS(int value) {
41 m_minProvisionedTPSHasBeenSet = true;
42 m_minProvisionedTPS = value;
43 }
46 return *this;
47 }
49 private:
50 int m_minProvisionedTPS{0};
51 bool m_minProvisionedTPSHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace CustomerProfiles
56} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API InferenceConfig()=default
AWS_CUSTOMERPROFILES_API InferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API InferenceConfig(Aws::Utils::Json::JsonView jsonValue)
InferenceConfig & WithMinProvisionedTPS(int value)
Aws::Utils::Json::JsonValue JsonValue