AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 FeatureTransformation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetFeatureTransformationArn() const { return m_featureTransformationArn; }
61 inline bool FeatureTransformationArnHasBeenSet() const { return m_featureTransformationArnHasBeenSet; }
62 template<typename FeatureTransformationArnT = Aws::String>
63 void SetFeatureTransformationArn(FeatureTransformationArnT&& value) { m_featureTransformationArnHasBeenSet = true; m_featureTransformationArn = std::forward<FeatureTransformationArnT>(value); }
64 template<typename FeatureTransformationArnT = Aws::String>
65 FeatureTransformation& WithFeatureTransformationArn(FeatureTransformationArnT&& value) { SetFeatureTransformationArn(std::forward<FeatureTransformationArnT>(value)); return *this;}
67
69
72 inline const Aws::Map<Aws::String, Aws::String>& GetDefaultParameters() const { return m_defaultParameters; }
73 inline bool DefaultParametersHasBeenSet() const { return m_defaultParametersHasBeenSet; }
74 template<typename DefaultParametersT = Aws::Map<Aws::String, Aws::String>>
75 void SetDefaultParameters(DefaultParametersT&& value) { m_defaultParametersHasBeenSet = true; m_defaultParameters = std::forward<DefaultParametersT>(value); }
76 template<typename DefaultParametersT = Aws::Map<Aws::String, Aws::String>>
77 FeatureTransformation& WithDefaultParameters(DefaultParametersT&& value) { SetDefaultParameters(std::forward<DefaultParametersT>(value)); return *this;}
78 template<typename DefaultParametersKeyT = Aws::String, typename DefaultParametersValueT = Aws::String>
79 FeatureTransformation& AddDefaultParameters(DefaultParametersKeyT&& key, DefaultParametersValueT&& value) {
80 m_defaultParametersHasBeenSet = true; m_defaultParameters.emplace(std::forward<DefaultParametersKeyT>(key), std::forward<DefaultParametersValueT>(value)); return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
89 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
90 template<typename CreationDateTimeT = Aws::Utils::DateTime>
91 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
92 template<typename CreationDateTimeT = Aws::Utils::DateTime>
93 FeatureTransformation& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
95
97
101 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
102 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
103 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
104 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
105 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
106 FeatureTransformation& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
108
110
115 inline const Aws::String& GetStatus() const { return m_status; }
116 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
117 template<typename StatusT = Aws::String>
118 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
119 template<typename StatusT = Aws::String>
120 FeatureTransformation& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
122 private:
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_featureTransformationArn;
128 bool m_featureTransformationArnHasBeenSet = false;
129
130 Aws::Map<Aws::String, Aws::String> m_defaultParameters;
131 bool m_defaultParametersHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationDateTime{};
134 bool m_creationDateTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedDateTime{};
137 bool m_lastUpdatedDateTimeHasBeenSet = false;
138
139 Aws::String m_status;
140 bool m_statusHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Personalize
145} // namespace Aws
const Aws::Utils::DateTime & GetCreationDateTime() const
FeatureTransformation & WithFeatureTransformationArn(FeatureTransformationArnT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
FeatureTransformation & WithStatus(StatusT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetDefaultParameters(DefaultParametersT &&value)
void SetFeatureTransformationArn(FeatureTransformationArnT &&value)
FeatureTransformation & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDefaultParameters() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
FeatureTransformation & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API FeatureTransformation()=default
AWS_PERSONALIZE_API FeatureTransformation(Aws::Utils::Json::JsonView jsonValue)
FeatureTransformation & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
FeatureTransformation & WithDefaultParameters(DefaultParametersT &&value)
AWS_PERSONALIZE_API FeatureTransformation & operator=(Aws::Utils::Json::JsonView jsonValue)
FeatureTransformation & AddDefaultParameters(DefaultParametersKeyT &&key, DefaultParametersValueT &&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