AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SessionContext.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/SessionContextAttributes.h>
9#include <aws/macie2/model/SessionIssuer.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 Macie2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_MACIE2_API SessionContext();
38 AWS_MACIE2_API SessionContext(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const SessionContextAttributes& GetAttributes() const{ return m_attributes; }
50 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
51 inline void SetAttributes(const SessionContextAttributes& value) { m_attributesHasBeenSet = true; m_attributes = value; }
52 inline void SetAttributes(SessionContextAttributes&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
53 inline SessionContext& WithAttributes(const SessionContextAttributes& value) { SetAttributes(value); return *this;}
54 inline SessionContext& WithAttributes(SessionContextAttributes&& value) { SetAttributes(std::move(value)); return *this;}
56
58
61 inline const SessionIssuer& GetSessionIssuer() const{ return m_sessionIssuer; }
62 inline bool SessionIssuerHasBeenSet() const { return m_sessionIssuerHasBeenSet; }
63 inline void SetSessionIssuer(const SessionIssuer& value) { m_sessionIssuerHasBeenSet = true; m_sessionIssuer = value; }
64 inline void SetSessionIssuer(SessionIssuer&& value) { m_sessionIssuerHasBeenSet = true; m_sessionIssuer = std::move(value); }
65 inline SessionContext& WithSessionIssuer(const SessionIssuer& value) { SetSessionIssuer(value); return *this;}
66 inline SessionContext& WithSessionIssuer(SessionIssuer&& value) { SetSessionIssuer(std::move(value)); return *this;}
68 private:
69
70 SessionContextAttributes m_attributes;
71 bool m_attributesHasBeenSet = false;
72
73 SessionIssuer m_sessionIssuer;
74 bool m_sessionIssuerHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
void SetAttributes(SessionContextAttributes &&value)
SessionContext & WithSessionIssuer(const SessionIssuer &value)
SessionContext & WithAttributes(SessionContextAttributes &&value)
const SessionIssuer & GetSessionIssuer() const
void SetAttributes(const SessionContextAttributes &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSessionIssuer(SessionIssuer &&value)
AWS_MACIE2_API SessionContext(Aws::Utils::Json::JsonView jsonValue)
const SessionContextAttributes & GetAttributes() const
SessionContext & WithSessionIssuer(SessionIssuer &&value)
AWS_MACIE2_API SessionContext & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionContext & WithAttributes(const SessionContextAttributes &value)
void SetSessionIssuer(const SessionIssuer &value)
Aws::Utils::Json::JsonValue JsonValue