AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InsightSelector.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/InsightType.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 CloudTrail
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDTRAIL_API InsightSelector() = default;
36 AWS_CLOUDTRAIL_API InsightSelector(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline InsightType GetInsightType() const { return m_insightType; }
52 inline bool InsightTypeHasBeenSet() const { return m_insightTypeHasBeenSet; }
53 inline void SetInsightType(InsightType value) { m_insightTypeHasBeenSet = true; m_insightType = value; }
54 inline InsightSelector& WithInsightType(InsightType value) { SetInsightType(value); return *this;}
56 private:
57
58 InsightType m_insightType{InsightType::NOT_SET};
59 bool m_insightTypeHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace CloudTrail
64} // namespace Aws
AWS_CLOUDTRAIL_API InsightSelector(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API InsightSelector()=default
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
InsightSelector & WithInsightType(InsightType value)
AWS_CLOUDTRAIL_API InsightSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue