AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
ProjectDataRetention.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/model/DataRetentionMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Bedrock {
20namespace Model {
21
32 public:
33 AWS_BEDROCK_API ProjectDataRetention() = default;
36 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline DataRetentionMode GetMode() const { return m_mode; }
44 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
45 inline void SetMode(DataRetentionMode value) {
46 m_modeHasBeenSet = true;
47 m_mode = value;
48 }
50 SetMode(value);
51 return *this;
52 }
54 private:
56 bool m_modeHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace Bedrock
61} // namespace Aws
AWS_BEDROCK_API ProjectDataRetention(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCK_API ProjectDataRetention & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectDataRetention & WithMode(DataRetentionMode value)
AWS_BEDROCK_API ProjectDataRetention()=default
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue