AWS SDK for C++  1.9.108
AWS SDK for C++
CampaignConfig.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 
33  {
34  public:
39 
40 
50  inline const Aws::Map<Aws::String, Aws::String>& GetItemExplorationConfig() const{ return m_itemExplorationConfig; }
51 
61  inline bool ItemExplorationConfigHasBeenSet() const { return m_itemExplorationConfigHasBeenSet; }
62 
72  inline void SetItemExplorationConfig(const Aws::Map<Aws::String, Aws::String>& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig = value; }
73 
83  inline void SetItemExplorationConfig(Aws::Map<Aws::String, Aws::String>&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig = std::move(value); }
84 
94  inline CampaignConfig& WithItemExplorationConfig(const Aws::Map<Aws::String, Aws::String>& value) { SetItemExplorationConfig(value); return *this;}
95 
105  inline CampaignConfig& WithItemExplorationConfig(Aws::Map<Aws::String, Aws::String>&& value) { SetItemExplorationConfig(std::move(value)); return *this;}
106 
116  inline CampaignConfig& AddItemExplorationConfig(const Aws::String& key, const Aws::String& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, value); return *this; }
117 
127  inline CampaignConfig& AddItemExplorationConfig(Aws::String&& key, const Aws::String& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), value); return *this; }
128 
138  inline CampaignConfig& AddItemExplorationConfig(const Aws::String& key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, std::move(value)); return *this; }
139 
149  inline CampaignConfig& AddItemExplorationConfig(Aws::String&& key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), std::move(value)); return *this; }
150 
160  inline CampaignConfig& AddItemExplorationConfig(const char* key, Aws::String&& value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, std::move(value)); return *this; }
161 
171  inline CampaignConfig& AddItemExplorationConfig(Aws::String&& key, const char* value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(std::move(key), value); return *this; }
172 
182  inline CampaignConfig& AddItemExplorationConfig(const char* key, const char* value) { m_itemExplorationConfigHasBeenSet = true; m_itemExplorationConfig.emplace(key, value); return *this; }
183 
184  private:
185 
186  Aws::Map<Aws::String, Aws::String> m_itemExplorationConfig;
187  bool m_itemExplorationConfigHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace Personalize
192 } // namespace Aws
Aws::Personalize::Model::CampaignConfig::AddItemExplorationConfig
CampaignConfig & AddItemExplorationConfig(Aws::String &&key, const char *value)
Definition: CampaignConfig.h:171
Aws::Personalize::Model::CampaignConfig::CampaignConfig
CampaignConfig()
Aws::Personalize::Model::CampaignConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::CampaignConfig
Definition: CampaignConfig.h:33
Aws::Personalize::Model::CampaignConfig::operator=
CampaignConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::CampaignConfig::AddItemExplorationConfig
CampaignConfig & AddItemExplorationConfig(const char *key, Aws::String &&value)
Definition: CampaignConfig.h:160
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::CampaignConfig::AddItemExplorationConfig
CampaignConfig & AddItemExplorationConfig(const Aws::String &key, const Aws::String &value)
Definition: CampaignConfig.h:116
Aws::Personalize::Model::CampaignConfig::ItemExplorationConfigHasBeenSet
bool ItemExplorationConfigHasBeenSet() const
Definition: CampaignConfig.h:61
Aws::Personalize::Model::CampaignConfig::CampaignConfig
CampaignConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::CampaignConfig::WithItemExplorationConfig
CampaignConfig & WithItemExplorationConfig(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CampaignConfig.h:105
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::CampaignConfig::AddItemExplorationConfig
CampaignConfig & AddItemExplorationConfig(Aws::String &&key, Aws::String &&value)
Definition: CampaignConfig.h:149
Aws::Personalize::Model::CampaignConfig::SetItemExplorationConfig
void SetItemExplorationConfig(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CampaignConfig.h:72
Aws::Personalize::Model::CampaignConfig::SetItemExplorationConfig
void SetItemExplorationConfig(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CampaignConfig.h:83
Aws::Personalize::Model::CampaignConfig::AddItemExplorationConfig
CampaignConfig & AddItemExplorationConfig(Aws::String &&key, const Aws::String &value)
Definition: CampaignConfig.h:127
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::CampaignConfig::AddItemExplorationConfig
CampaignConfig & AddItemExplorationConfig(const Aws::String &key, Aws::String &&value)
Definition: CampaignConfig.h:138
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::CampaignConfig::WithItemExplorationConfig
CampaignConfig & WithItemExplorationConfig(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CampaignConfig.h:94
Personalize_EXPORTS.h
AWSMap.h
Aws::Personalize::Model::CampaignConfig::GetItemExplorationConfig
const Aws::Map< Aws::String, Aws::String > & GetItemExplorationConfig() const
Definition: CampaignConfig.h:50
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Personalize::Model::CampaignConfig::AddItemExplorationConfig
CampaignConfig & AddItemExplorationConfig(const char *key, const char *value)
Definition: CampaignConfig.h:182