AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuleTriggerEventSource.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/EventSourceName.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CONNECT_API RuleTriggerEventSource();
42 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const EventSourceName& GetEventSourceName() const{ return m_eventSourceName; }
50 inline bool EventSourceNameHasBeenSet() const { return m_eventSourceNameHasBeenSet; }
51 inline void SetEventSourceName(const EventSourceName& value) { m_eventSourceNameHasBeenSet = true; m_eventSourceName = value; }
52 inline void SetEventSourceName(EventSourceName&& value) { m_eventSourceNameHasBeenSet = true; m_eventSourceName = std::move(value); }
54 inline RuleTriggerEventSource& WithEventSourceName(EventSourceName&& value) { SetEventSourceName(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetIntegrationAssociationId() const{ return m_integrationAssociationId; }
62 inline bool IntegrationAssociationIdHasBeenSet() const { return m_integrationAssociationIdHasBeenSet; }
63 inline void SetIntegrationAssociationId(const Aws::String& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = value; }
64 inline void SetIntegrationAssociationId(Aws::String&& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = std::move(value); }
65 inline void SetIntegrationAssociationId(const char* value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId.assign(value); }
68 inline RuleTriggerEventSource& WithIntegrationAssociationId(const char* value) { SetIntegrationAssociationId(value); return *this;}
70 private:
71
72 EventSourceName m_eventSourceName;
73 bool m_eventSourceNameHasBeenSet = false;
74
75 Aws::String m_integrationAssociationId;
76 bool m_integrationAssociationIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Connect
81} // namespace Aws
RuleTriggerEventSource & WithIntegrationAssociationId(Aws::String &&value)
void SetEventSourceName(const EventSourceName &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const EventSourceName & GetEventSourceName() const
AWS_CONNECT_API RuleTriggerEventSource(Aws::Utils::Json::JsonView jsonValue)
RuleTriggerEventSource & WithEventSourceName(const EventSourceName &value)
const Aws::String & GetIntegrationAssociationId() const
void SetIntegrationAssociationId(const Aws::String &value)
RuleTriggerEventSource & WithEventSourceName(EventSourceName &&value)
RuleTriggerEventSource & WithIntegrationAssociationId(const Aws::String &value)
AWS_CONNECT_API RuleTriggerEventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleTriggerEventSource & WithIntegrationAssociationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue