AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
PostLineageEventRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/UUID.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API PostLineageEventRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "PostLineageEvent"; }
30
32
34
38 inline const Aws::String& GetClientToken() const { return m_clientToken; }
39 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
40 template <typename ClientTokenT = Aws::String>
41 void SetClientToken(ClientTokenT&& value) {
42 m_clientTokenHasBeenSet = true;
43 m_clientToken = std::forward<ClientTokenT>(value);
44 }
45 template <typename ClientTokenT = Aws::String>
47 SetClientToken(std::forward<ClientTokenT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
57 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
58 template <typename DomainIdentifierT = Aws::String>
59 void SetDomainIdentifier(DomainIdentifierT&& value) {
60 m_domainIdentifierHasBeenSet = true;
61 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
62 }
63 template <typename DomainIdentifierT = Aws::String>
64 PostLineageEventRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
65 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
66 return *this;
67 }
69 private:
71 bool m_clientTokenHasBeenSet = true;
72
73 Aws::String m_domainIdentifier;
74 bool m_domainIdentifierHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DataZone
79} // namespace Aws
bool DomainIdentifierHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
AWS_DATAZONE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
const Aws::String & GetDomainIdentifier() const
PostLineageEventRequest & WithDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
PostLineageEventRequest & WithClientToken(ClientTokenT &&value)
AWS_DATAZONE_API PostLineageEventRequest()=default
void SetDomainIdentifier(DomainIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String