AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsIamAccessKeySessionContext.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsIamAccessKeySessionContextAttributes.h>
9#include <aws/securityhub/model/AwsIamAccessKeySessionContextSessionIssuer.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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AwsIamAccessKeySessionContext();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AwsIamAccessKeySessionContextAttributes& GetAttributes() const{ return m_attributes; }
47 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
48 inline void SetAttributes(const AwsIamAccessKeySessionContextAttributes& value) { m_attributesHasBeenSet = true; m_attributes = value; }
49 inline void SetAttributes(AwsIamAccessKeySessionContextAttributes&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
53
55
58 inline const AwsIamAccessKeySessionContextSessionIssuer& GetSessionIssuer() const{ return m_sessionIssuer; }
59 inline bool SessionIssuerHasBeenSet() const { return m_sessionIssuerHasBeenSet; }
60 inline void SetSessionIssuer(const AwsIamAccessKeySessionContextSessionIssuer& value) { m_sessionIssuerHasBeenSet = true; m_sessionIssuer = value; }
61 inline void SetSessionIssuer(AwsIamAccessKeySessionContextSessionIssuer&& value) { m_sessionIssuerHasBeenSet = true; m_sessionIssuer = std::move(value); }
65 private:
66
68 bool m_attributesHasBeenSet = false;
69
71 bool m_sessionIssuerHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SecurityHub
76} // namespace Aws
AWS_SECURITYHUB_API AwsIamAccessKeySessionContext & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(AwsIamAccessKeySessionContextAttributes &&value)
const AwsIamAccessKeySessionContextAttributes & GetAttributes() const
void SetSessionIssuer(AwsIamAccessKeySessionContextSessionIssuer &&value)
void SetSessionIssuer(const AwsIamAccessKeySessionContextSessionIssuer &value)
AwsIamAccessKeySessionContext & WithSessionIssuer(AwsIamAccessKeySessionContextSessionIssuer &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAttributes(const AwsIamAccessKeySessionContextAttributes &value)
const AwsIamAccessKeySessionContextSessionIssuer & GetSessionIssuer() const
AwsIamAccessKeySessionContext & WithAttributes(AwsIamAccessKeySessionContextAttributes &&value)
AwsIamAccessKeySessionContext & WithSessionIssuer(const AwsIamAccessKeySessionContextSessionIssuer &value)
AwsIamAccessKeySessionContext & WithAttributes(const AwsIamAccessKeySessionContextAttributes &value)
AWS_SECURITYHUB_API AwsIamAccessKeySessionContext(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue