AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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