AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnomalyUnusual.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/AnomalyObject.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 GuardDuty
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GUARDDUTY_API AnomalyUnusual();
38 AWS_GUARDDUTY_API AnomalyUnusual(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline bool BehaviorHasBeenSet() const { return m_behaviorHasBeenSet; }
50 inline void SetBehavior(const Aws::Map<Aws::String, Aws::Map<Aws::String, AnomalyObject>>& value) { m_behaviorHasBeenSet = true; m_behavior = value; }
51 inline void SetBehavior(Aws::Map<Aws::String, Aws::Map<Aws::String, AnomalyObject>>&& value) { m_behaviorHasBeenSet = true; m_behavior = std::move(value); }
54 inline AnomalyUnusual& AddBehavior(const Aws::String& key, const Aws::Map<Aws::String, AnomalyObject>& value) { m_behaviorHasBeenSet = true; m_behavior.emplace(key, value); return *this; }
55 inline AnomalyUnusual& AddBehavior(Aws::String&& key, const Aws::Map<Aws::String, AnomalyObject>& value) { m_behaviorHasBeenSet = true; m_behavior.emplace(std::move(key), value); return *this; }
56 inline AnomalyUnusual& AddBehavior(const Aws::String& key, Aws::Map<Aws::String, AnomalyObject>&& value) { m_behaviorHasBeenSet = true; m_behavior.emplace(key, std::move(value)); return *this; }
57 inline AnomalyUnusual& AddBehavior(Aws::String&& key, Aws::Map<Aws::String, AnomalyObject>&& value) { m_behaviorHasBeenSet = true; m_behavior.emplace(std::move(key), std::move(value)); return *this; }
58 inline AnomalyUnusual& AddBehavior(const char* key, Aws::Map<Aws::String, AnomalyObject>&& value) { m_behaviorHasBeenSet = true; m_behavior.emplace(key, std::move(value)); return *this; }
59 inline AnomalyUnusual& AddBehavior(const char* key, const Aws::Map<Aws::String, AnomalyObject>& value) { m_behaviorHasBeenSet = true; m_behavior.emplace(key, value); return *this; }
61 private:
62
64 bool m_behaviorHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace GuardDuty
69} // namespace Aws
AnomalyUnusual & AddBehavior(Aws::String &&key, const Aws::Map< Aws::String, AnomalyObject > &value)
void SetBehavior(Aws::Map< Aws::String, Aws::Map< Aws::String, AnomalyObject > > &&value)
AnomalyUnusual & AddBehavior(Aws::String &&key, Aws::Map< Aws::String, AnomalyObject > &&value)
AnomalyUnusual & AddBehavior(const char *key, const Aws::Map< Aws::String, AnomalyObject > &value)
AnomalyUnusual & AddBehavior(const Aws::String &key, Aws::Map< Aws::String, AnomalyObject > &&value)
AWS_GUARDDUTY_API AnomalyUnusual(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API AnomalyUnusual & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBehavior(const Aws::Map< Aws::String, Aws::Map< Aws::String, AnomalyObject > > &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AnomalyUnusual & AddBehavior(const char *key, Aws::Map< Aws::String, AnomalyObject > &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, AnomalyObject > > & GetBehavior() const
AnomalyUnusual & WithBehavior(const Aws::Map< Aws::String, Aws::Map< Aws::String, AnomalyObject > > &value)
AnomalyUnusual & AddBehavior(const Aws::String &key, const Aws::Map< Aws::String, AnomalyObject > &value)
AnomalyUnusual & WithBehavior(Aws::Map< Aws::String, Aws::Map< Aws::String, AnomalyObject > > &&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