AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
EventSourcesConfig.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/model/AmazonCodeGuruProfilerIntegration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsGuru {
20namespace Model {
21
30 public:
31 AWS_DEVOPSGURU_API EventSourcesConfig() = default;
32 AWS_DEVOPSGURU_API EventSourcesConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const AmazonCodeGuruProfilerIntegration& GetAmazonCodeGuruProfiler() const { return m_amazonCodeGuruProfiler; }
42 inline bool AmazonCodeGuruProfilerHasBeenSet() const { return m_amazonCodeGuruProfilerHasBeenSet; }
43 template <typename AmazonCodeGuruProfilerT = AmazonCodeGuruProfilerIntegration>
44 void SetAmazonCodeGuruProfiler(AmazonCodeGuruProfilerT&& value) {
45 m_amazonCodeGuruProfilerHasBeenSet = true;
46 m_amazonCodeGuruProfiler = std::forward<AmazonCodeGuruProfilerT>(value);
47 }
48 template <typename AmazonCodeGuruProfilerT = AmazonCodeGuruProfilerIntegration>
49 EventSourcesConfig& WithAmazonCodeGuruProfiler(AmazonCodeGuruProfilerT&& value) {
50 SetAmazonCodeGuruProfiler(std::forward<AmazonCodeGuruProfilerT>(value));
51 return *this;
52 }
54 private:
55 AmazonCodeGuruProfilerIntegration m_amazonCodeGuruProfiler;
56 bool m_amazonCodeGuruProfilerHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace DevOpsGuru
61} // namespace Aws
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
EventSourcesConfig & WithAmazonCodeGuruProfiler(AmazonCodeGuruProfilerT &&value)
AWS_DEVOPSGURU_API EventSourcesConfig()=default
const AmazonCodeGuruProfilerIntegration & GetAmazonCodeGuruProfiler() const
AWS_DEVOPSGURU_API EventSourcesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API EventSourcesConfig(Aws::Utils::Json::JsonView jsonValue)
void SetAmazonCodeGuruProfiler(AmazonCodeGuruProfilerT &&value)
Aws::Utils::Json::JsonValue JsonValue