AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateEventActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
10#include <aws/dataexchange/model/Action.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataExchange {
16namespace Model {
17
21 public:
22 AWS_DATAEXCHANGE_API UpdateEventActionRequest() = 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 "UpdateEventAction"; }
29
30 AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override;
31
33
36 inline const Action& GetAction() const { return m_action; }
37 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
38 template <typename ActionT = Action>
39 void SetAction(ActionT&& value) {
40 m_actionHasBeenSet = true;
41 m_action = std::forward<ActionT>(value);
42 }
43 template <typename ActionT = Action>
45 SetAction(std::forward<ActionT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetEventActionId() const { return m_eventActionId; }
55 inline bool EventActionIdHasBeenSet() const { return m_eventActionIdHasBeenSet; }
56 template <typename EventActionIdT = Aws::String>
57 void SetEventActionId(EventActionIdT&& value) {
58 m_eventActionIdHasBeenSet = true;
59 m_eventActionId = std::forward<EventActionIdT>(value);
60 }
61 template <typename EventActionIdT = Aws::String>
63 SetEventActionId(std::forward<EventActionIdT>(value));
64 return *this;
65 }
67 private:
68 Action m_action;
69
70 Aws::String m_eventActionId;
71 bool m_actionHasBeenSet = false;
72 bool m_eventActionIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace DataExchange
77} // 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