AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionContextAttributes.h
1
6#pragma once
7#include <aws/macie2/Macie2_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 Macie2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MACIE2_API SessionContextAttributes();
38 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
47 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
48 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
49 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
51 inline SessionContextAttributes& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
53
55
59 inline bool GetMfaAuthenticated() const{ return m_mfaAuthenticated; }
60 inline bool MfaAuthenticatedHasBeenSet() const { return m_mfaAuthenticatedHasBeenSet; }
61 inline void SetMfaAuthenticated(bool value) { m_mfaAuthenticatedHasBeenSet = true; m_mfaAuthenticated = value; }
62 inline SessionContextAttributes& WithMfaAuthenticated(bool value) { SetMfaAuthenticated(value); return *this;}
64 private:
65
66 Aws::Utils::DateTime m_creationDate;
67 bool m_creationDateHasBeenSet = false;
68
69 bool m_mfaAuthenticated;
70 bool m_mfaAuthenticatedHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Macie2
75} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationDate() const
SessionContextAttributes & WithCreationDate(Aws::Utils::DateTime &&value)
SessionContextAttributes & WithCreationDate(const Aws::Utils::DateTime &value)
AWS_MACIE2_API SessionContextAttributes(Aws::Utils::Json::JsonView jsonValue)
SessionContextAttributes & WithMfaAuthenticated(bool value)
void SetCreationDate(Aws::Utils::DateTime &&value)
AWS_MACIE2_API SessionContextAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue