AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DimensionMapping.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TimestreamWrite
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_TIMESTREAMWRITE_API DimensionMapping();
35 AWS_TIMESTREAMWRITE_API DimensionMapping(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TIMESTREAMWRITE_API DimensionMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSourceColumn() const{ return m_sourceColumn; }
45 inline bool SourceColumnHasBeenSet() const { return m_sourceColumnHasBeenSet; }
46 inline void SetSourceColumn(const Aws::String& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = value; }
47 inline void SetSourceColumn(Aws::String&& value) { m_sourceColumnHasBeenSet = true; m_sourceColumn = std::move(value); }
48 inline void SetSourceColumn(const char* value) { m_sourceColumnHasBeenSet = true; m_sourceColumn.assign(value); }
49 inline DimensionMapping& WithSourceColumn(const Aws::String& value) { SetSourceColumn(value); return *this;}
50 inline DimensionMapping& WithSourceColumn(Aws::String&& value) { SetSourceColumn(std::move(value)); return *this;}
51 inline DimensionMapping& WithSourceColumn(const char* value) { SetSourceColumn(value); return *this;}
53
55
58 inline const Aws::String& GetDestinationColumn() const{ return m_destinationColumn; }
59 inline bool DestinationColumnHasBeenSet() const { return m_destinationColumnHasBeenSet; }
60 inline void SetDestinationColumn(const Aws::String& value) { m_destinationColumnHasBeenSet = true; m_destinationColumn = value; }
61 inline void SetDestinationColumn(Aws::String&& value) { m_destinationColumnHasBeenSet = true; m_destinationColumn = std::move(value); }
62 inline void SetDestinationColumn(const char* value) { m_destinationColumnHasBeenSet = true; m_destinationColumn.assign(value); }
63 inline DimensionMapping& WithDestinationColumn(const Aws::String& value) { SetDestinationColumn(value); return *this;}
64 inline DimensionMapping& WithDestinationColumn(Aws::String&& value) { SetDestinationColumn(std::move(value)); return *this;}
65 inline DimensionMapping& WithDestinationColumn(const char* value) { SetDestinationColumn(value); return *this;}
67 private:
68
69 Aws::String m_sourceColumn;
70 bool m_sourceColumnHasBeenSet = false;
71
72 Aws::String m_destinationColumn;
73 bool m_destinationColumnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace TimestreamWrite
78} // namespace Aws
AWS_TIMESTREAMWRITE_API DimensionMapping()
const Aws::String & GetDestinationColumn() const
AWS_TIMESTREAMWRITE_API DimensionMapping(Aws::Utils::Json::JsonView jsonValue)
DimensionMapping & WithSourceColumn(Aws::String &&value)
void SetDestinationColumn(const Aws::String &value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceColumn(const Aws::String &value)
DimensionMapping & WithDestinationColumn(const char *value)
DimensionMapping & WithDestinationColumn(const Aws::String &value)
AWS_TIMESTREAMWRITE_API DimensionMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
DimensionMapping & WithDestinationColumn(Aws::String &&value)
DimensionMapping & WithSourceColumn(const char *value)
DimensionMapping & WithSourceColumn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue