AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SummarizedAttackVector.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/shield/model/SummarizedCounter.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 Shield
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SHIELD_API SummarizedAttackVector();
39 AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVectorType() const{ return m_vectorType; }
47 inline bool VectorTypeHasBeenSet() const { return m_vectorTypeHasBeenSet; }
48 inline void SetVectorType(const Aws::String& value) { m_vectorTypeHasBeenSet = true; m_vectorType = value; }
49 inline void SetVectorType(Aws::String&& value) { m_vectorTypeHasBeenSet = true; m_vectorType = std::move(value); }
50 inline void SetVectorType(const char* value) { m_vectorTypeHasBeenSet = true; m_vectorType.assign(value); }
51 inline SummarizedAttackVector& WithVectorType(const Aws::String& value) { SetVectorType(value); return *this;}
52 inline SummarizedAttackVector& WithVectorType(Aws::String&& value) { SetVectorType(std::move(value)); return *this;}
53 inline SummarizedAttackVector& WithVectorType(const char* value) { SetVectorType(value); return *this;}
55
57
60 inline const Aws::Vector<SummarizedCounter>& GetVectorCounters() const{ return m_vectorCounters; }
61 inline bool VectorCountersHasBeenSet() const { return m_vectorCountersHasBeenSet; }
62 inline void SetVectorCounters(const Aws::Vector<SummarizedCounter>& value) { m_vectorCountersHasBeenSet = true; m_vectorCounters = value; }
63 inline void SetVectorCounters(Aws::Vector<SummarizedCounter>&& value) { m_vectorCountersHasBeenSet = true; m_vectorCounters = std::move(value); }
66 inline SummarizedAttackVector& AddVectorCounters(const SummarizedCounter& value) { m_vectorCountersHasBeenSet = true; m_vectorCounters.push_back(value); return *this; }
67 inline SummarizedAttackVector& AddVectorCounters(SummarizedCounter&& value) { m_vectorCountersHasBeenSet = true; m_vectorCounters.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_vectorType;
72 bool m_vectorTypeHasBeenSet = false;
73
74 Aws::Vector<SummarizedCounter> m_vectorCounters;
75 bool m_vectorCountersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Shield
80} // namespace Aws
SummarizedAttackVector & WithVectorType(Aws::String &&value)
SummarizedAttackVector & WithVectorCounters(Aws::Vector< SummarizedCounter > &&value)
void SetVectorCounters(Aws::Vector< SummarizedCounter > &&value)
SummarizedAttackVector & WithVectorType(const char *value)
void SetVectorCounters(const Aws::Vector< SummarizedCounter > &value)
SummarizedAttackVector & WithVectorType(const Aws::String &value)
const Aws::Vector< SummarizedCounter > & GetVectorCounters() const
SummarizedAttackVector & AddVectorCounters(SummarizedCounter &&value)
SummarizedAttackVector & WithVectorCounters(const Aws::Vector< SummarizedCounter > &value)
AWS_SHIELD_API SummarizedAttackVector(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API SummarizedAttackVector & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SHIELD_API Aws::Utils::Json::JsonValue Jsonize() const
SummarizedAttackVector & AddVectorCounters(const SummarizedCounter &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue