AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MagneticStoreWriteProperties.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/timestream-write/model/MagneticStoreRejectedDataLocation.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 TimestreamWrite
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TIMESTREAMWRITE_API MagneticStoreWriteProperties();
36 AWS_TIMESTREAMWRITE_API MagneticStoreWriteProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline bool GetEnableMagneticStoreWrites() const{ return m_enableMagneticStoreWrites; }
46 inline bool EnableMagneticStoreWritesHasBeenSet() const { return m_enableMagneticStoreWritesHasBeenSet; }
47 inline void SetEnableMagneticStoreWrites(bool value) { m_enableMagneticStoreWritesHasBeenSet = true; m_enableMagneticStoreWrites = value; }
50
52
56 inline const MagneticStoreRejectedDataLocation& GetMagneticStoreRejectedDataLocation() const{ return m_magneticStoreRejectedDataLocation; }
57 inline bool MagneticStoreRejectedDataLocationHasBeenSet() const { return m_magneticStoreRejectedDataLocationHasBeenSet; }
58 inline void SetMagneticStoreRejectedDataLocation(const MagneticStoreRejectedDataLocation& value) { m_magneticStoreRejectedDataLocationHasBeenSet = true; m_magneticStoreRejectedDataLocation = value; }
59 inline void SetMagneticStoreRejectedDataLocation(MagneticStoreRejectedDataLocation&& value) { m_magneticStoreRejectedDataLocationHasBeenSet = true; m_magneticStoreRejectedDataLocation = std::move(value); }
63 private:
64
65 bool m_enableMagneticStoreWrites;
66 bool m_enableMagneticStoreWritesHasBeenSet = false;
67
68 MagneticStoreRejectedDataLocation m_magneticStoreRejectedDataLocation;
69 bool m_magneticStoreRejectedDataLocationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace TimestreamWrite
74} // namespace Aws
AWS_TIMESTREAMWRITE_API MagneticStoreWriteProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const MagneticStoreRejectedDataLocation & GetMagneticStoreRejectedDataLocation() const
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
MagneticStoreWriteProperties & WithMagneticStoreRejectedDataLocation(const MagneticStoreRejectedDataLocation &value)
MagneticStoreWriteProperties & WithEnableMagneticStoreWrites(bool value)
AWS_TIMESTREAMWRITE_API MagneticStoreWriteProperties(Aws::Utils::Json::JsonView jsonValue)
MagneticStoreWriteProperties & WithMagneticStoreRejectedDataLocation(MagneticStoreRejectedDataLocation &&value)
void SetMagneticStoreRejectedDataLocation(const MagneticStoreRejectedDataLocation &value)
void SetMagneticStoreRejectedDataLocation(MagneticStoreRejectedDataLocation &&value)
Aws::Utils::Json::JsonValue JsonValue