AWS SDK for C++  1.9.102
AWS SDK for C++
BatchInferenceJobConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
49  inline const Aws::Map<Aws::String, Aws::String>& GetItemExplorationConfig() const{ return m_itemExplorationConfig; }
50 
58  inline bool ItemExplorationConfigHasBeenSet() const { return m_itemExplorationConfigHasBeenSet; }
59 
67  inline void SetItemExplorationConfig(const Aws::Map<Aws::String, Aws::String>& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig = value; }
68 
76  inline void SetItemExplorationConfig(Aws::Map<Aws::String, Aws::String>&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig = std::move(value); }
77 
85  inline BatchInferenceJobConfig& WithItemExplorationConfig(const Aws::Map<Aws::String, Aws::String>& value) { SetItemExplorationConfig(value); return *this;}
86 
94  inline BatchInferenceJobConfig& WithItemExplorationConfig(Aws::Map<Aws::String, Aws::String>&& value) { SetItemExplorationConfig(std::move(value)); return *this;}
95 
103  inline BatchInferenceJobConfig& AddItemExplorationConfig(const Aws::String& key, const Aws::String& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, value); return *this; }
104 
112  inline BatchInferenceJobConfig& AddItemExplorationConfig(Aws::String&& key, const Aws::String& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), value); return *this; }
113 
121  inline BatchInferenceJobConfig& AddItemExplorationConfig(const Aws::String& key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, std::move(value)); return *this; }
122 
130  inline BatchInferenceJobConfig& AddItemExplorationConfig(Aws::String&& key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), std::move(value)); return *this; }
131 
139  inline BatchInferenceJobConfig& AddItemExplorationConfig(const char* key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, std::move(value)); return *this; }
140 
148  inline BatchInferenceJobConfig& AddItemExplorationConfig(Aws::String&& key, const char* value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), value); return *this; }
149 
157  inline BatchInferenceJobConfig& AddItemExplorationConfig(const char* key, const char* value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, value); return *this; }
158 
159  private:
160 
161  Aws::Map<Aws::String, Aws::String> m_itemExplorationConfig;
162  bool m_itemExplorationConfigHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace Personalize
167 } // namespace Aws
Aws::Personalize::Model::BatchInferenceJobConfig::AddItemExplorationConfig
BatchInferenceJobConfig & AddItemExplorationConfig(Aws::String &&key, const Aws::String &value)
Definition: BatchInferenceJobConfig.h:112
Aws::Personalize::Model::BatchInferenceJobConfig::BatchInferenceJobConfig
BatchInferenceJobConfig()
Aws::Personalize::Model::BatchInferenceJobConfig::AddItemExplorationConfig
BatchInferenceJobConfig & AddItemExplorationConfig(const char *key, Aws::String &&value)
Definition: BatchInferenceJobConfig.h:139
Aws::Personalize::Model::BatchInferenceJobConfig::SetItemExplorationConfig
void SetItemExplorationConfig(const Aws::Map< Aws::String, Aws::String > &value)
Definition: BatchInferenceJobConfig.h:67
Aws::Personalize::Model::BatchInferenceJobConfig::WithItemExplorationConfig
BatchInferenceJobConfig & WithItemExplorationConfig(Aws::Map< Aws::String, Aws::String > &&value)
Definition: BatchInferenceJobConfig.h:94
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::BatchInferenceJobConfig::GetItemExplorationConfig
const Aws::Map< Aws::String, Aws::String > & GetItemExplorationConfig() const
Definition: BatchInferenceJobConfig.h:49
Aws::Personalize::Model::BatchInferenceJobConfig::ItemExplorationConfigHasBeenSet
bool ItemExplorationConfigHasBeenSet() const
Definition: BatchInferenceJobConfig.h:58
Aws::Personalize::Model::BatchInferenceJobConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::BatchInferenceJobConfig::SetItemExplorationConfig
void SetItemExplorationConfig(Aws::Map< Aws::String, Aws::String > &&value)
Definition: BatchInferenceJobConfig.h:76
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::BatchInferenceJobConfig::AddItemExplorationConfig
BatchInferenceJobConfig & AddItemExplorationConfig(Aws::String &&key, Aws::String &&value)
Definition: BatchInferenceJobConfig.h:130
Aws::Personalize::Model::BatchInferenceJobConfig
Definition: BatchInferenceJobConfig.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::BatchInferenceJobConfig::AddItemExplorationConfig
BatchInferenceJobConfig & AddItemExplorationConfig(Aws::String &&key, const char *value)
Definition: BatchInferenceJobConfig.h:148
Aws::Personalize::Model::BatchInferenceJobConfig::AddItemExplorationConfig
BatchInferenceJobConfig & AddItemExplorationConfig(const Aws::String &key, const Aws::String &value)
Definition: BatchInferenceJobConfig.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::BatchInferenceJobConfig::operator=
BatchInferenceJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::BatchInferenceJobConfig::AddItemExplorationConfig
BatchInferenceJobConfig & AddItemExplorationConfig(const char *key, const char *value)
Definition: BatchInferenceJobConfig.h:157
Aws::Personalize::Model::BatchInferenceJobConfig::WithItemExplorationConfig
BatchInferenceJobConfig & WithItemExplorationConfig(const Aws::Map< Aws::String, Aws::String > &value)
Definition: BatchInferenceJobConfig.h:85
Personalize_EXPORTS.h
Aws::Personalize::Model::BatchInferenceJobConfig::AddItemExplorationConfig
BatchInferenceJobConfig & AddItemExplorationConfig(const Aws::String &key, Aws::String &&value)
Definition: BatchInferenceJobConfig.h:121
AWSMap.h
Aws::Personalize::Model::BatchInferenceJobConfig::BatchInferenceJobConfig
BatchInferenceJobConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19