AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
SupplementaryFeature.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ForecastService {
20namespace Model {
21
46 public:
47 AWS_FORECASTSERVICE_API SupplementaryFeature() = default;
48 AWS_FORECASTSERVICE_API SupplementaryFeature(Aws::Utils::Json::JsonView jsonValue);
49 AWS_FORECASTSERVICE_API SupplementaryFeature& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
51
53
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
106 inline const Aws::String& GetValue() const { return m_value; }
107 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
108 template <typename ValueT = Aws::String>
109 void SetValue(ValueT&& value) {
110 m_valueHasBeenSet = true;
111 m_value = std::forward<ValueT>(value);
112 }
113 template <typename ValueT = Aws::String>
115 SetValue(std::forward<ValueT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_name;
121
122 Aws::String m_value;
123 bool m_nameHasBeenSet = false;
124 bool m_valueHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace ForecastService
129} // namespace Aws
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API SupplementaryFeature(Aws::Utils::Json::JsonView jsonValue)
SupplementaryFeature & WithValue(ValueT &&value)
AWS_FORECASTSERVICE_API SupplementaryFeature()=default
SupplementaryFeature & WithName(NameT &&value)
AWS_FORECASTSERVICE_API SupplementaryFeature & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue