AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataPartitionStorageOptions.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/model/StorageMaximumSize.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/model/StorageMinimumTimeToLive.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTFLEETWISE_API DataPartitionStorageOptions() = default;
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const StorageMaximumSize& GetMaximumSize() const { return m_maximumSize; }
50 inline bool MaximumSizeHasBeenSet() const { return m_maximumSizeHasBeenSet; }
51 template<typename MaximumSizeT = StorageMaximumSize>
52 void SetMaximumSize(MaximumSizeT&& value) { m_maximumSizeHasBeenSet = true; m_maximumSize = std::forward<MaximumSizeT>(value); }
53 template<typename MaximumSizeT = StorageMaximumSize>
54 DataPartitionStorageOptions& WithMaximumSize(MaximumSizeT&& value) { SetMaximumSize(std::forward<MaximumSizeT>(value)); return *this;}
56
58
61 inline const Aws::String& GetStorageLocation() const { return m_storageLocation; }
62 inline bool StorageLocationHasBeenSet() const { return m_storageLocationHasBeenSet; }
63 template<typename StorageLocationT = Aws::String>
64 void SetStorageLocation(StorageLocationT&& value) { m_storageLocationHasBeenSet = true; m_storageLocation = std::forward<StorageLocationT>(value); }
65 template<typename StorageLocationT = Aws::String>
66 DataPartitionStorageOptions& WithStorageLocation(StorageLocationT&& value) { SetStorageLocation(std::forward<StorageLocationT>(value)); return *this;}
68
70
78 inline const StorageMinimumTimeToLive& GetMinimumTimeToLive() const { return m_minimumTimeToLive; }
79 inline bool MinimumTimeToLiveHasBeenSet() const { return m_minimumTimeToLiveHasBeenSet; }
80 template<typename MinimumTimeToLiveT = StorageMinimumTimeToLive>
81 void SetMinimumTimeToLive(MinimumTimeToLiveT&& value) { m_minimumTimeToLiveHasBeenSet = true; m_minimumTimeToLive = std::forward<MinimumTimeToLiveT>(value); }
82 template<typename MinimumTimeToLiveT = StorageMinimumTimeToLive>
83 DataPartitionStorageOptions& WithMinimumTimeToLive(MinimumTimeToLiveT&& value) { SetMinimumTimeToLive(std::forward<MinimumTimeToLiveT>(value)); return *this;}
85 private:
86
87 StorageMaximumSize m_maximumSize;
88 bool m_maximumSizeHasBeenSet = false;
89
90 Aws::String m_storageLocation;
91 bool m_storageLocationHasBeenSet = false;
92
93 StorageMinimumTimeToLive m_minimumTimeToLive;
94 bool m_minimumTimeToLiveHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace IoTFleetWise
99} // namespace Aws
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
DataPartitionStorageOptions & WithMinimumTimeToLive(MinimumTimeToLiveT &&value)
DataPartitionStorageOptions & WithMaximumSize(MaximumSizeT &&value)
DataPartitionStorageOptions & WithStorageLocation(StorageLocationT &&value)
AWS_IOTFLEETWISE_API DataPartitionStorageOptions()=default
AWS_IOTFLEETWISE_API DataPartitionStorageOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API DataPartitionStorageOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const StorageMinimumTimeToLive & GetMinimumTimeToLive() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue