AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeSeriesCondition.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/forecast/model/Condition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ForecastService
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_FORECASTSERVICE_API TimeSeriesCondition();
42 AWS_FORECASTSERVICE_API TimeSeriesCondition(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FORECASTSERVICE_API TimeSeriesCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
53 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
54 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
55 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
56 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
57 inline TimeSeriesCondition& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
58 inline TimeSeriesCondition& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
59 inline TimeSeriesCondition& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
61
63
66 inline const Aws::String& GetAttributeValue() const{ return m_attributeValue; }
67 inline bool AttributeValueHasBeenSet() const { return m_attributeValueHasBeenSet; }
68 inline void SetAttributeValue(const Aws::String& value) { m_attributeValueHasBeenSet = true; m_attributeValue = value; }
69 inline void SetAttributeValue(Aws::String&& value) { m_attributeValueHasBeenSet = true; m_attributeValue = std::move(value); }
70 inline void SetAttributeValue(const char* value) { m_attributeValueHasBeenSet = true; m_attributeValue.assign(value); }
71 inline TimeSeriesCondition& WithAttributeValue(const Aws::String& value) { SetAttributeValue(value); return *this;}
72 inline TimeSeriesCondition& WithAttributeValue(Aws::String&& value) { SetAttributeValue(std::move(value)); return *this;}
73 inline TimeSeriesCondition& WithAttributeValue(const char* value) { SetAttributeValue(value); return *this;}
75
77
82 inline const Condition& GetCondition() const{ return m_condition; }
83 inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; }
84 inline void SetCondition(const Condition& value) { m_conditionHasBeenSet = true; m_condition = value; }
85 inline void SetCondition(Condition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); }
86 inline TimeSeriesCondition& WithCondition(const Condition& value) { SetCondition(value); return *this;}
87 inline TimeSeriesCondition& WithCondition(Condition&& value) { SetCondition(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_attributeName;
92 bool m_attributeNameHasBeenSet = false;
93
94 Aws::String m_attributeValue;
95 bool m_attributeValueHasBeenSet = false;
96
97 Condition m_condition;
98 bool m_conditionHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ForecastService
103} // namespace Aws
TimeSeriesCondition & WithAttributeValue(const char *value)
TimeSeriesCondition & WithAttributeValue(const Aws::String &value)
TimeSeriesCondition & WithCondition(const Condition &value)
AWS_FORECASTSERVICE_API TimeSeriesCondition(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API TimeSeriesCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesCondition & WithAttributeValue(Aws::String &&value)
TimeSeriesCondition & WithAttributeName(const char *value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
TimeSeriesCondition & WithAttributeName(const Aws::String &value)
TimeSeriesCondition & WithCondition(Condition &&value)
TimeSeriesCondition & WithAttributeName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue