AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendDataIntegrationEventRequest.h
1
6#pragma once
7#include <aws/supplychain/SupplyChain_EXPORTS.h>
8#include <aws/supplychain/SupplyChainRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/supplychain/model/DataIntegrationEventType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace SupplyChain
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_SUPPLYCHAIN_API SendDataIntegrationEventRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "SendDataIntegrationEvent"; }
38
39 AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override;
40
41
43
46 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
47 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
49 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
50 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
51 inline SendDataIntegrationEventRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
52 inline SendDataIntegrationEventRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
53 inline SendDataIntegrationEventRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
55
57
60 inline const DataIntegrationEventType& GetEventType() const{ return m_eventType; }
61 inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
62 inline void SetEventType(const DataIntegrationEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
63 inline void SetEventType(DataIntegrationEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
65 inline SendDataIntegrationEventRequest& WithEventType(DataIntegrationEventType&& value) { SetEventType(std::move(value)); return *this;}
67
69
75 inline const Aws::String& GetData() const{ return m_data; }
76 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
77 inline void SetData(const Aws::String& value) { m_dataHasBeenSet = true; m_data = value; }
78 inline void SetData(Aws::String&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
79 inline void SetData(const char* value) { m_dataHasBeenSet = true; m_data.assign(value); }
80 inline SendDataIntegrationEventRequest& WithData(const Aws::String& value) { SetData(value); return *this;}
81 inline SendDataIntegrationEventRequest& WithData(Aws::String&& value) { SetData(std::move(value)); return *this;}
82 inline SendDataIntegrationEventRequest& WithData(const char* value) { SetData(value); return *this;}
84
86
90 inline const Aws::String& GetEventGroupId() const{ return m_eventGroupId; }
91 inline bool EventGroupIdHasBeenSet() const { return m_eventGroupIdHasBeenSet; }
92 inline void SetEventGroupId(const Aws::String& value) { m_eventGroupIdHasBeenSet = true; m_eventGroupId = value; }
93 inline void SetEventGroupId(Aws::String&& value) { m_eventGroupIdHasBeenSet = true; m_eventGroupId = std::move(value); }
94 inline void SetEventGroupId(const char* value) { m_eventGroupIdHasBeenSet = true; m_eventGroupId.assign(value); }
95 inline SendDataIntegrationEventRequest& WithEventGroupId(const Aws::String& value) { SetEventGroupId(value); return *this;}
96 inline SendDataIntegrationEventRequest& WithEventGroupId(Aws::String&& value) { SetEventGroupId(std::move(value)); return *this;}
97 inline SendDataIntegrationEventRequest& WithEventGroupId(const char* value) { SetEventGroupId(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetEventTimestamp() const{ return m_eventTimestamp; }
105 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
106 inline void SetEventTimestamp(const Aws::Utils::DateTime& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = value; }
107 inline void SetEventTimestamp(Aws::Utils::DateTime&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::move(value); }
111
113
116 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
117 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
118 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
119 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
120 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
121 inline SendDataIntegrationEventRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
122 inline SendDataIntegrationEventRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
123 inline SendDataIntegrationEventRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
125 private:
126
127 Aws::String m_instanceId;
128 bool m_instanceIdHasBeenSet = false;
129
130 DataIntegrationEventType m_eventType;
131 bool m_eventTypeHasBeenSet = false;
132
133 Aws::String m_data;
134 bool m_dataHasBeenSet = false;
135
136 Aws::String m_eventGroupId;
137 bool m_eventGroupIdHasBeenSet = false;
138
139 Aws::Utils::DateTime m_eventTimestamp;
140 bool m_eventTimestampHasBeenSet = false;
141
142 Aws::String m_clientToken;
143 bool m_clientTokenHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace SupplyChain
148} // namespace Aws
SendDataIntegrationEventRequest & WithEventTimestamp(const Aws::Utils::DateTime &value)
SendDataIntegrationEventRequest & WithEventGroupId(const Aws::String &value)
SendDataIntegrationEventRequest & WithData(const char *value)
SendDataIntegrationEventRequest & WithData(const Aws::String &value)
SendDataIntegrationEventRequest & WithInstanceId(const char *value)
SendDataIntegrationEventRequest & WithClientToken(const Aws::String &value)
SendDataIntegrationEventRequest & WithInstanceId(const Aws::String &value)
SendDataIntegrationEventRequest & WithEventType(const DataIntegrationEventType &value)
SendDataIntegrationEventRequest & WithEventTimestamp(Aws::Utils::DateTime &&value)
SendDataIntegrationEventRequest & WithEventGroupId(const char *value)
SendDataIntegrationEventRequest & WithEventType(DataIntegrationEventType &&value)
SendDataIntegrationEventRequest & WithData(Aws::String &&value)
SendDataIntegrationEventRequest & WithInstanceId(Aws::String &&value)
SendDataIntegrationEventRequest & WithClientToken(Aws::String &&value)
AWS_SUPPLYCHAIN_API Aws::String SerializePayload() const override
SendDataIntegrationEventRequest & WithClientToken(const char *value)
SendDataIntegrationEventRequest & WithEventGroupId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String