AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatastorePartition.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/model/Partition.h>
9#include <aws/iotanalytics/model/TimestampPartition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTAnalytics
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOTANALYTICS_API DatastorePartition();
38 AWS_IOTANALYTICS_API DatastorePartition(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Partition& GetAttributePartition() const{ return m_attributePartition; }
48 inline bool AttributePartitionHasBeenSet() const { return m_attributePartitionHasBeenSet; }
49 inline void SetAttributePartition(const Partition& value) { m_attributePartitionHasBeenSet = true; m_attributePartition = value; }
50 inline void SetAttributePartition(Partition&& value) { m_attributePartitionHasBeenSet = true; m_attributePartition = std::move(value); }
51 inline DatastorePartition& WithAttributePartition(const Partition& value) { SetAttributePartition(value); return *this;}
52 inline DatastorePartition& WithAttributePartition(Partition&& value) { SetAttributePartition(std::move(value)); return *this;}
54
56
59 inline const TimestampPartition& GetTimestampPartition() const{ return m_timestampPartition; }
60 inline bool TimestampPartitionHasBeenSet() const { return m_timestampPartitionHasBeenSet; }
61 inline void SetTimestampPartition(const TimestampPartition& value) { m_timestampPartitionHasBeenSet = true; m_timestampPartition = value; }
62 inline void SetTimestampPartition(TimestampPartition&& value) { m_timestampPartitionHasBeenSet = true; m_timestampPartition = std::move(value); }
64 inline DatastorePartition& WithTimestampPartition(TimestampPartition&& value) { SetTimestampPartition(std::move(value)); return *this;}
66 private:
67
68 Partition m_attributePartition;
69 bool m_attributePartitionHasBeenSet = false;
70
71 TimestampPartition m_timestampPartition;
72 bool m_timestampPartitionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTAnalytics
77} // namespace Aws
void SetTimestampPartition(const TimestampPartition &value)
void SetTimestampPartition(TimestampPartition &&value)
const TimestampPartition & GetTimestampPartition() const
DatastorePartition & WithTimestampPartition(TimestampPartition &&value)
DatastorePartition & WithTimestampPartition(const TimestampPartition &value)
AWS_IOTANALYTICS_API DatastorePartition & operator=(Aws::Utils::Json::JsonView jsonValue)
DatastorePartition & WithAttributePartition(Partition &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributePartition(const Partition &value)
AWS_IOTANALYTICS_API DatastorePartition(Aws::Utils::Json::JsonView jsonValue)
DatastorePartition & WithAttributePartition(const Partition &value)
Aws::Utils::Json::JsonValue JsonValue