AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SchemaAttribute.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/AttributeType.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
37 {
38 public:
39 AWS_FORECASTSERVICE_API SchemaAttribute() = default;
40 AWS_FORECASTSERVICE_API SchemaAttribute(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FORECASTSERVICE_API SchemaAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
50 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
51 template<typename AttributeNameT = Aws::String>
52 void SetAttributeName(AttributeNameT&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::forward<AttributeNameT>(value); }
53 template<typename AttributeNameT = Aws::String>
54 SchemaAttribute& WithAttributeName(AttributeNameT&& value) { SetAttributeName(std::forward<AttributeNameT>(value)); return *this;}
56
58
63 inline AttributeType GetAttributeType() const { return m_attributeType; }
64 inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
65 inline void SetAttributeType(AttributeType value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; }
66 inline SchemaAttribute& WithAttributeType(AttributeType value) { SetAttributeType(value); return *this;}
68 private:
69
70 Aws::String m_attributeName;
71 bool m_attributeNameHasBeenSet = false;
72
74 bool m_attributeTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ForecastService
79} // namespace Aws
void SetAttributeName(AttributeNameT &&value)
AWS_FORECASTSERVICE_API SchemaAttribute()=default
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaAttribute & WithAttributeName(AttributeNameT &&value)
const Aws::String & GetAttributeName() const
AWS_FORECASTSERVICE_API SchemaAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API SchemaAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaAttribute & WithAttributeType(AttributeType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue