AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateFeatureGroupRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/OnlineStoreConfigUpdate.h>
12#include <aws/sagemaker/model/ThroughputConfigUpdate.h>
13#include <aws/sagemaker/model/FeatureDefinition.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API UpdateFeatureGroupRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateFeatureGroup"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
46 inline const Aws::String& GetFeatureGroupName() const { return m_featureGroupName; }
47 inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
48 template<typename FeatureGroupNameT = Aws::String>
49 void SetFeatureGroupName(FeatureGroupNameT&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::forward<FeatureGroupNameT>(value); }
50 template<typename FeatureGroupNameT = Aws::String>
51 UpdateFeatureGroupRequest& WithFeatureGroupName(FeatureGroupNameT&& value) { SetFeatureGroupName(std::forward<FeatureGroupNameT>(value)); return *this;}
53
55
61 inline const Aws::Vector<FeatureDefinition>& GetFeatureAdditions() const { return m_featureAdditions; }
62 inline bool FeatureAdditionsHasBeenSet() const { return m_featureAdditionsHasBeenSet; }
63 template<typename FeatureAdditionsT = Aws::Vector<FeatureDefinition>>
64 void SetFeatureAdditions(FeatureAdditionsT&& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions = std::forward<FeatureAdditionsT>(value); }
65 template<typename FeatureAdditionsT = Aws::Vector<FeatureDefinition>>
66 UpdateFeatureGroupRequest& WithFeatureAdditions(FeatureAdditionsT&& value) { SetFeatureAdditions(std::forward<FeatureAdditionsT>(value)); return *this;}
67 template<typename FeatureAdditionsT = FeatureDefinition>
68 UpdateFeatureGroupRequest& AddFeatureAdditions(FeatureAdditionsT&& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions.emplace_back(std::forward<FeatureAdditionsT>(value)); return *this; }
70
72
75 inline const OnlineStoreConfigUpdate& GetOnlineStoreConfig() const { return m_onlineStoreConfig; }
76 inline bool OnlineStoreConfigHasBeenSet() const { return m_onlineStoreConfigHasBeenSet; }
77 template<typename OnlineStoreConfigT = OnlineStoreConfigUpdate>
78 void SetOnlineStoreConfig(OnlineStoreConfigT&& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = std::forward<OnlineStoreConfigT>(value); }
79 template<typename OnlineStoreConfigT = OnlineStoreConfigUpdate>
80 UpdateFeatureGroupRequest& WithOnlineStoreConfig(OnlineStoreConfigT&& value) { SetOnlineStoreConfig(std::forward<OnlineStoreConfigT>(value)); return *this;}
82
84
85 inline const ThroughputConfigUpdate& GetThroughputConfig() const { return m_throughputConfig; }
86 inline bool ThroughputConfigHasBeenSet() const { return m_throughputConfigHasBeenSet; }
87 template<typename ThroughputConfigT = ThroughputConfigUpdate>
88 void SetThroughputConfig(ThroughputConfigT&& value) { m_throughputConfigHasBeenSet = true; m_throughputConfig = std::forward<ThroughputConfigT>(value); }
89 template<typename ThroughputConfigT = ThroughputConfigUpdate>
90 UpdateFeatureGroupRequest& WithThroughputConfig(ThroughputConfigT&& value) { SetThroughputConfig(std::forward<ThroughputConfigT>(value)); return *this;}
92 private:
93
94 Aws::String m_featureGroupName;
95 bool m_featureGroupNameHasBeenSet = false;
96
97 Aws::Vector<FeatureDefinition> m_featureAdditions;
98 bool m_featureAdditionsHasBeenSet = false;
99
100 OnlineStoreConfigUpdate m_onlineStoreConfig;
101 bool m_onlineStoreConfigHasBeenSet = false;
102
103 ThroughputConfigUpdate m_throughputConfig;
104 bool m_throughputConfigHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SageMaker
109} // 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