AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AttributeConfig.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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
38 {
39 public:
40 AWS_FORECASTSERVICE_API AttributeConfig();
41 AWS_FORECASTSERVICE_API AttributeConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_FORECASTSERVICE_API AttributeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
54 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
55 inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
56 inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
57 inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
58 inline AttributeConfig& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
59 inline AttributeConfig& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
60 inline AttributeConfig& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
62
64
92 inline const Aws::Map<Aws::String, Aws::String>& GetTransformations() const{ return m_transformations; }
93 inline bool TransformationsHasBeenSet() const { return m_transformationsHasBeenSet; }
94 inline void SetTransformations(const Aws::Map<Aws::String, Aws::String>& value) { m_transformationsHasBeenSet = true; m_transformations = value; }
95 inline void SetTransformations(Aws::Map<Aws::String, Aws::String>&& value) { m_transformationsHasBeenSet = true; m_transformations = std::move(value); }
98 inline AttributeConfig& AddTransformations(const Aws::String& key, const Aws::String& value) { m_transformationsHasBeenSet = true; m_transformations.emplace(key, value); return *this; }
99 inline AttributeConfig& AddTransformations(Aws::String&& key, const Aws::String& value) { m_transformationsHasBeenSet = true; m_transformations.emplace(std::move(key), value); return *this; }
100 inline AttributeConfig& AddTransformations(const Aws::String& key, Aws::String&& value) { m_transformationsHasBeenSet = true; m_transformations.emplace(key, std::move(value)); return *this; }
101 inline AttributeConfig& AddTransformations(Aws::String&& key, Aws::String&& value) { m_transformationsHasBeenSet = true; m_transformations.emplace(std::move(key), std::move(value)); return *this; }
102 inline AttributeConfig& AddTransformations(const char* key, Aws::String&& value) { m_transformationsHasBeenSet = true; m_transformations.emplace(key, std::move(value)); return *this; }
103 inline AttributeConfig& AddTransformations(Aws::String&& key, const char* value) { m_transformationsHasBeenSet = true; m_transformations.emplace(std::move(key), value); return *this; }
104 inline AttributeConfig& AddTransformations(const char* key, const char* value) { m_transformationsHasBeenSet = true; m_transformations.emplace(key, value); return *this; }
106 private:
107
108 Aws::String m_attributeName;
109 bool m_attributeNameHasBeenSet = false;
110
111 Aws::Map<Aws::String, Aws::String> m_transformations;
112 bool m_transformationsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace ForecastService
117} // namespace Aws
const Aws::String & GetAttributeName() const
AttributeConfig & WithTransformations(const Aws::Map< Aws::String, Aws::String > &value)
AttributeConfig & AddTransformations(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTransformations() const
AWS_FORECASTSERVICE_API AttributeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeConfig & WithAttributeName(const char *value)
void SetTransformations(const Aws::Map< Aws::String, Aws::String > &value)
AttributeConfig & AddTransformations(const char *key, Aws::String &&value)
AttributeConfig & AddTransformations(Aws::String &&key, const Aws::String &value)
AWS_FORECASTSERVICE_API AttributeConfig(Aws::Utils::Json::JsonView jsonValue)
AttributeConfig & AddTransformations(const Aws::String &key, Aws::String &&value)
AttributeConfig & AddTransformations(Aws::String &&key, const char *value)
AttributeConfig & AddTransformations(Aws::String &&key, Aws::String &&value)
AttributeConfig & WithAttributeName(Aws::String &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeConfig & WithTransformations(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributeName(const Aws::String &value)
AWS_FORECASTSERVICE_API AttributeConfig()
AttributeConfig & WithAttributeName(const Aws::String &value)
void SetTransformations(Aws::Map< Aws::String, Aws::String > &&value)
AttributeConfig & AddTransformations(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue