AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirelensConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/FirelensConfigurationType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
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:
40 AWS_ECS_API FirelensConfiguration();
44
45
47
51 inline const FirelensConfigurationType& GetType() const{ return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(const FirelensConfigurationType& value) { m_typeHasBeenSet = true; m_type = value; }
54 inline void SetType(FirelensConfigurationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
55 inline FirelensConfiguration& WithType(const FirelensConfigurationType& value) { SetType(value); return *this;}
56 inline FirelensConfiguration& WithType(FirelensConfigurationType&& value) { SetType(std::move(value)); return *this;}
58
60
72 inline const Aws::Map<Aws::String, Aws::String>& GetOptions() const{ return m_options; }
73 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
74 inline void SetOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_optionsHasBeenSet = true; m_options = value; }
75 inline void SetOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
77 inline FirelensConfiguration& WithOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetOptions(std::move(value)); return *this;}
78 inline FirelensConfiguration& AddOptions(const Aws::String& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
79 inline FirelensConfiguration& AddOptions(Aws::String&& key, const Aws::String& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
80 inline FirelensConfiguration& AddOptions(const Aws::String& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
81 inline FirelensConfiguration& AddOptions(Aws::String&& key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), std::move(value)); return *this; }
82 inline FirelensConfiguration& AddOptions(const char* key, Aws::String&& value) { m_optionsHasBeenSet = true; m_options.emplace(key, std::move(value)); return *this; }
83 inline FirelensConfiguration& AddOptions(Aws::String&& key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(std::move(key), value); return *this; }
84 inline FirelensConfiguration& AddOptions(const char* key, const char* value) { m_optionsHasBeenSet = true; m_options.emplace(key, value); return *this; }
86 private:
87
89 bool m_typeHasBeenSet = false;
90
92 bool m_optionsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ECS
97} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue