AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConversionProperties.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/drs/model/ProductCode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace drs
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DRS_API ConversionProperties();
41
42
44
47 inline const Aws::String& GetDataTimestamp() const{ return m_dataTimestamp; }
48 inline bool DataTimestampHasBeenSet() const { return m_dataTimestampHasBeenSet; }
49 inline void SetDataTimestamp(const Aws::String& value) { m_dataTimestampHasBeenSet = true; m_dataTimestamp = value; }
50 inline void SetDataTimestamp(Aws::String&& value) { m_dataTimestampHasBeenSet = true; m_dataTimestamp = std::move(value); }
51 inline void SetDataTimestamp(const char* value) { m_dataTimestampHasBeenSet = true; m_dataTimestamp.assign(value); }
52 inline ConversionProperties& WithDataTimestamp(const Aws::String& value) { SetDataTimestamp(value); return *this;}
53 inline ConversionProperties& WithDataTimestamp(Aws::String&& value) { SetDataTimestamp(std::move(value)); return *this;}
54 inline ConversionProperties& WithDataTimestamp(const char* value) { SetDataTimestamp(value); return *this;}
56
58
61 inline bool GetForceUefi() const{ return m_forceUefi; }
62 inline bool ForceUefiHasBeenSet() const { return m_forceUefiHasBeenSet; }
63 inline void SetForceUefi(bool value) { m_forceUefiHasBeenSet = true; m_forceUefi = value; }
64 inline ConversionProperties& WithForceUefi(bool value) { SetForceUefi(value); return *this;}
66
68
71 inline const Aws::String& GetRootVolumeName() const{ return m_rootVolumeName; }
72 inline bool RootVolumeNameHasBeenSet() const { return m_rootVolumeNameHasBeenSet; }
73 inline void SetRootVolumeName(const Aws::String& value) { m_rootVolumeNameHasBeenSet = true; m_rootVolumeName = value; }
74 inline void SetRootVolumeName(Aws::String&& value) { m_rootVolumeNameHasBeenSet = true; m_rootVolumeName = std::move(value); }
75 inline void SetRootVolumeName(const char* value) { m_rootVolumeNameHasBeenSet = true; m_rootVolumeName.assign(value); }
76 inline ConversionProperties& WithRootVolumeName(const Aws::String& value) { SetRootVolumeName(value); return *this;}
77 inline ConversionProperties& WithRootVolumeName(Aws::String&& value) { SetRootVolumeName(std::move(value)); return *this;}
78 inline ConversionProperties& WithRootVolumeName(const char* value) { SetRootVolumeName(value); return *this;}
80
82
86 inline const Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>& GetVolumeToConversionMap() const{ return m_volumeToConversionMap; }
87 inline bool VolumeToConversionMapHasBeenSet() const { return m_volumeToConversionMapHasBeenSet; }
88 inline void SetVolumeToConversionMap(const Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap = value; }
89 inline void SetVolumeToConversionMap(Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>&& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap = std::move(value); }
92 inline ConversionProperties& AddVolumeToConversionMap(const Aws::String& key, const Aws::Map<Aws::String, Aws::String>& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap.emplace(key, value); return *this; }
93 inline ConversionProperties& AddVolumeToConversionMap(Aws::String&& key, const Aws::Map<Aws::String, Aws::String>& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap.emplace(std::move(key), value); return *this; }
94 inline ConversionProperties& AddVolumeToConversionMap(const Aws::String& key, Aws::Map<Aws::String, Aws::String>&& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap.emplace(key, std::move(value)); return *this; }
95 inline ConversionProperties& AddVolumeToConversionMap(Aws::String&& key, Aws::Map<Aws::String, Aws::String>&& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap.emplace(std::move(key), std::move(value)); return *this; }
96 inline ConversionProperties& AddVolumeToConversionMap(const char* key, Aws::Map<Aws::String, Aws::String>&& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap.emplace(key, std::move(value)); return *this; }
97 inline ConversionProperties& AddVolumeToConversionMap(const char* key, const Aws::Map<Aws::String, Aws::String>& value) { m_volumeToConversionMapHasBeenSet = true; m_volumeToConversionMap.emplace(key, value); return *this; }
99
101
105 inline const Aws::Map<Aws::String, Aws::Vector<ProductCode>>& GetVolumeToProductCodes() const{ return m_volumeToProductCodes; }
106 inline bool VolumeToProductCodesHasBeenSet() const { return m_volumeToProductCodesHasBeenSet; }
107 inline void SetVolumeToProductCodes(const Aws::Map<Aws::String, Aws::Vector<ProductCode>>& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes = value; }
108 inline void SetVolumeToProductCodes(Aws::Map<Aws::String, Aws::Vector<ProductCode>>&& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes = std::move(value); }
111 inline ConversionProperties& AddVolumeToProductCodes(const Aws::String& key, const Aws::Vector<ProductCode>& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes.emplace(key, value); return *this; }
112 inline ConversionProperties& AddVolumeToProductCodes(Aws::String&& key, const Aws::Vector<ProductCode>& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes.emplace(std::move(key), value); return *this; }
113 inline ConversionProperties& AddVolumeToProductCodes(const Aws::String& key, Aws::Vector<ProductCode>&& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes.emplace(key, std::move(value)); return *this; }
114 inline ConversionProperties& AddVolumeToProductCodes(Aws::String&& key, Aws::Vector<ProductCode>&& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes.emplace(std::move(key), std::move(value)); return *this; }
115 inline ConversionProperties& AddVolumeToProductCodes(const char* key, Aws::Vector<ProductCode>&& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes.emplace(key, std::move(value)); return *this; }
116 inline ConversionProperties& AddVolumeToProductCodes(const char* key, const Aws::Vector<ProductCode>& value) { m_volumeToProductCodesHasBeenSet = true; m_volumeToProductCodes.emplace(key, value); return *this; }
118
120
123 inline const Aws::Map<Aws::String, long long>& GetVolumeToVolumeSize() const{ return m_volumeToVolumeSize; }
124 inline bool VolumeToVolumeSizeHasBeenSet() const { return m_volumeToVolumeSizeHasBeenSet; }
125 inline void SetVolumeToVolumeSize(const Aws::Map<Aws::String, long long>& value) { m_volumeToVolumeSizeHasBeenSet = true; m_volumeToVolumeSize = value; }
126 inline void SetVolumeToVolumeSize(Aws::Map<Aws::String, long long>&& value) { m_volumeToVolumeSizeHasBeenSet = true; m_volumeToVolumeSize = std::move(value); }
129 inline ConversionProperties& AddVolumeToVolumeSize(const Aws::String& key, long long value) { m_volumeToVolumeSizeHasBeenSet = true; m_volumeToVolumeSize.emplace(key, value); return *this; }
130 inline ConversionProperties& AddVolumeToVolumeSize(Aws::String&& key, long long value) { m_volumeToVolumeSizeHasBeenSet = true; m_volumeToVolumeSize.emplace(std::move(key), value); return *this; }
131 inline ConversionProperties& AddVolumeToVolumeSize(const char* key, long long value) { m_volumeToVolumeSizeHasBeenSet = true; m_volumeToVolumeSize.emplace(key, value); return *this; }
133 private:
134
135 Aws::String m_dataTimestamp;
136 bool m_dataTimestampHasBeenSet = false;
137
138 bool m_forceUefi;
139 bool m_forceUefiHasBeenSet = false;
140
141 Aws::String m_rootVolumeName;
142 bool m_rootVolumeNameHasBeenSet = false;
143
145 bool m_volumeToConversionMapHasBeenSet = false;
146
148 bool m_volumeToProductCodesHasBeenSet = false;
149
150 Aws::Map<Aws::String, long long> m_volumeToVolumeSize;
151 bool m_volumeToVolumeSizeHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace drs
156} // namespace Aws
ConversionProperties & WithRootVolumeName(const char *value)
AWS_DRS_API ConversionProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ConversionProperties & AddVolumeToProductCodes(Aws::String &&key, const Aws::Vector< ProductCode > &value)
ConversionProperties & AddVolumeToConversionMap(Aws::String &&key, const Aws::Map< Aws::String, Aws::String > &value)
ConversionProperties & WithVolumeToVolumeSize(const Aws::Map< Aws::String, long long > &value)
void SetVolumeToProductCodes(Aws::Map< Aws::String, Aws::Vector< ProductCode > > &&value)
ConversionProperties & WithRootVolumeName(Aws::String &&value)
ConversionProperties & AddVolumeToConversionMap(Aws::String &&key, Aws::Map< Aws::String, Aws::String > &&value)
ConversionProperties & AddVolumeToProductCodes(const char *key, const Aws::Vector< ProductCode > &value)
ConversionProperties & WithForceUefi(bool value)
void SetVolumeToVolumeSize(const Aws::Map< Aws::String, long long > &value)
ConversionProperties & AddVolumeToVolumeSize(Aws::String &&key, long long value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVolumeToProductCodes(const Aws::Map< Aws::String, Aws::Vector< ProductCode > > &value)
ConversionProperties & WithRootVolumeName(const Aws::String &value)
ConversionProperties & AddVolumeToVolumeSize(const char *key, long long value)
ConversionProperties & WithVolumeToConversionMap(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
AWS_DRS_API ConversionProperties(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDataTimestamp() const
const Aws::Map< Aws::String, Aws::Vector< ProductCode > > & GetVolumeToProductCodes() const
ConversionProperties & AddVolumeToProductCodes(Aws::String &&key, Aws::Vector< ProductCode > &&value)
ConversionProperties & AddVolumeToConversionMap(const char *key, Aws::Map< Aws::String, Aws::String > &&value)
ConversionProperties & WithVolumeToProductCodes(const Aws::Map< Aws::String, Aws::Vector< ProductCode > > &value)
ConversionProperties & AddVolumeToConversionMap(const Aws::String &key, Aws::Map< Aws::String, Aws::String > &&value)
void SetVolumeToVolumeSize(Aws::Map< Aws::String, long long > &&value)
ConversionProperties & AddVolumeToConversionMap(const char *key, const Aws::Map< Aws::String, Aws::String > &value)
void SetVolumeToConversionMap(Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &&value)
void SetRootVolumeName(Aws::String &&value)
ConversionProperties & WithVolumeToProductCodes(Aws::Map< Aws::String, Aws::Vector< ProductCode > > &&value)
ConversionProperties & WithDataTimestamp(Aws::String &&value)
ConversionProperties & AddVolumeToProductCodes(const Aws::String &key, Aws::Vector< ProductCode > &&value)
ConversionProperties & AddVolumeToProductCodes(const Aws::String &key, const Aws::Vector< ProductCode > &value)
ConversionProperties & AddVolumeToConversionMap(const Aws::String &key, const Aws::Map< Aws::String, Aws::String > &value)
ConversionProperties & WithVolumeToVolumeSize(Aws::Map< Aws::String, long long > &&value)
void SetDataTimestamp(const Aws::String &value)
const Aws::Map< Aws::String, long long > & GetVolumeToVolumeSize() const
ConversionProperties & WithDataTimestamp(const char *value)
void SetVolumeToConversionMap(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
ConversionProperties & WithVolumeToConversionMap(const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > &value)
void SetRootVolumeName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetVolumeToConversionMap() const
const Aws::String & GetRootVolumeName() const
ConversionProperties & AddVolumeToVolumeSize(const Aws::String &key, long long value)
ConversionProperties & AddVolumeToProductCodes(const char *key, Aws::Vector< ProductCode > &&value)
ConversionProperties & WithDataTimestamp(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue