AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EksMetadata.h
1
6#pragma once
7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Batch
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_BATCH_API EksMetadata();
41 AWS_BATCH_API EksMetadata(Aws::Utils::Json::JsonView jsonValue);
43 AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
53 inline const Aws::Map<Aws::String, Aws::String>& GetLabels() const{ return m_labels; }
54 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
55 inline void SetLabels(const Aws::Map<Aws::String, Aws::String>& value) { m_labelsHasBeenSet = true; m_labels = value; }
56 inline void SetLabels(Aws::Map<Aws::String, Aws::String>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
57 inline EksMetadata& WithLabels(const Aws::Map<Aws::String, Aws::String>& value) { SetLabels(value); return *this;}
58 inline EksMetadata& WithLabels(Aws::Map<Aws::String, Aws::String>&& value) { SetLabels(std::move(value)); return *this;}
59 inline EksMetadata& AddLabels(const Aws::String& key, const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.emplace(key, value); return *this; }
60 inline EksMetadata& AddLabels(Aws::String&& key, const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.emplace(std::move(key), value); return *this; }
61 inline EksMetadata& AddLabels(const Aws::String& key, Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.emplace(key, std::move(value)); return *this; }
62 inline EksMetadata& AddLabels(Aws::String&& key, Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.emplace(std::move(key), std::move(value)); return *this; }
63 inline EksMetadata& AddLabels(const char* key, Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.emplace(key, std::move(value)); return *this; }
64 inline EksMetadata& AddLabels(Aws::String&& key, const char* value) { m_labelsHasBeenSet = true; m_labels.emplace(std::move(key), value); return *this; }
65 inline EksMetadata& AddLabels(const char* key, const char* value) { m_labelsHasBeenSet = true; m_labels.emplace(key, value); return *this; }
67 private:
68
70 bool m_labelsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Batch
75} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetLabels() const
Definition EksMetadata.h:53
EksMetadata & AddLabels(Aws::String &&key, const Aws::String &value)
Definition EksMetadata.h:60
EksMetadata & AddLabels(const Aws::String &key, Aws::String &&value)
Definition EksMetadata.h:61
EksMetadata & AddLabels(Aws::String &&key, Aws::String &&value)
Definition EksMetadata.h:62
EksMetadata & AddLabels(const char *key, Aws::String &&value)
Definition EksMetadata.h:63
EksMetadata & AddLabels(Aws::String &&key, const char *value)
Definition EksMetadata.h:64
void SetLabels(Aws::Map< Aws::String, Aws::String > &&value)
Definition EksMetadata.h:56
AWS_BATCH_API EksMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API EksMetadata(Aws::Utils::Json::JsonView jsonValue)
EksMetadata & WithLabels(Aws::Map< Aws::String, Aws::String > &&value)
Definition EksMetadata.h:58
EksMetadata & AddLabels(const Aws::String &key, const Aws::String &value)
Definition EksMetadata.h:59
void SetLabels(const Aws::Map< Aws::String, Aws::String > &value)
Definition EksMetadata.h:55
EksMetadata & WithLabels(const Aws::Map< Aws::String, Aws::String > &value)
Definition EksMetadata.h:57
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EksMetadata & AddLabels(const char *key, const char *value)
Definition EksMetadata.h:65
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