AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
PutCaseEventConfigurationRequest.h
1
6#pragma once
7#include <aws/connectcases/ConnectCasesRequest.h>
8#include <aws/connectcases/ConnectCases_EXPORTS.h>
9#include <aws/connectcases/model/EventBridgeConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConnectCases {
16namespace Model {
17
21 public:
22 AWS_CONNECTCASES_API PutCaseEventConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutCaseEventConfiguration"; }
29
30 AWS_CONNECTCASES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainId() const { return m_domainId; }
37 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
38 template <typename DomainIdT = Aws::String>
39 void SetDomainId(DomainIdT&& value) {
40 m_domainIdHasBeenSet = true;
41 m_domainId = std::forward<DomainIdT>(value);
42 }
43 template <typename DomainIdT = Aws::String>
45 SetDomainId(std::forward<DomainIdT>(value));
46 return *this;
47 }
49
51
55 inline const EventBridgeConfiguration& GetEventBridge() const { return m_eventBridge; }
56 inline bool EventBridgeHasBeenSet() const { return m_eventBridgeHasBeenSet; }
57 template <typename EventBridgeT = EventBridgeConfiguration>
58 void SetEventBridge(EventBridgeT&& value) {
59 m_eventBridgeHasBeenSet = true;
60 m_eventBridge = std::forward<EventBridgeT>(value);
61 }
62 template <typename EventBridgeT = EventBridgeConfiguration>
64 SetEventBridge(std::forward<EventBridgeT>(value));
65 return *this;
66 }
68 private:
69 Aws::String m_domainId;
70
71 EventBridgeConfiguration m_eventBridge;
72 bool m_domainIdHasBeenSet = false;
73 bool m_eventBridgeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ConnectCases
78} // namespace Aws
AWS_CONNECTCASES_API PutCaseEventConfigurationRequest()=default
PutCaseEventConfigurationRequest & WithEventBridge(EventBridgeT &&value)
PutCaseEventConfigurationRequest & WithDomainId(DomainIdT &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String