AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/MessageType.h>
10#include <aws/config/model/MaximumExecutionFrequency.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_CONFIGSERVICE_API SourceDetail() = default;
41 AWS_CONFIGSERVICE_API SourceDetail(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONFIGSERVICE_API SourceDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline EventSource GetEventSource() const { return m_eventSource; }
52 inline bool EventSourceHasBeenSet() const { return m_eventSourceHasBeenSet; }
53 inline void SetEventSource(EventSource value) { m_eventSourceHasBeenSet = true; m_eventSource = value; }
54 inline SourceDetail& WithEventSource(EventSource value) { SetEventSource(value); return *this;}
56
58
75 inline MessageType GetMessageType() const { return m_messageType; }
76 inline bool MessageTypeHasBeenSet() const { return m_messageTypeHasBeenSet; }
77 inline void SetMessageType(MessageType value) { m_messageTypeHasBeenSet = true; m_messageType = value; }
78 inline SourceDetail& WithMessageType(MessageType value) { SetMessageType(value); return *this;}
80
82
94 inline MaximumExecutionFrequency GetMaximumExecutionFrequency() const { return m_maximumExecutionFrequency; }
95 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
96 inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; }
99 private:
100
101 EventSource m_eventSource{EventSource::NOT_SET};
102 bool m_eventSourceHasBeenSet = false;
103
104 MessageType m_messageType{MessageType::NOT_SET};
105 bool m_messageTypeHasBeenSet = false;
106
108 bool m_maximumExecutionFrequencyHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ConfigService
113} // 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