AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAction(const Action& value) { m_actionHasBeenSet = true; m_action = value; }
43 inline void SetAction(Action&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
44 inline UpdateEventActionRequest& WithAction(const Action& value) { SetAction(value); return *this;}
45 inline UpdateEventActionRequest& WithAction(Action&& value) { SetAction(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetEventActionId() const{ return m_eventActionId; }
53 inline bool EventActionIdHasBeenSet() const { return m_eventActionIdHasBeenSet; }
54 inline void SetEventActionId(const Aws::String& value) { m_eventActionIdHasBeenSet = true; m_eventActionId = value; }
55 inline void SetEventActionId(Aws::String&& value) { m_eventActionIdHasBeenSet = true; m_eventActionId = std::move(value); }
56 inline void SetEventActionId(const char* value) { m_eventActionIdHasBeenSet = true; m_eventActionId.assign(value); }
57 inline UpdateEventActionRequest& WithEventActionId(const Aws::String& value) { SetEventActionId(value); return *this;}
58 inline UpdateEventActionRequest& WithEventActionId(Aws::String&& value) { SetEventActionId(std::move(value)); return *this;}
59 inline UpdateEventActionRequest& WithEventActionId(const char* value) { SetEventActionId(value); return *this;}
61 private:
62
63 Action m_action;
64 bool m_actionHasBeenSet = false;
65
66 Aws::String m_eventActionId;
67 bool m_eventActionIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace DataExchange
72} // namespace Aws
UpdateEventActionRequest & WithEventActionId(const Aws::String &value)
UpdateEventActionRequest & WithAction(const Action &value)
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateEventActionRequest & WithAction(Action &&value)
UpdateEventActionRequest & WithEventActionId(const char *value)
UpdateEventActionRequest & WithEventActionId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String