AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipeTargetTimestreamParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pipes/model/EpochTimeUnit.h>
10#include <aws/pipes/model/TimeFieldType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/pipes/model/DimensionMapping.h>
13#include <aws/pipes/model/SingleMeasureMapping.h>
14#include <aws/pipes/model/MultiMeasureMapping.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Pipes
28{
29namespace Model
30{
31
39 {
40 public:
44 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetTimeValue() const{ return m_timeValue; }
53 inline bool TimeValueHasBeenSet() const { return m_timeValueHasBeenSet; }
54 inline void SetTimeValue(const Aws::String& value) { m_timeValueHasBeenSet = true; m_timeValue = value; }
55 inline void SetTimeValue(Aws::String&& value) { m_timeValueHasBeenSet = true; m_timeValue = std::move(value); }
56 inline void SetTimeValue(const char* value) { m_timeValueHasBeenSet = true; m_timeValue.assign(value); }
57 inline PipeTargetTimestreamParameters& WithTimeValue(const Aws::String& value) { SetTimeValue(value); return *this;}
58 inline PipeTargetTimestreamParameters& WithTimeValue(Aws::String&& value) { SetTimeValue(std::move(value)); return *this;}
59 inline PipeTargetTimestreamParameters& WithTimeValue(const char* value) { SetTimeValue(value); return *this;}
61
63
68 inline const EpochTimeUnit& GetEpochTimeUnit() const{ return m_epochTimeUnit; }
69 inline bool EpochTimeUnitHasBeenSet() const { return m_epochTimeUnitHasBeenSet; }
70 inline void SetEpochTimeUnit(const EpochTimeUnit& value) { m_epochTimeUnitHasBeenSet = true; m_epochTimeUnit = value; }
71 inline void SetEpochTimeUnit(EpochTimeUnit&& value) { m_epochTimeUnitHasBeenSet = true; m_epochTimeUnit = std::move(value); }
73 inline PipeTargetTimestreamParameters& WithEpochTimeUnit(EpochTimeUnit&& value) { SetEpochTimeUnit(std::move(value)); return *this;}
75
77
80 inline const TimeFieldType& GetTimeFieldType() const{ return m_timeFieldType; }
81 inline bool TimeFieldTypeHasBeenSet() const { return m_timeFieldTypeHasBeenSet; }
82 inline void SetTimeFieldType(const TimeFieldType& value) { m_timeFieldTypeHasBeenSet = true; m_timeFieldType = value; }
83 inline void SetTimeFieldType(TimeFieldType&& value) { m_timeFieldTypeHasBeenSet = true; m_timeFieldType = std::move(value); }
85 inline PipeTargetTimestreamParameters& WithTimeFieldType(TimeFieldType&& value) { SetTimeFieldType(std::move(value)); return *this;}
87
89
94 inline const Aws::String& GetTimestampFormat() const{ return m_timestampFormat; }
95 inline bool TimestampFormatHasBeenSet() const { return m_timestampFormatHasBeenSet; }
96 inline void SetTimestampFormat(const Aws::String& value) { m_timestampFormatHasBeenSet = true; m_timestampFormat = value; }
97 inline void SetTimestampFormat(Aws::String&& value) { m_timestampFormatHasBeenSet = true; m_timestampFormat = std::move(value); }
98 inline void SetTimestampFormat(const char* value) { m_timestampFormatHasBeenSet = true; m_timestampFormat.assign(value); }
100 inline PipeTargetTimestreamParameters& WithTimestampFormat(Aws::String&& value) { SetTimestampFormat(std::move(value)); return *this;}
101 inline PipeTargetTimestreamParameters& WithTimestampFormat(const char* value) { SetTimestampFormat(value); return *this;}
103
105
118 inline const Aws::String& GetVersionValue() const{ return m_versionValue; }
119 inline bool VersionValueHasBeenSet() const { return m_versionValueHasBeenSet; }
120 inline void SetVersionValue(const Aws::String& value) { m_versionValueHasBeenSet = true; m_versionValue = value; }
121 inline void SetVersionValue(Aws::String&& value) { m_versionValueHasBeenSet = true; m_versionValue = std::move(value); }
122 inline void SetVersionValue(const char* value) { m_versionValueHasBeenSet = true; m_versionValue.assign(value); }
123 inline PipeTargetTimestreamParameters& WithVersionValue(const Aws::String& value) { SetVersionValue(value); return *this;}
124 inline PipeTargetTimestreamParameters& WithVersionValue(Aws::String&& value) { SetVersionValue(std::move(value)); return *this;}
125 inline PipeTargetTimestreamParameters& WithVersionValue(const char* value) { SetVersionValue(value); return *this;}
127
129
135 inline const Aws::Vector<DimensionMapping>& GetDimensionMappings() const{ return m_dimensionMappings; }
136 inline bool DimensionMappingsHasBeenSet() const { return m_dimensionMappingsHasBeenSet; }
137 inline void SetDimensionMappings(const Aws::Vector<DimensionMapping>& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings = value; }
138 inline void SetDimensionMappings(Aws::Vector<DimensionMapping>&& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings = std::move(value); }
141 inline PipeTargetTimestreamParameters& AddDimensionMappings(const DimensionMapping& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings.push_back(value); return *this; }
142 inline PipeTargetTimestreamParameters& AddDimensionMappings(DimensionMapping&& value) { m_dimensionMappingsHasBeenSet = true; m_dimensionMappings.push_back(std::move(value)); return *this; }
144
146
150 inline const Aws::Vector<SingleMeasureMapping>& GetSingleMeasureMappings() const{ return m_singleMeasureMappings; }
151 inline bool SingleMeasureMappingsHasBeenSet() const { return m_singleMeasureMappingsHasBeenSet; }
152 inline void SetSingleMeasureMappings(const Aws::Vector<SingleMeasureMapping>& value) { m_singleMeasureMappingsHasBeenSet = true; m_singleMeasureMappings = value; }
153 inline void SetSingleMeasureMappings(Aws::Vector<SingleMeasureMapping>&& value) { m_singleMeasureMappingsHasBeenSet = true; m_singleMeasureMappings = std::move(value); }
156 inline PipeTargetTimestreamParameters& AddSingleMeasureMappings(const SingleMeasureMapping& value) { m_singleMeasureMappingsHasBeenSet = true; m_singleMeasureMappings.push_back(value); return *this; }
157 inline PipeTargetTimestreamParameters& AddSingleMeasureMappings(SingleMeasureMapping&& value) { m_singleMeasureMappingsHasBeenSet = true; m_singleMeasureMappings.push_back(std::move(value)); return *this; }
159
161
165 inline const Aws::Vector<MultiMeasureMapping>& GetMultiMeasureMappings() const{ return m_multiMeasureMappings; }
166 inline bool MultiMeasureMappingsHasBeenSet() const { return m_multiMeasureMappingsHasBeenSet; }
167 inline void SetMultiMeasureMappings(const Aws::Vector<MultiMeasureMapping>& value) { m_multiMeasureMappingsHasBeenSet = true; m_multiMeasureMappings = value; }
168 inline void SetMultiMeasureMappings(Aws::Vector<MultiMeasureMapping>&& value) { m_multiMeasureMappingsHasBeenSet = true; m_multiMeasureMappings = std::move(value); }
171 inline PipeTargetTimestreamParameters& AddMultiMeasureMappings(const MultiMeasureMapping& value) { m_multiMeasureMappingsHasBeenSet = true; m_multiMeasureMappings.push_back(value); return *this; }
172 inline PipeTargetTimestreamParameters& AddMultiMeasureMappings(MultiMeasureMapping&& value) { m_multiMeasureMappingsHasBeenSet = true; m_multiMeasureMappings.push_back(std::move(value)); return *this; }
174 private:
175
176 Aws::String m_timeValue;
177 bool m_timeValueHasBeenSet = false;
178
179 EpochTimeUnit m_epochTimeUnit;
180 bool m_epochTimeUnitHasBeenSet = false;
181
182 TimeFieldType m_timeFieldType;
183 bool m_timeFieldTypeHasBeenSet = false;
184
185 Aws::String m_timestampFormat;
186 bool m_timestampFormatHasBeenSet = false;
187
188 Aws::String m_versionValue;
189 bool m_versionValueHasBeenSet = false;
190
191 Aws::Vector<DimensionMapping> m_dimensionMappings;
192 bool m_dimensionMappingsHasBeenSet = false;
193
194 Aws::Vector<SingleMeasureMapping> m_singleMeasureMappings;
195 bool m_singleMeasureMappingsHasBeenSet = false;
196
197 Aws::Vector<MultiMeasureMapping> m_multiMeasureMappings;
198 bool m_multiMeasureMappingsHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace Pipes
203} // namespace Aws
PipeTargetTimestreamParameters & AddDimensionMappings(const DimensionMapping &value)
PipeTargetTimestreamParameters & AddSingleMeasureMappings(SingleMeasureMapping &&value)
void SetMultiMeasureMappings(const Aws::Vector< MultiMeasureMapping > &value)
PipeTargetTimestreamParameters & WithTimeFieldType(TimeFieldType &&value)
const Aws::Vector< SingleMeasureMapping > & GetSingleMeasureMappings() const
AWS_PIPES_API PipeTargetTimestreamParameters(Aws::Utils::Json::JsonView jsonValue)
PipeTargetTimestreamParameters & WithDimensionMappings(const Aws::Vector< DimensionMapping > &value)
PipeTargetTimestreamParameters & WithTimestampFormat(Aws::String &&value)
PipeTargetTimestreamParameters & WithEpochTimeUnit(const EpochTimeUnit &value)
PipeTargetTimestreamParameters & AddMultiMeasureMappings(MultiMeasureMapping &&value)
PipeTargetTimestreamParameters & WithTimeValue(const Aws::String &value)
PipeTargetTimestreamParameters & WithMultiMeasureMappings(Aws::Vector< MultiMeasureMapping > &&value)
PipeTargetTimestreamParameters & WithTimeValue(Aws::String &&value)
void SetSingleMeasureMappings(const Aws::Vector< SingleMeasureMapping > &value)
PipeTargetTimestreamParameters & WithMultiMeasureMappings(const Aws::Vector< MultiMeasureMapping > &value)
PipeTargetTimestreamParameters & WithVersionValue(const Aws::String &value)
const Aws::Vector< MultiMeasureMapping > & GetMultiMeasureMappings() const
void SetMultiMeasureMappings(Aws::Vector< MultiMeasureMapping > &&value)
PipeTargetTimestreamParameters & WithVersionValue(const char *value)
PipeTargetTimestreamParameters & WithTimeValue(const char *value)
PipeTargetTimestreamParameters & WithTimestampFormat(const char *value)
PipeTargetTimestreamParameters & WithTimestampFormat(const Aws::String &value)
const Aws::Vector< DimensionMapping > & GetDimensionMappings() const
void SetDimensionMappings(const Aws::Vector< DimensionMapping > &value)
void SetSingleMeasureMappings(Aws::Vector< SingleMeasureMapping > &&value)
PipeTargetTimestreamParameters & WithTimeFieldType(const TimeFieldType &value)
PipeTargetTimestreamParameters & WithSingleMeasureMappings(Aws::Vector< SingleMeasureMapping > &&value)
PipeTargetTimestreamParameters & WithSingleMeasureMappings(const Aws::Vector< SingleMeasureMapping > &value)
PipeTargetTimestreamParameters & AddMultiMeasureMappings(const MultiMeasureMapping &value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
PipeTargetTimestreamParameters & WithDimensionMappings(Aws::Vector< DimensionMapping > &&value)
PipeTargetTimestreamParameters & WithEpochTimeUnit(EpochTimeUnit &&value)
AWS_PIPES_API PipeTargetTimestreamParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeTargetTimestreamParameters & AddDimensionMappings(DimensionMapping &&value)
PipeTargetTimestreamParameters & AddSingleMeasureMappings(const SingleMeasureMapping &value)
PipeTargetTimestreamParameters & WithVersionValue(Aws::String &&value)
void SetDimensionMappings(Aws::Vector< DimensionMapping > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue