AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; }
49 inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); }
50 inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); }
52 inline UpdateFeatureGroupRequest& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;}
53 inline UpdateFeatureGroupRequest& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;}
55
57
63 inline const Aws::Vector<FeatureDefinition>& GetFeatureAdditions() const{ return m_featureAdditions; }
64 inline bool FeatureAdditionsHasBeenSet() const { return m_featureAdditionsHasBeenSet; }
65 inline void SetFeatureAdditions(const Aws::Vector<FeatureDefinition>& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions = value; }
66 inline void SetFeatureAdditions(Aws::Vector<FeatureDefinition>&& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions = std::move(value); }
69 inline UpdateFeatureGroupRequest& AddFeatureAdditions(const FeatureDefinition& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions.push_back(value); return *this; }
70 inline UpdateFeatureGroupRequest& AddFeatureAdditions(FeatureDefinition&& value) { m_featureAdditionsHasBeenSet = true; m_featureAdditions.push_back(std::move(value)); return *this; }
72
74
77 inline const OnlineStoreConfigUpdate& GetOnlineStoreConfig() const{ return m_onlineStoreConfig; }
78 inline bool OnlineStoreConfigHasBeenSet() const { return m_onlineStoreConfigHasBeenSet; }
79 inline void SetOnlineStoreConfig(const OnlineStoreConfigUpdate& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = value; }
80 inline void SetOnlineStoreConfig(OnlineStoreConfigUpdate&& value) { m_onlineStoreConfigHasBeenSet = true; m_onlineStoreConfig = std::move(value); }
84
86
87 inline const ThroughputConfigUpdate& GetThroughputConfig() const{ return m_throughputConfig; }
88 inline bool ThroughputConfigHasBeenSet() const { return m_throughputConfigHasBeenSet; }
89 inline void SetThroughputConfig(const ThroughputConfigUpdate& value) { m_throughputConfigHasBeenSet = true; m_throughputConfig = value; }
90 inline void SetThroughputConfig(ThroughputConfigUpdate&& value) { m_throughputConfigHasBeenSet = true; m_throughputConfig = std::move(value); }
94 private:
95
96 Aws::String m_featureGroupName;
97 bool m_featureGroupNameHasBeenSet = false;
98
99 Aws::Vector<FeatureDefinition> m_featureAdditions;
100 bool m_featureAdditionsHasBeenSet = false;
101
102 OnlineStoreConfigUpdate m_onlineStoreConfig;
103 bool m_onlineStoreConfigHasBeenSet = false;
104
105 ThroughputConfigUpdate m_throughputConfig;
106 bool m_throughputConfigHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace SageMaker
111} // namespace Aws
void SetOnlineStoreConfig(OnlineStoreConfigUpdate &&value)
UpdateFeatureGroupRequest & WithFeatureAdditions(Aws::Vector< FeatureDefinition > &&value)
void SetFeatureAdditions(Aws::Vector< FeatureDefinition > &&value)
void SetThroughputConfig(const ThroughputConfigUpdate &value)
UpdateFeatureGroupRequest & WithThroughputConfig(const ThroughputConfigUpdate &value)
const Aws::Vector< FeatureDefinition > & GetFeatureAdditions() const
void SetThroughputConfig(ThroughputConfigUpdate &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetOnlineStoreConfig(const OnlineStoreConfigUpdate &value)
UpdateFeatureGroupRequest & WithOnlineStoreConfig(const OnlineStoreConfigUpdate &value)
UpdateFeatureGroupRequest & WithFeatureGroupName(Aws::String &&value)
UpdateFeatureGroupRequest & WithFeatureGroupName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateFeatureGroupRequest & AddFeatureAdditions(const FeatureDefinition &value)
UpdateFeatureGroupRequest & AddFeatureAdditions(FeatureDefinition &&value)
UpdateFeatureGroupRequest & WithThroughputConfig(ThroughputConfigUpdate &&value)
UpdateFeatureGroupRequest & WithFeatureAdditions(const Aws::Vector< FeatureDefinition > &value)
const OnlineStoreConfigUpdate & GetOnlineStoreConfig() const
void SetFeatureAdditions(const Aws::Vector< FeatureDefinition > &value)
UpdateFeatureGroupRequest & WithOnlineStoreConfig(OnlineStoreConfigUpdate &&value)
UpdateFeatureGroupRequest & WithFeatureGroupName(const Aws::String &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