AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const EventSource& GetEventSource() const{ return m_eventSource; }
52 inline bool EventSourceHasBeenSet() const { return m_eventSourceHasBeenSet; }
53 inline void SetEventSource(const EventSource& value) { m_eventSourceHasBeenSet = true; m_eventSource = value; }
54 inline void SetEventSource(EventSource&& value) { m_eventSourceHasBeenSet = true; m_eventSource = std::move(value); }
55 inline SourceDetail& WithEventSource(const EventSource& value) { SetEventSource(value); return *this;}
56 inline SourceDetail& WithEventSource(EventSource&& value) { SetEventSource(std::move(value)); return *this;}
58
60
77 inline const MessageType& GetMessageType() const{ return m_messageType; }
78 inline bool MessageTypeHasBeenSet() const { return m_messageTypeHasBeenSet; }
79 inline void SetMessageType(const MessageType& value) { m_messageTypeHasBeenSet = true; m_messageType = value; }
80 inline void SetMessageType(MessageType&& value) { m_messageTypeHasBeenSet = true; m_messageType = std::move(value); }
81 inline SourceDetail& WithMessageType(const MessageType& value) { SetMessageType(value); return *this;}
82 inline SourceDetail& WithMessageType(MessageType&& value) { SetMessageType(std::move(value)); return *this;}
84
86
98 inline const MaximumExecutionFrequency& GetMaximumExecutionFrequency() const{ return m_maximumExecutionFrequency; }
99 inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; }
100 inline void SetMaximumExecutionFrequency(const MaximumExecutionFrequency& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; }
101 inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency&& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = std::move(value); }
105 private:
106
107 EventSource m_eventSource;
108 bool m_eventSourceHasBeenSet = false;
109
110 MessageType m_messageType;
111 bool m_messageTypeHasBeenSet = false;
112
113 MaximumExecutionFrequency m_maximumExecutionFrequency;
114 bool m_maximumExecutionFrequencyHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace ConfigService
119} // namespace Aws
void SetMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
void SetMaximumExecutionFrequency(MaximumExecutionFrequency &&value)
void SetEventSource(const EventSource &value)
SourceDetail & WithMessageType(MessageType &&value)
SourceDetail & WithMaximumExecutionFrequency(const MaximumExecutionFrequency &value)
const EventSource & GetEventSource() const
void SetEventSource(EventSource &&value)
SourceDetail & WithEventSource(const EventSource &value)
void SetMessageType(const MessageType &value)
AWS_CONFIGSERVICE_API SourceDetail(Aws::Utils::Json::JsonView jsonValue)
void SetMessageType(MessageType &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const MessageType & GetMessageType() const
const MaximumExecutionFrequency & GetMaximumExecutionFrequency() const
AWS_CONFIGSERVICE_API SourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceDetail & WithMessageType(const MessageType &value)
SourceDetail & WithEventSource(EventSource &&value)
AWS_CONFIGSERVICE_API SourceDetail()
SourceDetail & WithMaximumExecutionFrequency(MaximumExecutionFrequency &&value)
Aws::Utils::Json::JsonValue JsonValue