AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
52 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
53 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
54 inline SchemaAttribute& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
55 inline SchemaAttribute& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
56 inline SchemaAttribute& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
58
60
65 inline const AttributeType& GetAttributeType() const{ return m_attributeType; }
66 inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
67 inline void SetAttributeType(const AttributeType& value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; }
68 inline void SetAttributeType(AttributeType&& value) { m_attributeTypeHasBeenSet = true; m_attributeType = std::move(value); }
69 inline SchemaAttribute& WithAttributeType(const AttributeType& value) { SetAttributeType(value); return *this;}
70 inline SchemaAttribute& WithAttributeType(AttributeType&& value) { SetAttributeType(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_attributeName;
75 bool m_attributeNameHasBeenSet = false;
76
77 AttributeType m_attributeType;
78 bool m_attributeTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ForecastService
83} // namespace Aws
SchemaAttribute & WithAttributeName(Aws::String &&value)
void SetAttributeType(AttributeType &&value)
void SetAttributeName(const Aws::String &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAttributeName() const
AWS_FORECASTSERVICE_API SchemaAttribute()
AWS_FORECASTSERVICE_API SchemaAttribute(Aws::Utils::Json::JsonView jsonValue)
SchemaAttribute & WithAttributeType(const AttributeType &value)
const AttributeType & GetAttributeType() const
SchemaAttribute & WithAttributeType(AttributeType &&value)
void SetAttributeType(const AttributeType &value)
SchemaAttribute & WithAttributeName(const char *value)
SchemaAttribute & WithAttributeName(const Aws::String &value)
AWS_FORECASTSERVICE_API SchemaAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue