AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TimeSeriesConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API TimeSeriesConfig() = default;
37 AWS_SAGEMAKER_API TimeSeriesConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetTargetAttributeName() const { return m_targetAttributeName; }
49 inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; }
50 template<typename TargetAttributeNameT = Aws::String>
51 void SetTargetAttributeName(TargetAttributeNameT&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::forward<TargetAttributeNameT>(value); }
52 template<typename TargetAttributeNameT = Aws::String>
53 TimeSeriesConfig& WithTargetAttributeName(TargetAttributeNameT&& value) { SetTargetAttributeName(std::forward<TargetAttributeNameT>(value)); return *this;}
55
57
61 inline const Aws::String& GetTimestampAttributeName() const { return m_timestampAttributeName; }
62 inline bool TimestampAttributeNameHasBeenSet() const { return m_timestampAttributeNameHasBeenSet; }
63 template<typename TimestampAttributeNameT = Aws::String>
64 void SetTimestampAttributeName(TimestampAttributeNameT&& value) { m_timestampAttributeNameHasBeenSet = true; m_timestampAttributeName = std::forward<TimestampAttributeNameT>(value); }
65 template<typename TimestampAttributeNameT = Aws::String>
66 TimeSeriesConfig& WithTimestampAttributeName(TimestampAttributeNameT&& value) { SetTimestampAttributeName(std::forward<TimestampAttributeNameT>(value)); return *this;}
68
70
74 inline const Aws::String& GetItemIdentifierAttributeName() const { return m_itemIdentifierAttributeName; }
75 inline bool ItemIdentifierAttributeNameHasBeenSet() const { return m_itemIdentifierAttributeNameHasBeenSet; }
76 template<typename ItemIdentifierAttributeNameT = Aws::String>
77 void SetItemIdentifierAttributeName(ItemIdentifierAttributeNameT&& value) { m_itemIdentifierAttributeNameHasBeenSet = true; m_itemIdentifierAttributeName = std::forward<ItemIdentifierAttributeNameT>(value); }
78 template<typename ItemIdentifierAttributeNameT = Aws::String>
79 TimeSeriesConfig& WithItemIdentifierAttributeName(ItemIdentifierAttributeNameT&& value) { SetItemIdentifierAttributeName(std::forward<ItemIdentifierAttributeNameT>(value)); return *this;}
81
83
87 inline const Aws::Vector<Aws::String>& GetGroupingAttributeNames() const { return m_groupingAttributeNames; }
88 inline bool GroupingAttributeNamesHasBeenSet() const { return m_groupingAttributeNamesHasBeenSet; }
89 template<typename GroupingAttributeNamesT = Aws::Vector<Aws::String>>
90 void SetGroupingAttributeNames(GroupingAttributeNamesT&& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames = std::forward<GroupingAttributeNamesT>(value); }
91 template<typename GroupingAttributeNamesT = Aws::Vector<Aws::String>>
92 TimeSeriesConfig& WithGroupingAttributeNames(GroupingAttributeNamesT&& value) { SetGroupingAttributeNames(std::forward<GroupingAttributeNamesT>(value)); return *this;}
93 template<typename GroupingAttributeNamesT = Aws::String>
94 TimeSeriesConfig& AddGroupingAttributeNames(GroupingAttributeNamesT&& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames.emplace_back(std::forward<GroupingAttributeNamesT>(value)); return *this; }
96 private:
97
98 Aws::String m_targetAttributeName;
99 bool m_targetAttributeNameHasBeenSet = false;
100
101 Aws::String m_timestampAttributeName;
102 bool m_timestampAttributeNameHasBeenSet = false;
103
104 Aws::String m_itemIdentifierAttributeName;
105 bool m_itemIdentifierAttributeNameHasBeenSet = false;
106
107 Aws::Vector<Aws::String> m_groupingAttributeNames;
108 bool m_groupingAttributeNamesHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SageMaker
113} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTargetAttributeName(TargetAttributeNameT &&value)
TimeSeriesConfig & AddGroupingAttributeNames(GroupingAttributeNamesT &&value)
void SetTimestampAttributeName(TimestampAttributeNameT &&value)
const Aws::String & GetTimestampAttributeName() const
const Aws::String & GetItemIdentifierAttributeName() const
AWS_SAGEMAKER_API TimeSeriesConfig()=default
void SetGroupingAttributeNames(GroupingAttributeNamesT &&value)
AWS_SAGEMAKER_API TimeSeriesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesConfig & WithGroupingAttributeNames(GroupingAttributeNamesT &&value)
AWS_SAGEMAKER_API TimeSeriesConfig(Aws::Utils::Json::JsonView jsonValue)
void SetItemIdentifierAttributeName(ItemIdentifierAttributeNameT &&value)
TimeSeriesConfig & WithItemIdentifierAttributeName(ItemIdentifierAttributeNameT &&value)
TimeSeriesConfig & WithTimestampAttributeName(TimestampAttributeNameT &&value)
const Aws::String & GetTargetAttributeName() const
TimeSeriesConfig & WithTargetAttributeName(TargetAttributeNameT &&value)
const Aws::Vector< Aws::String > & GetGroupingAttributeNames() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue