AWS SDK for C++

AWS SDK for C++ Version 1.11.944

Loading...
Searching...
No Matches
AttackVectorDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/shield/Shield_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Shield {
20namespace Model {
21
28 public:
29 AWS_SHIELD_API AttackVectorDescription() = default;
30 AWS_SHIELD_API AttackVectorDescription(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_SHIELD_API AttackVectorDescription& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SHIELD_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
47 inline const Aws::String& GetVectorType() const { return m_vectorType; }
48 inline bool VectorTypeHasBeenSet() const { return m_vectorTypeHasBeenSet; }
49 template <typename VectorTypeT = Aws::String>
50 void SetVectorType(VectorTypeT&& value) {
51 m_vectorTypeHasBeenSet = true;
52 m_vectorType = std::forward<VectorTypeT>(value);
53 }
54 template <typename VectorTypeT = Aws::String>
56 SetVectorType(std::forward<VectorTypeT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_vectorType;
62 bool m_vectorTypeHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Shield
67} // namespace Aws
AWS_SHIELD_API AttackVectorDescription & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API AttackVectorDescription(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API AttackVectorDescription()=default
AttackVectorDescription & WithVectorType(VectorTypeT &&value)
AWS_SHIELD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String