AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FlowAliasConcurrencyConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ConcurrencyType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BEDROCKAGENT_API FlowAliasConcurrencyConfiguration() = default;
38 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetMaxConcurrency() const { return m_maxConcurrency; }
47 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
48 inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
51
53
60 inline ConcurrencyType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(ConcurrencyType value) { m_typeHasBeenSet = true; m_type = value; }
63 inline FlowAliasConcurrencyConfiguration& WithType(ConcurrencyType value) { SetType(value); return *this;}
65 private:
66
67 int m_maxConcurrency{0};
68 bool m_maxConcurrencyHasBeenSet = false;
69
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace BedrockAgent
76} // namespace Aws
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API FlowAliasConcurrencyConfiguration()=default
AWS_BEDROCKAGENT_API FlowAliasConcurrencyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowAliasConcurrencyConfiguration & WithType(ConcurrencyType value)
AWS_BEDROCKAGENT_API FlowAliasConcurrencyConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue