AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ServiceTier.h
1
6#pragma once
7#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>
8#include <aws/bedrock-runtime/model/ServiceTierType.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockRuntime {
20namespace Model {
21
29 public:
30 AWS_BEDROCKRUNTIME_API ServiceTier() = default;
33 AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline ServiceTierType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 inline void SetType(ServiceTierType value) {
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50 private:
52 bool m_typeHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace BedrockRuntime
57} // namespace Aws
AWS_BEDROCKRUNTIME_API ServiceTier(Aws::Utils::Json::JsonView jsonValue)
void SetType(ServiceTierType value)
Definition ServiceTier.h:41
AWS_BEDROCKRUNTIME_API ServiceTier & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceTier & WithType(ServiceTierType value)
Definition ServiceTier.h:45
AWS_BEDROCKRUNTIME_API ServiceTier()=default
AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue