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-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-query/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 TimestreamQuery
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_TIMESTREAMQUERY_API MultiMeasureMappings();
39 AWS_TIMESTREAMQUERY_API MultiMeasureMappings(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TIMESTREAMQUERY_API MultiMeasureMappings& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetTargetMultiMeasureName() const{ return m_targetMultiMeasureName; }
51 inline bool TargetMultiMeasureNameHasBeenSet() const { return m_targetMultiMeasureNameHasBeenSet; }
52 inline void SetTargetMultiMeasureName(const Aws::String& value) { m_targetMultiMeasureNameHasBeenSet = true; m_targetMultiMeasureName = value; }
53 inline void SetTargetMultiMeasureName(Aws::String&& value) { m_targetMultiMeasureNameHasBeenSet = true; m_targetMultiMeasureName = std::move(value); }
54 inline void SetTargetMultiMeasureName(const char* value) { m_targetMultiMeasureNameHasBeenSet = true; m_targetMultiMeasureName.assign(value); }
56 inline MultiMeasureMappings& WithTargetMultiMeasureName(Aws::String&& value) { SetTargetMultiMeasureName(std::move(value)); return *this;}
57 inline MultiMeasureMappings& WithTargetMultiMeasureName(const char* value) { SetTargetMultiMeasureName(value); return *this;}
59
61
65 inline const Aws::Vector<MultiMeasureAttributeMapping>& GetMultiMeasureAttributeMappings() const{ return m_multiMeasureAttributeMappings; }
66 inline bool MultiMeasureAttributeMappingsHasBeenSet() const { return m_multiMeasureAttributeMappingsHasBeenSet; }
67 inline void SetMultiMeasureAttributeMappings(const Aws::Vector<MultiMeasureAttributeMapping>& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = value; }
68 inline void SetMultiMeasureAttributeMappings(Aws::Vector<MultiMeasureAttributeMapping>&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = std::move(value); }
71 inline MultiMeasureMappings& AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(value); return *this; }
72 inline MultiMeasureMappings& AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_targetMultiMeasureName;
77 bool m_targetMultiMeasureNameHasBeenSet = false;
78
79 Aws::Vector<MultiMeasureAttributeMapping> m_multiMeasureAttributeMappings;
80 bool m_multiMeasureAttributeMappingsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace TimestreamQuery
85} // namespace Aws
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TIMESTREAMQUERY_API MultiMeasureMappings & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiMeasureMappings & WithTargetMultiMeasureName(const char *value)
void SetMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
const Aws::Vector< MultiMeasureAttributeMapping > & GetMultiMeasureAttributeMappings() const
MultiMeasureMappings & WithTargetMultiMeasureName(Aws::String &&value)
MultiMeasureMappings & WithTargetMultiMeasureName(const Aws::String &value)
void SetMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
MultiMeasureMappings & WithMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
MultiMeasureMappings & AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping &value)
AWS_TIMESTREAMQUERY_API MultiMeasureMappings(Aws::Utils::Json::JsonView jsonValue)
MultiMeasureMappings & AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping &&value)
MultiMeasureMappings & WithMultiMeasureAttributeMappings(Aws::Vector< 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