AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatastorePartitions.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotanalytics/model/DatastorePartition.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
34 {
35 public:
36 AWS_IOTANALYTICS_API DatastorePartitions();
37 AWS_IOTANALYTICS_API DatastorePartitions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<DatastorePartition>& GetPartitions() const{ return m_partitions; }
47 inline bool PartitionsHasBeenSet() const { return m_partitionsHasBeenSet; }
48 inline void SetPartitions(const Aws::Vector<DatastorePartition>& value) { m_partitionsHasBeenSet = true; m_partitions = value; }
49 inline void SetPartitions(Aws::Vector<DatastorePartition>&& value) { m_partitionsHasBeenSet = true; m_partitions = std::move(value); }
51 inline DatastorePartitions& WithPartitions(Aws::Vector<DatastorePartition>&& value) { SetPartitions(std::move(value)); return *this;}
52 inline DatastorePartitions& AddPartitions(const DatastorePartition& value) { m_partitionsHasBeenSet = true; m_partitions.push_back(value); return *this; }
53 inline DatastorePartitions& AddPartitions(DatastorePartition&& value) { m_partitionsHasBeenSet = true; m_partitions.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_partitionsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace IoTAnalytics
63} // namespace Aws
DatastorePartitions & AddPartitions(DatastorePartition &&value)
const Aws::Vector< DatastorePartition > & GetPartitions() const
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
DatastorePartitions & WithPartitions(const Aws::Vector< DatastorePartition > &value)
AWS_IOTANALYTICS_API DatastorePartitions(Aws::Utils::Json::JsonView jsonValue)
DatastorePartitions & WithPartitions(Aws::Vector< DatastorePartition > &&value)
AWS_IOTANALYTICS_API DatastorePartitions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPartitions(Aws::Vector< DatastorePartition > &&value)
void SetPartitions(const Aws::Vector< DatastorePartition > &value)
DatastorePartitions & AddPartitions(const DatastorePartition &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue