AWS SDK for C++  1.9.109
AWS SDK for C++
GetRecordRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace SageMakerFeatureStoreRuntime
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "GetRecord"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetFeatureGroupName() const{ return m_featureGroupName; }
46 
50  inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
51 
55  inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; }
56 
60  inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); }
61 
65  inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); }
66 
70  inline GetRecordRequest& WithFeatureGroupName(const Aws::String& value) { SetFeatureGroupName(value); return *this;}
71 
75  inline GetRecordRequest& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;}
76 
80  inline GetRecordRequest& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;}
81 
82 
87  inline const Aws::String& GetRecordIdentifierValueAsString() const{ return m_recordIdentifierValueAsString; }
88 
93  inline bool RecordIdentifierValueAsStringHasBeenSet() const { return m_recordIdentifierValueAsStringHasBeenSet; }
94 
99  inline void SetRecordIdentifierValueAsString(const Aws::String& value) { m_recordIdentifierValueAsStringHasBeenSet = true; m_recordIdentifierValueAsString = value; }
100 
105  inline void SetRecordIdentifierValueAsString(Aws::String&& value) { m_recordIdentifierValueAsStringHasBeenSet = true; m_recordIdentifierValueAsString = std::move(value); }
106 
111  inline void SetRecordIdentifierValueAsString(const char* value) { m_recordIdentifierValueAsStringHasBeenSet = true; m_recordIdentifierValueAsString.assign(value); }
112 
117  inline GetRecordRequest& WithRecordIdentifierValueAsString(const Aws::String& value) { SetRecordIdentifierValueAsString(value); return *this;}
118 
123  inline GetRecordRequest& WithRecordIdentifierValueAsString(Aws::String&& value) { SetRecordIdentifierValueAsString(std::move(value)); return *this;}
124 
129  inline GetRecordRequest& WithRecordIdentifierValueAsString(const char* value) { SetRecordIdentifierValueAsString(value); return *this;}
130 
131 
136  inline const Aws::Vector<Aws::String>& GetFeatureNames() const{ return m_featureNames; }
137 
142  inline bool FeatureNamesHasBeenSet() const { return m_featureNamesHasBeenSet; }
143 
148  inline void SetFeatureNames(const Aws::Vector<Aws::String>& value) { m_featureNamesHasBeenSet = true; m_featureNames = value; }
149 
154  inline void SetFeatureNames(Aws::Vector<Aws::String>&& value) { m_featureNamesHasBeenSet = true; m_featureNames = std::move(value); }
155 
160  inline GetRecordRequest& WithFeatureNames(const Aws::Vector<Aws::String>& value) { SetFeatureNames(value); return *this;}
161 
166  inline GetRecordRequest& WithFeatureNames(Aws::Vector<Aws::String>&& value) { SetFeatureNames(std::move(value)); return *this;}
167 
172  inline GetRecordRequest& AddFeatureNames(const Aws::String& value) { m_featureNamesHasBeenSet = true; m_featureNames.push_back(value); return *this; }
173 
178  inline GetRecordRequest& AddFeatureNames(Aws::String&& value) { m_featureNamesHasBeenSet = true; m_featureNames.push_back(std::move(value)); return *this; }
179 
184  inline GetRecordRequest& AddFeatureNames(const char* value) { m_featureNamesHasBeenSet = true; m_featureNames.push_back(value); return *this; }
185 
186  private:
187 
188  Aws::String m_featureGroupName;
189  bool m_featureGroupNameHasBeenSet;
190 
191  Aws::String m_recordIdentifierValueAsString;
192  bool m_recordIdentifierValueAsStringHasBeenSet;
193 
194  Aws::Vector<Aws::String> m_featureNames;
195  bool m_featureNamesHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace SageMakerFeatureStoreRuntime
200 } // namespace Aws
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::GetFeatureNames
const Aws::Vector< Aws::String > & GetFeatureNames() const
Definition: GetRecordRequest.h:136
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::FeatureGroupNameHasBeenSet
bool FeatureGroupNameHasBeenSet() const
Definition: GetRecordRequest.h:50
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetRecordIdentifierValueAsString
void SetRecordIdentifierValueAsString(const Aws::String &value)
Definition: GetRecordRequest.h:99
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetFeatureNames
void SetFeatureNames(const Aws::Vector< Aws::String > &value)
Definition: GetRecordRequest.h:148
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithFeatureNames
GetRecordRequest & WithFeatureNames(const Aws::Vector< Aws::String > &value)
Definition: GetRecordRequest.h:160
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithRecordIdentifierValueAsString
GetRecordRequest & WithRecordIdentifierValueAsString(const Aws::String &value)
Definition: GetRecordRequest.h:117
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithFeatureGroupName
GetRecordRequest & WithFeatureGroupName(const Aws::String &value)
Definition: GetRecordRequest.h:70
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::RecordIdentifierValueAsStringHasBeenSet
bool RecordIdentifierValueAsStringHasBeenSet() const
Definition: GetRecordRequest.h:93
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithFeatureGroupName
GetRecordRequest & WithFeatureGroupName(const char *value)
Definition: GetRecordRequest.h:80
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetRecordRequest.h:35
SageMakerFeatureStoreRuntime_EXPORTS.h
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithRecordIdentifierValueAsString
GetRecordRequest & WithRecordIdentifierValueAsString(const char *value)
Definition: GetRecordRequest.h:129
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::AddFeatureNames
GetRecordRequest & AddFeatureNames(const char *value)
Definition: GetRecordRequest.h:184
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::GetRecordIdentifierValueAsString
const Aws::String & GetRecordIdentifierValueAsString() const
Definition: GetRecordRequest.h:87
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::FeatureNamesHasBeenSet
bool FeatureNamesHasBeenSet() const
Definition: GetRecordRequest.h:142
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithFeatureNames
GetRecordRequest & WithFeatureNames(Aws::Vector< Aws::String > &&value)
Definition: GetRecordRequest.h:166
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::AddFeatureNames
GetRecordRequest & AddFeatureNames(const Aws::String &value)
Definition: GetRecordRequest.h:172
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::GetFeatureGroupName
const Aws::String & GetFeatureGroupName() const
Definition: GetRecordRequest.h:45
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetFeatureNames
void SetFeatureNames(Aws::Vector< Aws::String > &&value)
Definition: GetRecordRequest.h:154
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::GetRecordRequest
GetRecordRequest()
SageMakerFeatureStoreRuntimeRequest.h
AWSString.h
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest
Definition: GetRecordRequest.h:27
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithFeatureGroupName
GetRecordRequest & WithFeatureGroupName(Aws::String &&value)
Definition: GetRecordRequest.h:75
Aws::SageMakerFeatureStoreRuntime::SageMakerFeatureStoreRuntimeRequest
Definition: SageMakerFeatureStoreRuntimeRequest.h:17
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetRecordIdentifierValueAsString
void SetRecordIdentifierValueAsString(const char *value)
Definition: GetRecordRequest.h:111
AWS_SAGEMAKERFEATURESTORERUNTIME_API
#define AWS_SAGEMAKERFEATURESTORERUNTIME_API
Definition: SageMakerFeatureStoreRuntime_EXPORTS.h:28
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::AddFeatureNames
GetRecordRequest & AddFeatureNames(Aws::String &&value)
Definition: GetRecordRequest.h:178
Aws
Definition: AccessManagementClient.h:15
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetFeatureGroupName
void SetFeatureGroupName(const char *value)
Definition: GetRecordRequest.h:65
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetRecordIdentifierValueAsString
void SetRecordIdentifierValueAsString(Aws::String &&value)
Definition: GetRecordRequest.h:105
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetFeatureGroupName
void SetFeatureGroupName(const Aws::String &value)
Definition: GetRecordRequest.h:55
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::SetFeatureGroupName
void SetFeatureGroupName(Aws::String &&value)
Definition: GetRecordRequest.h:60
Aws::SageMakerFeatureStoreRuntime::Model::GetRecordRequest::WithRecordIdentifierValueAsString
GetRecordRequest & WithRecordIdentifierValueAsString(Aws::String &&value)
Definition: GetRecordRequest.h:123