AWS SDK for C++  1.9.124
AWS SDK for C++
SupplementaryFeature.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ForecastService
22 {
23 namespace Model
24 {
25 
47  {
48  public:
53 
54 
59  inline const Aws::String& GetName() const{ return m_name; }
60 
65  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 
71  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 
77  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 
83  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
84 
89  inline SupplementaryFeature& WithName(const Aws::String& value) { SetName(value); return *this;}
90 
95  inline SupplementaryFeature& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 
101  inline SupplementaryFeature& WithName(const char* value) { SetName(value); return *this;}
102 
103 
138  inline const Aws::String& GetValue() const{ return m_value; }
139 
174  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
175 
210  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
211 
246  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
247 
282  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
283 
318  inline SupplementaryFeature& WithValue(const Aws::String& value) { SetValue(value); return *this;}
319 
354  inline SupplementaryFeature& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
355 
390  inline SupplementaryFeature& WithValue(const char* value) { SetValue(value); return *this;}
391 
392  private:
393 
394  Aws::String m_name;
395  bool m_nameHasBeenSet;
396 
397  Aws::String m_value;
398  bool m_valueHasBeenSet;
399  };
400 
401 } // namespace Model
402 } // namespace ForecastService
403 } // namespace Aws
Aws::ForecastService::Model::SupplementaryFeature::SetValue
void SetValue(Aws::String &&value)
Definition: SupplementaryFeature.h:246
ForecastService_EXPORTS.h
Aws::ForecastService::Model::SupplementaryFeature
Definition: SupplementaryFeature.h:47
Aws::ForecastService::Model::SupplementaryFeature::SupplementaryFeature
SupplementaryFeature(Aws::Utils::Json::JsonView jsonValue)
Aws::ForecastService::Model::SupplementaryFeature::SetValue
void SetValue(const char *value)
Definition: SupplementaryFeature.h:282
Aws::ForecastService::Model::SupplementaryFeature::WithValue
SupplementaryFeature & WithValue(const char *value)
Definition: SupplementaryFeature.h:390
Aws::ForecastService::Model::SupplementaryFeature::WithValue
SupplementaryFeature & WithValue(Aws::String &&value)
Definition: SupplementaryFeature.h:354
Aws::ForecastService::Model::SupplementaryFeature::SetName
void SetName(const Aws::String &value)
Definition: SupplementaryFeature.h:71
Aws::ForecastService::Model::SupplementaryFeature::WithName
SupplementaryFeature & WithName(Aws::String &&value)
Definition: SupplementaryFeature.h:95
Aws::ForecastService::Model::SupplementaryFeature::NameHasBeenSet
bool NameHasBeenSet() const
Definition: SupplementaryFeature.h:65
Aws::ForecastService::Model::SupplementaryFeature::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ForecastService::Model::SupplementaryFeature::WithName
SupplementaryFeature & WithName(const char *value)
Definition: SupplementaryFeature.h:101
Aws::ForecastService::Model::SupplementaryFeature::GetName
const Aws::String & GetName() const
Definition: SupplementaryFeature.h:59
Aws::ForecastService::Model::SupplementaryFeature::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: SupplementaryFeature.h:174
Aws
Definition: AccessManagementClient.h:15
Aws::ForecastService::Model::SupplementaryFeature::SetValue
void SetValue(const Aws::String &value)
Definition: SupplementaryFeature.h:210
Aws::ForecastService::Model::SupplementaryFeature::operator=
SupplementaryFeature & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ForecastService::Model::SupplementaryFeature::SetName
void SetName(Aws::String &&value)
Definition: SupplementaryFeature.h:77
Aws::ForecastService::Model::SupplementaryFeature::SetName
void SetName(const char *value)
Definition: SupplementaryFeature.h:83
Aws::ForecastService::Model::SupplementaryFeature::GetValue
const Aws::String & GetValue() const
Definition: SupplementaryFeature.h:138
Aws::ForecastService::Model::SupplementaryFeature::WithValue
SupplementaryFeature & WithValue(const Aws::String &value)
Definition: SupplementaryFeature.h:318
AWS_FORECASTSERVICE_API
#define AWS_FORECASTSERVICE_API
Definition: ForecastService_EXPORTS.h:28
Aws::ForecastService::Model::SupplementaryFeature::SupplementaryFeature
SupplementaryFeature()
Aws::ForecastService::Model::SupplementaryFeature::WithName
SupplementaryFeature & WithName(const Aws::String &value)
Definition: SupplementaryFeature.h:89