AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FeatureTransformation.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Personalize
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PERSONALIZE_API FeatureTransformation();
39 AWS_PERSONALIZE_API FeatureTransformation(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline FeatureTransformation& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline FeatureTransformation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline FeatureTransformation& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetFeatureTransformationArn() const{ return m_featureTransformationArn; }
63 inline bool FeatureTransformationArnHasBeenSet() const { return m_featureTransformationArnHasBeenSet; }
64 inline void SetFeatureTransformationArn(const Aws::String& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = value; }
65 inline void SetFeatureTransformationArn(Aws::String&& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = std::move(value); }
66 inline void SetFeatureTransformationArn(const char* value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn.assign(value); }
69 inline FeatureTransformation& WithFeatureTransformationArn(const char* value) { SetFeatureTransformationArn(value); return *this;}
71
73
76 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultParameters() const{ return m_defaultParameters; }
77 inline bool DefaultParametersHasBeenSet() const { return m_defaultParametersHasBeenSet; }
78 inline void SetDefaultParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters = value; }
79 inline void SetDefaultParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters = std::move(value); }
82 inline FeatureTransformation& AddDefaultParameters(const Aws::String& key, const Aws::String& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, value); return *this; }
83 inline FeatureTransformation& AddDefaultParameters(Aws::String&& key, const Aws::String& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(std::move(key), value); return *this; }
84 inline FeatureTransformation& AddDefaultParameters(const Aws::String& key, Aws::String&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, std::move(value)); return *this; }
85 inline FeatureTransformation& AddDefaultParameters(Aws::String&& key, Aws::String&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(std::move(key), std::move(value)); return *this; }
86 inline FeatureTransformation& AddDefaultParameters(const char* key, Aws::String&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, std::move(value)); return *this; }
87 inline FeatureTransformation& AddDefaultParameters(Aws::String&& key, const char* value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(std::move(key), value); return *this; }
88 inline FeatureTransformation& AddDefaultParameters(const char* key, const char* value) { m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(key, value); return *this; }
90
92
95 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
96 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
97 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
98 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
100 inline FeatureTransformation& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
102
104
108 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
109 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
110 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
111 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
115
117
122 inline const Aws::String& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
127 inline FeatureTransformation& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
128 inline FeatureTransformation& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
129 inline FeatureTransformation& WithStatus(const char* value) { SetStatus(value); return *this;}
131 private:
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 Aws::String m_featureTransformationArn;
137 bool m_featureTransformationArnHasBeenSet = false;
138
139 Aws::Map<Aws::String, Aws::String> m_defaultParameters;
140 bool m_defaultParametersHasBeenSet = false;
141
142 Aws::Utils::DateTime m_creationDateTime;
143 bool m_creationDateTimeHasBeenSet = false;
144
145 Aws::Utils::DateTime m_lastUpdatedDateTime;
146 bool m_lastUpdatedDateTimeHasBeenSet = false;
147
148 Aws::String m_status;
149 bool m_statusHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Personalize
154} // namespace Aws
FeatureTransformation & WithStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
FeatureTransformation & WithName(Aws::String &&value)
FeatureTransformation & AddDefaultParameters(const char *key, const char *value)
FeatureTransformation & WithCreationDateTime(Aws::Utils::DateTime &&value)
FeatureTransformation & WithName(const char *value)
void SetFeatureTransformationArn(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
FeatureTransformation & WithFeatureTransformationArn(Aws::String &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
FeatureTransformation & WithName(const Aws::String &value)
FeatureTransformation & WithDefaultParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetDefaultParameters(Aws::Map< Aws::String, Aws::String > &&value)
FeatureTransformation & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetDefaultParameters(const Aws::Map< Aws::String, Aws::String > &value)
FeatureTransformation & AddDefaultParameters(Aws::String &&key, const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
FeatureTransformation & WithCreationDateTime(const Aws::Utils::DateTime &value)
FeatureTransformation & WithStatus(const Aws::String &value)
FeatureTransformation & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
FeatureTransformation & WithFeatureTransformationArn(const Aws::String &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
FeatureTransformation & WithDefaultParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultParameters() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
FeatureTransformation & WithStatus(const char *value)
FeatureTransformation & WithFeatureTransformationArn(const char *value)
AWS_PERSONALIZE_API FeatureTransformation(Aws::Utils::Json::JsonView jsonValue)
FeatureTransformation & AddDefaultParameters(const char *key, Aws::String &&value)
FeatureTransformation & AddDefaultParameters(Aws::String &&key, const Aws::String &value)
FeatureTransformation & AddDefaultParameters(Aws::String &&key, Aws::String &&value)
AWS_PERSONALIZE_API FeatureTransformation & operator=(Aws::Utils::Json::JsonView jsonValue)
FeatureTransformation & AddDefaultParameters(const Aws::String &key, const Aws::String &value)
FeatureTransformation & AddDefaultParameters(const Aws::String &key, Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&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