AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AtigData.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Inspector2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_INSPECTOR2_API AtigData();
38 AWS_INSPECTOR2_API AtigData(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API AtigData& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetFirstSeen() const{ return m_firstSeen; }
48 inline bool FirstSeenHasBeenSet() const { return m_firstSeenHasBeenSet; }
49 inline void SetFirstSeen(const Aws::Utils::DateTime& value) { m_firstSeenHasBeenSet = true; m_firstSeen = value; }
50 inline void SetFirstSeen(Aws::Utils::DateTime&& value) { m_firstSeenHasBeenSet = true; m_firstSeen = std::move(value); }
51 inline AtigData& WithFirstSeen(const Aws::Utils::DateTime& value) { SetFirstSeen(value); return *this;}
52 inline AtigData& WithFirstSeen(Aws::Utils::DateTime&& value) { SetFirstSeen(std::move(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetLastSeen() const{ return m_lastSeen; }
60 inline bool LastSeenHasBeenSet() const { return m_lastSeenHasBeenSet; }
61 inline void SetLastSeen(const Aws::Utils::DateTime& value) { m_lastSeenHasBeenSet = true; m_lastSeen = value; }
62 inline void SetLastSeen(Aws::Utils::DateTime&& value) { m_lastSeenHasBeenSet = true; m_lastSeen = std::move(value); }
63 inline AtigData& WithLastSeen(const Aws::Utils::DateTime& value) { SetLastSeen(value); return *this;}
64 inline AtigData& WithLastSeen(Aws::Utils::DateTime&& value) { SetLastSeen(std::move(value)); return *this;}
66
68
71 inline const Aws::Vector<Aws::String>& GetTargets() const{ return m_targets; }
72 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
73 inline void SetTargets(const Aws::Vector<Aws::String>& value) { m_targetsHasBeenSet = true; m_targets = value; }
74 inline void SetTargets(Aws::Vector<Aws::String>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
75 inline AtigData& WithTargets(const Aws::Vector<Aws::String>& value) { SetTargets(value); return *this;}
76 inline AtigData& WithTargets(Aws::Vector<Aws::String>&& value) { SetTargets(std::move(value)); return *this;}
77 inline AtigData& AddTargets(const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
78 inline AtigData& AddTargets(Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.push_back(std::move(value)); return *this; }
79 inline AtigData& AddTargets(const char* value) { m_targetsHasBeenSet = true; m_targets.push_back(value); return *this; }
81
83
87 inline const Aws::Vector<Aws::String>& GetTtps() const{ return m_ttps; }
88 inline bool TtpsHasBeenSet() const { return m_ttpsHasBeenSet; }
89 inline void SetTtps(const Aws::Vector<Aws::String>& value) { m_ttpsHasBeenSet = true; m_ttps = value; }
90 inline void SetTtps(Aws::Vector<Aws::String>&& value) { m_ttpsHasBeenSet = true; m_ttps = std::move(value); }
91 inline AtigData& WithTtps(const Aws::Vector<Aws::String>& value) { SetTtps(value); return *this;}
92 inline AtigData& WithTtps(Aws::Vector<Aws::String>&& value) { SetTtps(std::move(value)); return *this;}
93 inline AtigData& AddTtps(const Aws::String& value) { m_ttpsHasBeenSet = true; m_ttps.push_back(value); return *this; }
94 inline AtigData& AddTtps(Aws::String&& value) { m_ttpsHasBeenSet = true; m_ttps.push_back(std::move(value)); return *this; }
95 inline AtigData& AddTtps(const char* value) { m_ttpsHasBeenSet = true; m_ttps.push_back(value); return *this; }
97 private:
98
99 Aws::Utils::DateTime m_firstSeen;
100 bool m_firstSeenHasBeenSet = false;
101
102 Aws::Utils::DateTime m_lastSeen;
103 bool m_lastSeenHasBeenSet = false;
104
105 Aws::Vector<Aws::String> m_targets;
106 bool m_targetsHasBeenSet = false;
107
109 bool m_ttpsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Inspector2
114} // namespace Aws
void SetLastSeen(const Aws::Utils::DateTime &value)
Definition AtigData.h:61
AtigData & AddTargets(const char *value)
Definition AtigData.h:79
void SetFirstSeen(Aws::Utils::DateTime &&value)
Definition AtigData.h:50
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetTargets() const
Definition AtigData.h:71
AtigData & WithTargets(const Aws::Vector< Aws::String > &value)
Definition AtigData.h:75
void SetTtps(const Aws::Vector< Aws::String > &value)
Definition AtigData.h:89
AtigData & AddTargets(const Aws::String &value)
Definition AtigData.h:77
AtigData & WithTargets(Aws::Vector< Aws::String > &&value)
Definition AtigData.h:76
AWS_INSPECTOR2_API AtigData(Aws::Utils::Json::JsonView jsonValue)
void SetTargets(Aws::Vector< Aws::String > &&value)
Definition AtigData.h:74
AWS_INSPECTOR2_API AtigData & operator=(Aws::Utils::Json::JsonView jsonValue)
AtigData & AddTargets(Aws::String &&value)
Definition AtigData.h:78
void SetTtps(Aws::Vector< Aws::String > &&value)
Definition AtigData.h:90
AtigData & WithLastSeen(const Aws::Utils::DateTime &value)
Definition AtigData.h:63
void SetTargets(const Aws::Vector< Aws::String > &value)
Definition AtigData.h:73
AtigData & WithLastSeen(Aws::Utils::DateTime &&value)
Definition AtigData.h:64
AtigData & WithFirstSeen(const Aws::Utils::DateTime &value)
Definition AtigData.h:51
void SetLastSeen(Aws::Utils::DateTime &&value)
Definition AtigData.h:62
AtigData & WithFirstSeen(Aws::Utils::DateTime &&value)
Definition AtigData.h:52
AtigData & AddTtps(Aws::String &&value)
Definition AtigData.h:94
const Aws::Vector< Aws::String > & GetTtps() const
Definition AtigData.h:87
AtigData & AddTtps(const Aws::String &value)
Definition AtigData.h:93
AtigData & WithTtps(const Aws::Vector< Aws::String > &value)
Definition AtigData.h:91
AtigData & AddTtps(const char *value)
Definition AtigData.h:95
AWS_INSPECTOR2_API AtigData()
const Aws::Utils::DateTime & GetFirstSeen() const
Definition AtigData.h:47
AtigData & WithTtps(Aws::Vector< Aws::String > &&value)
Definition AtigData.h:92
const Aws::Utils::DateTime & GetLastSeen() const
Definition AtigData.h:59
void SetFirstSeen(const Aws::Utils::DateTime &value)
Definition AtigData.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue