AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/guardduty/model/OrganizationStatistics.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 OrganizationDetails();
37 AWS_GUARDDUTY_API OrganizationDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
48 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
49 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
50 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
51 inline OrganizationDetails& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
52 inline OrganizationDetails& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
54
56
60 inline const OrganizationStatistics& GetOrganizationStatistics() const{ return m_organizationStatistics; }
61 inline bool OrganizationStatisticsHasBeenSet() const { return m_organizationStatisticsHasBeenSet; }
62 inline void SetOrganizationStatistics(const OrganizationStatistics& value) { m_organizationStatisticsHasBeenSet = true; m_organizationStatistics = value; }
63 inline void SetOrganizationStatistics(OrganizationStatistics&& value) { m_organizationStatisticsHasBeenSet = true; m_organizationStatistics = std::move(value); }
67 private:
68
69 Aws::Utils::DateTime m_updatedAt;
70 bool m_updatedAtHasBeenSet = false;
71
72 OrganizationStatistics m_organizationStatistics;
73 bool m_organizationStatisticsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GuardDuty
78} // namespace Aws
OrganizationDetails & WithOrganizationStatistics(const OrganizationStatistics &value)
OrganizationDetails & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetOrganizationStatistics(OrganizationStatistics &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
OrganizationDetails & WithOrganizationStatistics(OrganizationStatistics &&value)
void SetOrganizationStatistics(const OrganizationStatistics &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
OrganizationDetails & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_GUARDDUTY_API OrganizationDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API OrganizationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const OrganizationStatistics & GetOrganizationStatistics() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue