AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CisaData.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API CisaData();
37 AWS_INSPECTOR2_API CisaData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API CisaData& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAction() const{ return m_action; }
47 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
48 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
49 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
50 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
51 inline CisaData& WithAction(const Aws::String& value) { SetAction(value); return *this;}
52 inline CisaData& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
53 inline CisaData& WithAction(const char* value) { SetAction(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetDateAdded() const{ return m_dateAdded; }
61 inline bool DateAddedHasBeenSet() const { return m_dateAddedHasBeenSet; }
62 inline void SetDateAdded(const Aws::Utils::DateTime& value) { m_dateAddedHasBeenSet = true; m_dateAdded = value; }
63 inline void SetDateAdded(Aws::Utils::DateTime&& value) { m_dateAddedHasBeenSet = true; m_dateAdded = std::move(value); }
64 inline CisaData& WithDateAdded(const Aws::Utils::DateTime& value) { SetDateAdded(value); return *this;}
65 inline CisaData& WithDateAdded(Aws::Utils::DateTime&& value) { SetDateAdded(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetDateDue() const{ return m_dateDue; }
73 inline bool DateDueHasBeenSet() const { return m_dateDueHasBeenSet; }
74 inline void SetDateDue(const Aws::Utils::DateTime& value) { m_dateDueHasBeenSet = true; m_dateDue = value; }
75 inline void SetDateDue(Aws::Utils::DateTime&& value) { m_dateDueHasBeenSet = true; m_dateDue = std::move(value); }
76 inline CisaData& WithDateDue(const Aws::Utils::DateTime& value) { SetDateDue(value); return *this;}
77 inline CisaData& WithDateDue(Aws::Utils::DateTime&& value) { SetDateDue(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_action;
82 bool m_actionHasBeenSet = false;
83
84 Aws::Utils::DateTime m_dateAdded;
85 bool m_dateAddedHasBeenSet = false;
86
87 Aws::Utils::DateTime m_dateDue;
88 bool m_dateDueHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Inspector2
93} // namespace Aws
CisaData & WithDateAdded(Aws::Utils::DateTime &&value)
Definition CisaData.h:65
void SetDateDue(const Aws::Utils::DateTime &value)
Definition CisaData.h:74
const Aws::Utils::DateTime & GetDateAdded() const
Definition CisaData.h:60
CisaData & WithDateDue(const Aws::Utils::DateTime &value)
Definition CisaData.h:76
AWS_INSPECTOR2_API CisaData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
CisaData & WithAction(const Aws::String &value)
Definition CisaData.h:51
const Aws::String & GetAction() const
Definition CisaData.h:46
CisaData & WithDateAdded(const Aws::Utils::DateTime &value)
Definition CisaData.h:64
CisaData & WithAction(Aws::String &&value)
Definition CisaData.h:52
CisaData & WithDateDue(Aws::Utils::DateTime &&value)
Definition CisaData.h:77
AWS_INSPECTOR2_API CisaData()
const Aws::Utils::DateTime & GetDateDue() const
Definition CisaData.h:72
void SetAction(Aws::String &&value)
Definition CisaData.h:49
void SetDateDue(Aws::Utils::DateTime &&value)
Definition CisaData.h:75
AWS_INSPECTOR2_API CisaData(Aws::Utils::Json::JsonView jsonValue)
void SetAction(const char *value)
Definition CisaData.h:50
void SetDateAdded(Aws::Utils::DateTime &&value)
Definition CisaData.h:63
void SetAction(const Aws::String &value)
Definition CisaData.h:48
CisaData & WithAction(const char *value)
Definition CisaData.h:53
void SetDateAdded(const Aws::Utils::DateTime &value)
Definition CisaData.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue