AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Variable.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/DatasetContentVersionValue.h>
10#include <aws/iotanalytics/model/OutputFileUriValue.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 IoTAnalytics
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_IOTANALYTICS_API Variable();
40 AWS_IOTANALYTICS_API Variable(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTANALYTICS_API Variable& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline Variable& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline Variable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline Variable& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetStringValue() const{ return m_stringValue; }
64 inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; }
65 inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; }
66 inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); }
67 inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); }
68 inline Variable& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;}
69 inline Variable& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;}
70 inline Variable& WithStringValue(const char* value) { SetStringValue(value); return *this;}
72
74
77 inline double GetDoubleValue() const{ return m_doubleValue; }
78 inline bool DoubleValueHasBeenSet() const { return m_doubleValueHasBeenSet; }
79 inline void SetDoubleValue(double value) { m_doubleValueHasBeenSet = true; m_doubleValue = value; }
80 inline Variable& WithDoubleValue(double value) { SetDoubleValue(value); return *this;}
82
84
88 inline const DatasetContentVersionValue& GetDatasetContentVersionValue() const{ return m_datasetContentVersionValue; }
89 inline bool DatasetContentVersionValueHasBeenSet() const { return m_datasetContentVersionValueHasBeenSet; }
90 inline void SetDatasetContentVersionValue(const DatasetContentVersionValue& value) { m_datasetContentVersionValueHasBeenSet = true; m_datasetContentVersionValue = value; }
91 inline void SetDatasetContentVersionValue(DatasetContentVersionValue&& value) { m_datasetContentVersionValueHasBeenSet = true; m_datasetContentVersionValue = std::move(value); }
95
97
101 inline const OutputFileUriValue& GetOutputFileUriValue() const{ return m_outputFileUriValue; }
102 inline bool OutputFileUriValueHasBeenSet() const { return m_outputFileUriValueHasBeenSet; }
103 inline void SetOutputFileUriValue(const OutputFileUriValue& value) { m_outputFileUriValueHasBeenSet = true; m_outputFileUriValue = value; }
104 inline void SetOutputFileUriValue(OutputFileUriValue&& value) { m_outputFileUriValueHasBeenSet = true; m_outputFileUriValue = std::move(value); }
105 inline Variable& WithOutputFileUriValue(const OutputFileUriValue& value) { SetOutputFileUriValue(value); return *this;}
106 inline Variable& WithOutputFileUriValue(OutputFileUriValue&& value) { SetOutputFileUriValue(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_stringValue;
114 bool m_stringValueHasBeenSet = false;
115
116 double m_doubleValue;
117 bool m_doubleValueHasBeenSet = false;
118
119 DatasetContentVersionValue m_datasetContentVersionValue;
120 bool m_datasetContentVersionValueHasBeenSet = false;
121
122 OutputFileUriValue m_outputFileUriValue;
123 bool m_outputFileUriValueHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace IoTAnalytics
128} // namespace Aws
void SetDoubleValue(double value)
Definition Variable.h:79
Variable & WithStringValue(const char *value)
Definition Variable.h:70
Variable & WithDatasetContentVersionValue(const DatasetContentVersionValue &value)
Definition Variable.h:92
Variable & WithStringValue(const Aws::String &value)
Definition Variable.h:68
const DatasetContentVersionValue & GetDatasetContentVersionValue() const
Definition Variable.h:88
const OutputFileUriValue & GetOutputFileUriValue() const
Definition Variable.h:101
void SetStringValue(const Aws::String &value)
Definition Variable.h:65
void SetOutputFileUriValue(OutputFileUriValue &&value)
Definition Variable.h:104
const Aws::String & GetName() const
Definition Variable.h:49
void SetName(const Aws::String &value)
Definition Variable.h:51
const Aws::String & GetStringValue() const
Definition Variable.h:63
void SetStringValue(const char *value)
Definition Variable.h:67
void SetName(Aws::String &&value)
Definition Variable.h:52
void SetDatasetContentVersionValue(DatasetContentVersionValue &&value)
Definition Variable.h:91
bool DatasetContentVersionValueHasBeenSet() const
Definition Variable.h:89
void SetDatasetContentVersionValue(const DatasetContentVersionValue &value)
Definition Variable.h:90
AWS_IOTANALYTICS_API Variable()
Variable & WithName(Aws::String &&value)
Definition Variable.h:55
Variable & WithDoubleValue(double value)
Definition Variable.h:80
Variable & WithStringValue(Aws::String &&value)
Definition Variable.h:69
Variable & WithOutputFileUriValue(OutputFileUriValue &&value)
Definition Variable.h:106
AWS_IOTANALYTICS_API Variable(Aws::Utils::Json::JsonView jsonValue)
Variable & WithOutputFileUriValue(const OutputFileUriValue &value)
Definition Variable.h:105
bool OutputFileUriValueHasBeenSet() const
Definition Variable.h:102
void SetName(const char *value)
Definition Variable.h:53
void SetOutputFileUriValue(const OutputFileUriValue &value)
Definition Variable.h:103
Variable & WithDatasetContentVersionValue(DatasetContentVersionValue &&value)
Definition Variable.h:93
void SetStringValue(Aws::String &&value)
Definition Variable.h:66
Variable & WithName(const char *value)
Definition Variable.h:56
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTANALYTICS_API Variable & operator=(Aws::Utils::Json::JsonView jsonValue)
Variable & WithName(const Aws::String &value)
Definition Variable.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue