AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountStatistics.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API AccountStatistics();
37 AWS_GUARDDUTY_API AccountStatistics(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline AccountStatistics& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline AccountStatistics& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline AccountStatistics& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetLastGeneratedAt() const{ return m_lastGeneratedAt; }
61 inline bool LastGeneratedAtHasBeenSet() const { return m_lastGeneratedAtHasBeenSet; }
62 inline void SetLastGeneratedAt(const Aws::Utils::DateTime& value) { m_lastGeneratedAtHasBeenSet = true; m_lastGeneratedAt = value; }
63 inline void SetLastGeneratedAt(Aws::Utils::DateTime&& value) { m_lastGeneratedAtHasBeenSet = true; m_lastGeneratedAt = std::move(value); }
65 inline AccountStatistics& WithLastGeneratedAt(Aws::Utils::DateTime&& value) { SetLastGeneratedAt(std::move(value)); return *this;}
67
69
72 inline int GetTotalFindings() const{ return m_totalFindings; }
73 inline bool TotalFindingsHasBeenSet() const { return m_totalFindingsHasBeenSet; }
74 inline void SetTotalFindings(int value) { m_totalFindingsHasBeenSet = true; m_totalFindings = value; }
75 inline AccountStatistics& WithTotalFindings(int value) { SetTotalFindings(value); return *this;}
77 private:
78
79 Aws::String m_accountId;
80 bool m_accountIdHasBeenSet = false;
81
82 Aws::Utils::DateTime m_lastGeneratedAt;
83 bool m_lastGeneratedAtHasBeenSet = false;
84
85 int m_totalFindings;
86 bool m_totalFindingsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GuardDuty
91} // namespace Aws
AccountStatistics & WithAccountId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
AWS_GUARDDUTY_API AccountStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API AccountStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastGeneratedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastGeneratedAt() const
AccountStatistics & WithAccountId(const char *value)
AccountStatistics & WithAccountId(Aws::String &&value)
AccountStatistics & WithTotalFindings(int value)
AccountStatistics & WithLastGeneratedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetAccountId() const
AccountStatistics & WithLastGeneratedAt(const Aws::Utils::DateTime &value)
void SetLastGeneratedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue