AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const InsightType& GetInsightType() const{ return m_insightType; }
52 inline bool InsightTypeHasBeenSet() const { return m_insightTypeHasBeenSet; }
53 inline void SetInsightType(const InsightType& value) { m_insightTypeHasBeenSet = true; m_insightType = value; }
54 inline void SetInsightType(InsightType&& value) { m_insightTypeHasBeenSet = true; m_insightType = std::move(value); }
55 inline InsightSelector& WithInsightType(const InsightType& value) { SetInsightType(value); return *this;}
56 inline InsightSelector& WithInsightType(InsightType&& value) { SetInsightType(std::move(value)); return *this;}
58 private:
59
60 InsightType m_insightType;
61 bool m_insightTypeHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace CloudTrail
66} // namespace Aws
InsightSelector & WithInsightType(const InsightType &value)
void SetInsightType(const InsightType &value)
void SetInsightType(InsightType &&value)
const InsightType & GetInsightType() const
AWS_CLOUDTRAIL_API InsightSelector(Aws::Utils::Json::JsonView jsonValue)
InsightSelector & WithInsightType(InsightType &&value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDTRAIL_API InsightSelector & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue