AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
43 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
44 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
45 inline PutCaseEventConfigurationRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
46 inline PutCaseEventConfigurationRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
47 inline PutCaseEventConfigurationRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
49
51
55 inline const EventBridgeConfiguration& GetEventBridge() const{ return m_eventBridge; }
56 inline bool EventBridgeHasBeenSet() const { return m_eventBridgeHasBeenSet; }
57 inline void SetEventBridge(const EventBridgeConfiguration& value) { m_eventBridgeHasBeenSet = true; m_eventBridge = value; }
58 inline void SetEventBridge(EventBridgeConfiguration&& value) { m_eventBridgeHasBeenSet = true; m_eventBridge = std::move(value); }
62 private:
63
64 Aws::String m_domainId;
65 bool m_domainIdHasBeenSet = false;
66
67 EventBridgeConfiguration m_eventBridge;
68 bool m_eventBridgeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace ConnectCases
73} // namespace Aws
PutCaseEventConfigurationRequest & WithDomainId(Aws::String &&value)
PutCaseEventConfigurationRequest & WithDomainId(const Aws::String &value)
PutCaseEventConfigurationRequest & WithDomainId(const char *value)
PutCaseEventConfigurationRequest & WithEventBridge(const EventBridgeConfiguration &value)
PutCaseEventConfigurationRequest & WithEventBridge(EventBridgeConfiguration &&value)
AWS_CONNECTCASES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String