AWS SDK for C++  1.9.73
AWS SDK for C++
FirelensConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ECS
24 {
25 namespace Model
26 {
27 
38  {
39  public:
44 
45 
50  inline const FirelensConfigurationType& GetType() const{ return m_type; }
51 
56  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
57 
62  inline void SetType(const FirelensConfigurationType& value) { m_typeHasBeenSet = true; m_type = value; }
63 
68  inline void SetType(FirelensConfigurationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 
74  inline FirelensConfiguration& WithType(const FirelensConfigurationType& value) { SetType(value); return *this;}
75 
80  inline FirelensConfiguration& WithType(FirelensConfigurationType&& value) { SetType(std::move(value)); return *this;}
81 
82 
95  inline const Aws::Map<Aws::String, Aws::String>& GetOptions() const{ return m_options; }
96 
109  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
110 
123  inline void SetOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_optionsHasBeenSet = true; m_options = value; }
124 
137  inline void SetOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
138 
151  inline FirelensConfiguration& WithOptions(const Aws::Map<Aws::String, Aws::String>& value) { SetOptions(value); return *this;}
152 
165  inline FirelensConfiguration& WithOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetOptions(std::move(value)); return *this;}
166 
179  inline FirelensConfiguration& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
180 
193  inline FirelensConfiguration& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
194 
207  inline FirelensConfiguration& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
208 
221  inline FirelensConfiguration& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; }
222 
235  inline FirelensConfiguration& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
236 
249  inline FirelensConfiguration& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
250 
263  inline FirelensConfiguration& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
264 
265  private:
266 
268  bool m_typeHasBeenSet;
269 
271  bool m_optionsHasBeenSet;
272  };
273 
274 } // namespace Model
275 } // namespace ECS
276 } // namespace Aws
Aws::ECS::Model::FirelensConfiguration::AddOptions
FirelensConfiguration & AddOptions(Aws::String &&key, const char *value)
Definition: FirelensConfiguration.h:249
Aws::ECS::Model::FirelensConfiguration::SetOptions
void SetOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition: FirelensConfiguration.h:137
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::FirelensConfiguration::SetType
void SetType(FirelensConfigurationType &&value)
Definition: FirelensConfiguration.h:68
Aws::ECS::Model::FirelensConfiguration::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: FirelensConfiguration.h:56
Aws::ECS::Model::FirelensConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::FirelensConfiguration::FirelensConfiguration
FirelensConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::FirelensConfiguration::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: FirelensConfiguration.h:109
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::FirelensConfiguration::operator=
FirelensConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::FirelensConfiguration::AddOptions
FirelensConfiguration & AddOptions(Aws::String &&key, const Aws::String &value)
Definition: FirelensConfiguration.h:193
Aws::ECS::Model::FirelensConfiguration::FirelensConfiguration
FirelensConfiguration()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::ECS::Model::FirelensConfiguration::GetType
const FirelensConfigurationType & GetType() const
Definition: FirelensConfiguration.h:50
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::ECS::Model::FirelensConfiguration::AddOptions
FirelensConfiguration & AddOptions(const char *key, const char *value)
Definition: FirelensConfiguration.h:263
Aws::ECS::Model::FirelensConfiguration::AddOptions
FirelensConfiguration & AddOptions(const Aws::String &key, Aws::String &&value)
Definition: FirelensConfiguration.h:207
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::FirelensConfiguration::SetType
void SetType(const FirelensConfigurationType &value)
Definition: FirelensConfiguration.h:62
Aws::ECS::Model::FirelensConfiguration::WithType
FirelensConfiguration & WithType(FirelensConfigurationType &&value)
Definition: FirelensConfiguration.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::FirelensConfiguration
Definition: FirelensConfiguration.h:38
Aws::ECS::Model::FirelensConfiguration::AddOptions
FirelensConfiguration & AddOptions(Aws::String &&key, Aws::String &&value)
Definition: FirelensConfiguration.h:221
Aws::ECS::Model::FirelensConfiguration::AddOptions
FirelensConfiguration & AddOptions(const Aws::String &key, const Aws::String &value)
Definition: FirelensConfiguration.h:179
FirelensConfigurationType.h
Aws::ECS::Model::FirelensConfigurationType
FirelensConfigurationType
Definition: FirelensConfigurationType.h:17
Aws::ECS::Model::FirelensConfiguration::GetOptions
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
Definition: FirelensConfiguration.h:95
AWSMap.h
Aws::ECS::Model::FirelensConfiguration::WithType
FirelensConfiguration & WithType(const FirelensConfigurationType &value)
Definition: FirelensConfiguration.h:74
Aws::ECS::Model::FirelensConfiguration::SetOptions
void SetOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition: FirelensConfiguration.h:123
ECS_EXPORTS.h
Aws::ECS::Model::FirelensConfiguration::WithOptions
FirelensConfiguration & WithOptions(const Aws::Map< Aws::String, Aws::String > &value)
Definition: FirelensConfiguration.h:151
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::ECS::Model::FirelensConfiguration::AddOptions
FirelensConfiguration & AddOptions(const char *key, Aws::String &&value)
Definition: FirelensConfiguration.h:235
Aws::ECS::Model::FirelensConfiguration::WithOptions
FirelensConfiguration & WithOptions(Aws::Map< Aws::String, Aws::String > &&value)
Definition: FirelensConfiguration.h:165