AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SourceDetail.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/KendraSourceDetail.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 IoTSiteWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTSITEWISE_API SourceDetail() = default;
36 AWS_IOTSITEWISE_API SourceDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API SourceDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const KendraSourceDetail& GetKendra() const { return m_kendra; }
46 inline bool KendraHasBeenSet() const { return m_kendraHasBeenSet; }
47 template<typename KendraT = KendraSourceDetail>
48 void SetKendra(KendraT&& value) { m_kendraHasBeenSet = true; m_kendra = std::forward<KendraT>(value); }
49 template<typename KendraT = KendraSourceDetail>
50 SourceDetail& WithKendra(KendraT&& value) { SetKendra(std::forward<KendraT>(value)); return *this;}
52 private:
53
54 KendraSourceDetail m_kendra;
55 bool m_kendraHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace IoTSiteWise
60} // namespace Aws
SourceDetail & WithKendra(KendraT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API SourceDetail(Aws::Utils::Json::JsonView jsonValue)
const KendraSourceDetail & GetKendra() const
AWS_IOTSITEWISE_API SourceDetail()=default
AWS_IOTSITEWISE_API SourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue