AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
29 public:
30 AWS_BEDROCKAGENT_API FlowAliasConcurrencyConfiguration() = default;
33 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
43 inline ConcurrencyType GetType() const { return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 inline void SetType(ConcurrencyType value) {
46 m_typeHasBeenSet = true;
47 m_type = value;
48 }
50 SetType(value);
51 return *this;
52 }
54
56
60 inline int GetMaxConcurrency() const { return m_maxConcurrency; }
61 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
62 inline void SetMaxConcurrency(int value) {
63 m_maxConcurrencyHasBeenSet = true;
64 m_maxConcurrency = value;
65 }
67 SetMaxConcurrency(value);
68 return *this;
69 }
71 private:
73
74 int m_maxConcurrency{0};
75 bool m_typeHasBeenSet = false;
76 bool m_maxConcurrencyHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgent
81} // 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue