AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateFeatureGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/FeatureDefinition.h>
12#include <aws/sagemaker/model/OnlineStoreConfigUpdate.h>
13#include <aws/sagemaker/model/ThroughputConfigUpdate.h>
14
15#include <utility>
16
17namespace Aws {
18namespace SageMaker {
19namespace Model {
20
24 public:
25 AWS_SAGEMAKER_API UpdateFeatureGroupRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateFeatureGroup"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
38
42 inline const Aws::String& GetFeatureGroupName() const { return m_featureGroupName; }
43 inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
44 template <typename FeatureGroupNameT = Aws::String>
45 void SetFeatureGroupName(FeatureGroupNameT&& value) {
46 m_featureGroupNameHasBeenSet = true;
47 m_featureGroupName = std::forward<FeatureGroupNameT>(value);
48 }
49 template <typename FeatureGroupNameT = Aws::String>
50 UpdateFeatureGroupRequest& WithFeatureGroupName(FeatureGroupNameT&& value) {
51 SetFeatureGroupName(std::forward<FeatureGroupNameT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::Vector<FeatureDefinition>& GetFeatureAdditions() const { return m_featureAdditions; }
64 inline bool FeatureAdditionsHasBeenSet() const { return m_featureAdditionsHasBeenSet; }
65 template <typename FeatureAdditionsT = Aws::Vector<FeatureDefinition>>
66 void SetFeatureAdditions(FeatureAdditionsT&& value) {
67 m_featureAdditionsHasBeenSet = true;
68 m_featureAdditions = std::forward<FeatureAdditionsT>(value);
69 }
70 template <typename FeatureAdditionsT = Aws::Vector<FeatureDefinition>>
71 UpdateFeatureGroupRequest& WithFeatureAdditions(FeatureAdditionsT&& value) {
72 SetFeatureAdditions(std::forward<FeatureAdditionsT>(value));
73 return *this;
74 }
75 template <typename FeatureAdditionsT = FeatureDefinition>
76 UpdateFeatureGroupRequest& AddFeatureAdditions(FeatureAdditionsT&& value) {
77 m_featureAdditionsHasBeenSet = true;
78 m_featureAdditions.emplace_back(std::forward<FeatureAdditionsT>(value));
79 return *this;
80 }
82
84
87 inline const OnlineStoreConfigUpdate& GetOnlineStoreConfig() const { return m_onlineStoreConfig; }
88 inline bool OnlineStoreConfigHasBeenSet() const { return m_onlineStoreConfigHasBeenSet; }
89 template <typename OnlineStoreConfigT = OnlineStoreConfigUpdate>
90 void SetOnlineStoreConfig(OnlineStoreConfigT&& value) {
91 m_onlineStoreConfigHasBeenSet = true;
92 m_onlineStoreConfig = std::forward<OnlineStoreConfigT>(value);
93 }
94 template <typename OnlineStoreConfigT = OnlineStoreConfigUpdate>
95 UpdateFeatureGroupRequest& WithOnlineStoreConfig(OnlineStoreConfigT&& value) {
96 SetOnlineStoreConfig(std::forward<OnlineStoreConfigT>(value));
97 return *this;
98 }
100
102
103 inline const ThroughputConfigUpdate& GetThroughputConfig() const { return m_throughputConfig; }
104 inline bool ThroughputConfigHasBeenSet() const { return m_throughputConfigHasBeenSet; }
105 template <typename ThroughputConfigT = ThroughputConfigUpdate>
106 void SetThroughputConfig(ThroughputConfigT&& value) {
107 m_throughputConfigHasBeenSet = true;
108 m_throughputConfig = std::forward<ThroughputConfigT>(value);
109 }
110 template <typename ThroughputConfigT = ThroughputConfigUpdate>
112 SetThroughputConfig(std::forward<ThroughputConfigT>(value));
113 return *this;
114 }
116 private:
117 Aws::String m_featureGroupName;
118
119 Aws::Vector<FeatureDefinition> m_featureAdditions;
120
121 OnlineStoreConfigUpdate m_onlineStoreConfig;
122
123 ThroughputConfigUpdate m_throughputConfig;
124 bool m_featureGroupNameHasBeenSet = false;
125 bool m_featureAdditionsHasBeenSet = false;
126 bool m_onlineStoreConfigHasBeenSet = false;
127 bool m_throughputConfigHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace SageMaker
132} // namespace Aws
UpdateFeatureGroupRequest & AddFeatureAdditions(FeatureAdditionsT &&value)
const Aws::Vector< FeatureDefinition > & GetFeatureAdditions() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateFeatureGroupRequest & WithFeatureAdditions(FeatureAdditionsT &&value)
UpdateFeatureGroupRequest & WithOnlineStoreConfig(OnlineStoreConfigT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API UpdateFeatureGroupRequest()=default
UpdateFeatureGroupRequest & WithFeatureGroupName(FeatureGroupNameT &&value)
const OnlineStoreConfigUpdate & GetOnlineStoreConfig() const
UpdateFeatureGroupRequest & WithThroughputConfig(ThroughputConfigT &&value)
const ThroughputConfigUpdate & GetThroughputConfig() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector