AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateEventActionRequest.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_EXPORTS.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/dataexchange/model/Action.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DataExchange
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DATAEXCHANGE_API UpdateEventActionRequest() = 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 "UpdateEventAction"; }
32
33 AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Action& GetAction() const { return m_action; }
41 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
42 template<typename ActionT = Action>
43 void SetAction(ActionT&& value) { m_actionHasBeenSet = true; m_action = std::forward<ActionT>(value); }
44 template<typename ActionT = Action>
45 UpdateEventActionRequest& WithAction(ActionT&& value) { SetAction(std::forward<ActionT>(value)); return *this;}
47
49
52 inline const Aws::String& GetEventActionId() const { return m_eventActionId; }
53 inline bool EventActionIdHasBeenSet() const { return m_eventActionIdHasBeenSet; }
54 template<typename EventActionIdT = Aws::String>
55 void SetEventActionId(EventActionIdT&& value) { m_eventActionIdHasBeenSet = true; m_eventActionId = std::forward<EventActionIdT>(value); }
56 template<typename EventActionIdT = Aws::String>
57 UpdateEventActionRequest& WithEventActionId(EventActionIdT&& value) { SetEventActionId(std::forward<EventActionIdT>(value)); return *this;}
59 private:
60
61 Action m_action;
62 bool m_actionHasBeenSet = false;
63
64 Aws::String m_eventActionId;
65 bool m_eventActionIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace DataExchange
70} // namespace Aws
UpdateEventActionRequest & WithEventActionId(EventActionIdT &&value)
AWS_DATAEXCHANGE_API UpdateEventActionRequest()=default
UpdateEventActionRequest & WithAction(ActionT &&value)
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String