AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; }
51 inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); }
52 inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); }
53 inline TimeSeriesConfig& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;}
54 inline TimeSeriesConfig& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;}
55 inline TimeSeriesConfig& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;}
57
59
63 inline const Aws::String& GetTimestampAttributeName() const{ return m_timestampAttributeName; }
64 inline bool TimestampAttributeNameHasBeenSet() const { return m_timestampAttributeNameHasBeenSet; }
65 inline void SetTimestampAttributeName(const Aws::String& value) { m_timestampAttributeNameHasBeenSet = true; m_timestampAttributeName = value; }
66 inline void SetTimestampAttributeName(Aws::String&& value) { m_timestampAttributeNameHasBeenSet = true; m_timestampAttributeName = std::move(value); }
67 inline void SetTimestampAttributeName(const char* value) { m_timestampAttributeNameHasBeenSet = true; m_timestampAttributeName.assign(value); }
69 inline TimeSeriesConfig& WithTimestampAttributeName(Aws::String&& value) { SetTimestampAttributeName(std::move(value)); return *this;}
70 inline TimeSeriesConfig& WithTimestampAttributeName(const char* value) { SetTimestampAttributeName(value); return *this;}
72
74
78 inline const Aws::String& GetItemIdentifierAttributeName() const{ return m_itemIdentifierAttributeName; }
79 inline bool ItemIdentifierAttributeNameHasBeenSet() const { return m_itemIdentifierAttributeNameHasBeenSet; }
80 inline void SetItemIdentifierAttributeName(const Aws::String& value) { m_itemIdentifierAttributeNameHasBeenSet = true; m_itemIdentifierAttributeName = value; }
81 inline void SetItemIdentifierAttributeName(Aws::String&& value) { m_itemIdentifierAttributeNameHasBeenSet = true; m_itemIdentifierAttributeName = std::move(value); }
82 inline void SetItemIdentifierAttributeName(const char* value) { m_itemIdentifierAttributeNameHasBeenSet = true; m_itemIdentifierAttributeName.assign(value); }
85 inline TimeSeriesConfig& WithItemIdentifierAttributeName(const char* value) { SetItemIdentifierAttributeName(value); return *this;}
87
89
93 inline const Aws::Vector<Aws::String>& GetGroupingAttributeNames() const{ return m_groupingAttributeNames; }
94 inline bool GroupingAttributeNamesHasBeenSet() const { return m_groupingAttributeNamesHasBeenSet; }
95 inline void SetGroupingAttributeNames(const Aws::Vector<Aws::String>& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames = value; }
96 inline void SetGroupingAttributeNames(Aws::Vector<Aws::String>&& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames = std::move(value); }
99 inline TimeSeriesConfig& AddGroupingAttributeNames(const Aws::String& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames.push_back(value); return *this; }
100 inline TimeSeriesConfig& AddGroupingAttributeNames(Aws::String&& value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames.push_back(std::move(value)); return *this; }
101 inline TimeSeriesConfig& AddGroupingAttributeNames(const char* value) { m_groupingAttributeNamesHasBeenSet = true; m_groupingAttributeNames.push_back(value); return *this; }
103 private:
104
105 Aws::String m_targetAttributeName;
106 bool m_targetAttributeNameHasBeenSet = false;
107
108 Aws::String m_timestampAttributeName;
109 bool m_timestampAttributeNameHasBeenSet = false;
110
111 Aws::String m_itemIdentifierAttributeName;
112 bool m_itemIdentifierAttributeNameHasBeenSet = false;
113
114 Aws::Vector<Aws::String> m_groupingAttributeNames;
115 bool m_groupingAttributeNamesHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SageMaker
120} // namespace Aws
TimeSeriesConfig & WithItemIdentifierAttributeName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTimestampAttributeName() const
const Aws::String & GetItemIdentifierAttributeName() const
TimeSeriesConfig & WithItemIdentifierAttributeName(Aws::String &&value)
AWS_SAGEMAKER_API TimeSeriesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimestampAttributeName(const Aws::String &value)
TimeSeriesConfig & AddGroupingAttributeNames(const Aws::String &value)
TimeSeriesConfig & WithItemIdentifierAttributeName(const char *value)
AWS_SAGEMAKER_API TimeSeriesConfig(Aws::Utils::Json::JsonView jsonValue)
TimeSeriesConfig & WithTargetAttributeName(Aws::String &&value)
TimeSeriesConfig & WithTimestampAttributeName(Aws::String &&value)
TimeSeriesConfig & AddGroupingAttributeNames(const char *value)
TimeSeriesConfig & WithTargetAttributeName(const Aws::String &value)
void SetTargetAttributeName(const Aws::String &value)
void SetTargetAttributeName(Aws::String &&value)
TimeSeriesConfig & WithTimestampAttributeName(const char *value)
void SetGroupingAttributeNames(const Aws::Vector< Aws::String > &value)
TimeSeriesConfig & AddGroupingAttributeNames(Aws::String &&value)
const Aws::String & GetTargetAttributeName() const
void SetGroupingAttributeNames(Aws::Vector< Aws::String > &&value)
void SetTimestampAttributeName(Aws::String &&value)
void SetItemIdentifierAttributeName(const char *value)
TimeSeriesConfig & WithGroupingAttributeNames(const Aws::Vector< Aws::String > &value)
void SetTargetAttributeName(const char *value)
void SetTimestampAttributeName(const char *value)
void SetItemIdentifierAttributeName(Aws::String &&value)
void SetItemIdentifierAttributeName(const Aws::String &value)
TimeSeriesConfig & WithGroupingAttributeNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetGroupingAttributeNames() const
TimeSeriesConfig & WithTargetAttributeName(const char *value)
TimeSeriesConfig & WithTimestampAttributeName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue