AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiMeasureMappings.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-write/model/MultiMeasureAttributeMapping.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 TimestreamWrite
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_TIMESTREAMWRITE_API MultiMeasureMappings();
37 AWS_TIMESTREAMWRITE_API MultiMeasureMappings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMWRITE_API MultiMeasureMappings& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTargetMultiMeasureName() const{ return m_targetMultiMeasureName; }
47 inline bool TargetMultiMeasureNameHasBeenSet() const { return m_targetMultiMeasureNameHasBeenSet; }
48 inline void SetTargetMultiMeasureName(const Aws::String& value) { m_targetMultiMeasureNameHasBeenSet = true; m_targetMultiMeasureName = value; }
49 inline void SetTargetMultiMeasureName(Aws::String&& value) { m_targetMultiMeasureNameHasBeenSet = true; m_targetMultiMeasureName = std::move(value); }
50 inline void SetTargetMultiMeasureName(const char* value) { m_targetMultiMeasureNameHasBeenSet = true; m_targetMultiMeasureName.assign(value); }
52 inline MultiMeasureMappings& WithTargetMultiMeasureName(Aws::String&& value) { SetTargetMultiMeasureName(std::move(value)); return *this;}
53 inline MultiMeasureMappings& WithTargetMultiMeasureName(const char* value) { SetTargetMultiMeasureName(value); return *this;}
55
57
60 inline const Aws::Vector<MultiMeasureAttributeMapping>& GetMultiMeasureAttributeMappings() const{ return m_multiMeasureAttributeMappings; }
61 inline bool MultiMeasureAttributeMappingsHasBeenSet() const { return m_multiMeasureAttributeMappingsHasBeenSet; }
62 inline void SetMultiMeasureAttributeMappings(const Aws::Vector<MultiMeasureAttributeMapping>& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = value; }
63 inline void SetMultiMeasureAttributeMappings(Aws::Vector<MultiMeasureAttributeMapping>&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = std::move(value); }
66 inline MultiMeasureMappings& AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(value); return *this; }
67 inline MultiMeasureMappings& AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_targetMultiMeasureName;
72 bool m_targetMultiMeasureNameHasBeenSet = false;
73
74 Aws::Vector<MultiMeasureAttributeMapping> m_multiMeasureAttributeMappings;
75 bool m_multiMeasureAttributeMappingsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace TimestreamWrite
80} // namespace Aws
MultiMeasureMappings & WithTargetMultiMeasureName(Aws::String &&value)
AWS_TIMESTREAMWRITE_API MultiMeasureMappings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
MultiMeasureMappings & WithTargetMultiMeasureName(const char *value)
AWS_TIMESTREAMWRITE_API MultiMeasureMappings(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< MultiMeasureAttributeMapping > & GetMultiMeasureAttributeMappings() const
MultiMeasureMappings & WithMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
void SetMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
MultiMeasureMappings & WithMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
MultiMeasureMappings & AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping &value)
MultiMeasureMappings & WithTargetMultiMeasureName(const Aws::String &value)
MultiMeasureMappings & AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping &&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