AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiMeasureMapping.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pipes/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 Pipes
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_PIPES_API MultiMeasureMapping();
42 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetMultiMeasureName() const{ return m_multiMeasureName; }
50 inline bool MultiMeasureNameHasBeenSet() const { return m_multiMeasureNameHasBeenSet; }
51 inline void SetMultiMeasureName(const Aws::String& value) { m_multiMeasureNameHasBeenSet = true; m_multiMeasureName = value; }
52 inline void SetMultiMeasureName(Aws::String&& value) { m_multiMeasureNameHasBeenSet = true; m_multiMeasureName = std::move(value); }
53 inline void SetMultiMeasureName(const char* value) { m_multiMeasureNameHasBeenSet = true; m_multiMeasureName.assign(value); }
54 inline MultiMeasureMapping& WithMultiMeasureName(const Aws::String& value) { SetMultiMeasureName(value); return *this;}
55 inline MultiMeasureMapping& WithMultiMeasureName(Aws::String&& value) { SetMultiMeasureName(std::move(value)); return *this;}
56 inline MultiMeasureMapping& WithMultiMeasureName(const char* value) { SetMultiMeasureName(value); return *this;}
58
60
64 inline const Aws::Vector<MultiMeasureAttributeMapping>& GetMultiMeasureAttributeMappings() const{ return m_multiMeasureAttributeMappings; }
65 inline bool MultiMeasureAttributeMappingsHasBeenSet() const { return m_multiMeasureAttributeMappingsHasBeenSet; }
66 inline void SetMultiMeasureAttributeMappings(const Aws::Vector<MultiMeasureAttributeMapping>& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = value; }
67 inline void SetMultiMeasureAttributeMappings(Aws::Vector<MultiMeasureAttributeMapping>&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings = std::move(value); }
70 inline MultiMeasureMapping& AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(value); return *this; }
71 inline MultiMeasureMapping& AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping&& value) { m_multiMeasureAttributeMappingsHasBeenSet = true; m_multiMeasureAttributeMappings.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::String m_multiMeasureName;
76 bool m_multiMeasureNameHasBeenSet = false;
77
78 Aws::Vector<MultiMeasureAttributeMapping> m_multiMeasureAttributeMappings;
79 bool m_multiMeasureAttributeMappingsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Pipes
84} // namespace Aws
void SetMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
AWS_PIPES_API MultiMeasureMapping(Aws::Utils::Json::JsonView jsonValue)
void SetMultiMeasureName(const Aws::String &value)
MultiMeasureMapping & AddMultiMeasureAttributeMappings(const MultiMeasureAttributeMapping &value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
const Aws::String & GetMultiMeasureName() const
void SetMultiMeasureName(Aws::String &&value)
MultiMeasureMapping & WithMultiMeasureAttributeMappings(Aws::Vector< MultiMeasureAttributeMapping > &&value)
AWS_PIPES_API MultiMeasureMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiMeasureMapping & WithMultiMeasureAttributeMappings(const Aws::Vector< MultiMeasureAttributeMapping > &value)
MultiMeasureMapping & AddMultiMeasureAttributeMappings(MultiMeasureAttributeMapping &&value)
const Aws::Vector< MultiMeasureAttributeMapping > & GetMultiMeasureAttributeMappings() const
MultiMeasureMapping & WithMultiMeasureName(const char *value)
MultiMeasureMapping & WithMultiMeasureName(const Aws::String &value)
MultiMeasureMapping & WithMultiMeasureName(Aws::String &&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