AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SourceDetail.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/EventSource.h>
9#include <aws/config/model/MaximumExecutionFrequency.h>
10#include <aws/config/model/MessageType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService {
22namespace Model {
23
34 public:
35 AWS_CONFIGSERVICE_API SourceDetail() = default;
36 AWS_CONFIGSERVICE_API SourceDetail(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API SourceDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline EventSource GetEventSource() const { return m_eventSource; }
46 inline bool EventSourceHasBeenSet() const { return m_eventSourceHasBeenSet; }
47 inline void SetEventSource(EventSource value) {
48 m_eventSourceHasBeenSet = true;
49 m_eventSource = value;
50 }
52 SetEventSource(value);
53 return *this;
54 }
56
58
75 inline MessageType GetMessageType() const { return m_messageType; }
76 inline bool MessageTypeHasBeenSet() const { return m_messageTypeHasBeenSet; }
77 inline void SetMessageType(MessageType value) {
78 m_messageTypeHasBeenSet = true;
79 m_messageType = value;
80 }
82 SetMessageType(value);
83 return *this;
84 }
86
88
100 inline MaximumExecutionFrequency GetMaximumExecutionFrequency() const { return m_maximumExecutionFrequency; }
101 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
103 m_maximumExecutionFrequencyHasBeenSet = true;
104 m_maximumExecutionFrequency = value;
105 }
108 return *this;
109 }
111 private:
112 EventSource m_eventSource{EventSource::NOT_SET};
113
114 MessageType m_messageType{MessageType::NOT_SET};
115
117 bool m_eventSourceHasBeenSet = false;
118 bool m_messageTypeHasBeenSet = false;
119 bool m_maximumExecutionFrequencyHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace ConfigService
124} // namespace Aws
SourceDetail & WithMessageType(MessageType value)
AWS_CONFIGSERVICE_API SourceDetail()=default
void SetMessageType(MessageType value)
SourceDetail & WithEventSource(EventSource value)
AWS_CONFIGSERVICE_API SourceDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
MaximumExecutionFrequency GetMaximumExecutionFrequency() const
AWS_CONFIGSERVICE_API SourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceDetail & WithMaximumExecutionFrequency(MaximumExecutionFrequency value)
void SetMaximumExecutionFrequency(MaximumExecutionFrequency value)
void SetEventSource(EventSource value)
Aws::Utils::Json::JsonValue JsonValue