AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StartMetadataGenerationRunRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/MetadataGenerationRunTarget.h>
12#include <aws/datazone/model/MetadataGenerationRunType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace DataZone {
18namespace Model {
19
23 public:
24 AWS_DATAZONE_API StartMetadataGenerationRunRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartMetadataGenerationRun"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetClientToken() const { return m_clientToken; }
40 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
41 template <typename ClientTokenT = Aws::String>
42 void SetClientToken(ClientTokenT&& value) {
43 m_clientTokenHasBeenSet = true;
44 m_clientToken = std::forward<ClientTokenT>(value);
45 }
46 template <typename ClientTokenT = Aws::String>
48 SetClientToken(std::forward<ClientTokenT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
59 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
60 template <typename DomainIdentifierT = Aws::String>
61 void SetDomainIdentifier(DomainIdentifierT&& value) {
62 m_domainIdentifierHasBeenSet = true;
63 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
64 }
65 template <typename DomainIdentifierT = Aws::String>
67 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
78 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
79 template <typename OwningProjectIdentifierT = Aws::String>
80 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
81 m_owningProjectIdentifierHasBeenSet = true;
82 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
83 }
84 template <typename OwningProjectIdentifierT = Aws::String>
86 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
87 return *this;
88 }
90
92
95 inline const MetadataGenerationRunTarget& GetTarget() const { return m_target; }
96 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
97 template <typename TargetT = MetadataGenerationRunTarget>
98 void SetTarget(TargetT&& value) {
99 m_targetHasBeenSet = true;
100 m_target = std::forward<TargetT>(value);
101 }
102 template <typename TargetT = MetadataGenerationRunTarget>
104 SetTarget(std::forward<TargetT>(value));
105 return *this;
106 }
108
110
113 inline MetadataGenerationRunType GetType() const { return m_type; }
114 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
116 m_typeHasBeenSet = true;
117 m_type = value;
118 }
120 SetType(value);
121 return *this;
122 }
124 private:
126 bool m_clientTokenHasBeenSet = true;
127
128 Aws::String m_domainIdentifier;
129 bool m_domainIdentifierHasBeenSet = false;
130
131 Aws::String m_owningProjectIdentifier;
132 bool m_owningProjectIdentifierHasBeenSet = false;
133
134 MetadataGenerationRunTarget m_target;
135 bool m_targetHasBeenSet = false;
136
138 bool m_typeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace DataZone
143} // namespace Aws
StartMetadataGenerationRunRequest & WithClientToken(ClientTokenT &&value)
StartMetadataGenerationRunRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API StartMetadataGenerationRunRequest()=default
StartMetadataGenerationRunRequest & WithType(MetadataGenerationRunType value)
StartMetadataGenerationRunRequest & WithTarget(TargetT &&value)
StartMetadataGenerationRunRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String