AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
FirelensConfiguration.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ECS
24{
25namespace 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
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 = false;
269
271 bool m_optionsHasBeenSet = false;
272 };
273
274} // namespace Model
275} // namespace ECS
276} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
void SetOptions(Aws::Map< Aws::String, Aws::String > &&value)
FirelensConfiguration & WithType(const FirelensConfigurationType &value)
FirelensConfiguration & AddOptions(Aws::String &&key, const Aws::String &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(FirelensConfigurationType &&value)
FirelensConfiguration & AddOptions(const char *key, Aws::String &&value)
void SetOptions(const Aws::Map< Aws::String, Aws::String > &value)
FirelensConfiguration & AddOptions(const Aws::String &key, Aws::String &&value)
const FirelensConfigurationType & GetType() const
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
void SetType(const FirelensConfigurationType &value)
FirelensConfiguration & AddOptions(const char *key, const char *value)
FirelensConfiguration & WithOptions(const Aws::Map< Aws::String, Aws::String > &value)
FirelensConfiguration & AddOptions(Aws::String &&key, Aws::String &&value)
FirelensConfiguration & AddOptions(Aws::String &&key, const char *value)
FirelensConfiguration & WithType(FirelensConfigurationType &&value)
FirelensConfiguration & WithOptions(Aws::Map< Aws::String, Aws::String > &&value)
AWS_ECS_API FirelensConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API FirelensConfiguration(Aws::Utils::Json::JsonView jsonValue)
FirelensConfiguration & AddOptions(const Aws::String &key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String