AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnusedIamUserPasswordDetails.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AccessAnalyzer
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_ACCESSANALYZER_API UnusedIamUserPasswordDetails();
41 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetLastAccessed() const{ return m_lastAccessed; }
49 inline bool LastAccessedHasBeenSet() const { return m_lastAccessedHasBeenSet; }
50 inline void SetLastAccessed(const Aws::Utils::DateTime& value) { m_lastAccessedHasBeenSet = true; m_lastAccessed = value; }
51 inline void SetLastAccessed(Aws::Utils::DateTime&& value) { m_lastAccessedHasBeenSet = true; m_lastAccessed = std::move(value); }
53 inline UnusedIamUserPasswordDetails& WithLastAccessed(Aws::Utils::DateTime&& value) { SetLastAccessed(std::move(value)); return *this;}
55 private:
56
57 Aws::Utils::DateTime m_lastAccessed;
58 bool m_lastAccessedHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace AccessAnalyzer
63} // namespace Aws
UnusedIamUserPasswordDetails & WithLastAccessed(const Aws::Utils::DateTime &value)
AWS_ACCESSANALYZER_API UnusedIamUserPasswordDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API UnusedIamUserPasswordDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
UnusedIamUserPasswordDetails & WithLastAccessed(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue