AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelClientConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SAGEMAKER_API ModelClientConfig();
34 AWS_SAGEMAKER_API ModelClientConfig(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetInvocationsTimeoutInSeconds() const{ return m_invocationsTimeoutInSeconds; }
45 inline bool InvocationsTimeoutInSecondsHasBeenSet() const { return m_invocationsTimeoutInSecondsHasBeenSet; }
46 inline void SetInvocationsTimeoutInSeconds(int value) { m_invocationsTimeoutInSecondsHasBeenSet = true; m_invocationsTimeoutInSeconds = value; }
49
51
55 inline int GetInvocationsMaxRetries() const{ return m_invocationsMaxRetries; }
56 inline bool InvocationsMaxRetriesHasBeenSet() const { return m_invocationsMaxRetriesHasBeenSet; }
57 inline void SetInvocationsMaxRetries(int value) { m_invocationsMaxRetriesHasBeenSet = true; m_invocationsMaxRetries = value; }
58 inline ModelClientConfig& WithInvocationsMaxRetries(int value) { SetInvocationsMaxRetries(value); return *this;}
60 private:
61
62 int m_invocationsTimeoutInSeconds;
63 bool m_invocationsTimeoutInSecondsHasBeenSet = false;
64
65 int m_invocationsMaxRetries;
66 bool m_invocationsMaxRetriesHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace SageMaker
71} // namespace Aws
ModelClientConfig & WithInvocationsMaxRetries(int value)
AWS_SAGEMAKER_API ModelClientConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelClientConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelClientConfig & WithInvocationsTimeoutInSeconds(int value)
Aws::Utils::Json::JsonValue JsonValue