AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/MetadataGenerationRunTarget.h>
13#include <aws/datazone/model/MetadataGenerationRunType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API StartMetadataGenerationRunRequest() = default;
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 "StartMetadataGenerationRun"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
41 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
42 template <typename DomainIdentifierT = Aws::String>
43 void SetDomainIdentifier(DomainIdentifierT&& value) {
44 m_domainIdentifierHasBeenSet = true;
45 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
46 }
47 template <typename DomainIdentifierT = Aws::String>
49 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Vector<MetadataGenerationRunType>& GetTypes() const { return m_types; }
59 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
60 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
61 void SetTypes(TypesT&& value) {
62 m_typesHasBeenSet = true;
63 m_types = std::forward<TypesT>(value);
64 }
65 template <typename TypesT = Aws::Vector<MetadataGenerationRunType>>
67 SetTypes(std::forward<TypesT>(value));
68 return *this;
69 }
71 m_typesHasBeenSet = true;
72 m_types.push_back(value);
73 return *this;
74 }
76
78
81 inline const MetadataGenerationRunTarget& GetTarget() const { return m_target; }
82 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
83 template <typename TargetT = MetadataGenerationRunTarget>
84 void SetTarget(TargetT&& value) {
85 m_targetHasBeenSet = true;
86 m_target = std::forward<TargetT>(value);
87 }
88 template <typename TargetT = MetadataGenerationRunTarget>
90 SetTarget(std::forward<TargetT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::String& GetClientToken() const { return m_clientToken; }
101 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
102 template <typename ClientTokenT = Aws::String>
103 void SetClientToken(ClientTokenT&& value) {
104 m_clientTokenHasBeenSet = true;
105 m_clientToken = std::forward<ClientTokenT>(value);
106 }
107 template <typename ClientTokenT = Aws::String>
109 SetClientToken(std::forward<ClientTokenT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
120 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
121 template <typename OwningProjectIdentifierT = Aws::String>
122 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
123 m_owningProjectIdentifierHasBeenSet = true;
124 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
125 }
126 template <typename OwningProjectIdentifierT = Aws::String>
128 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_domainIdentifier;
134
136
138
140
141 Aws::String m_owningProjectIdentifier;
142 bool m_domainIdentifierHasBeenSet = false;
143 bool m_typesHasBeenSet = false;
144 bool m_targetHasBeenSet = false;
145 bool m_clientTokenHasBeenSet = true;
146 bool m_owningProjectIdentifierHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace DataZone
151} // namespace Aws
StartMetadataGenerationRunRequest & WithClientToken(ClientTokenT &&value)
StartMetadataGenerationRunRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API StartMetadataGenerationRunRequest()=default
StartMetadataGenerationRunRequest & WithTypes(TypesT &&value)
StartMetadataGenerationRunRequest & AddTypes(MetadataGenerationRunType value)
const Aws::Vector< MetadataGenerationRunType > & GetTypes() const
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
std::vector< T, Aws::Allocator< T > > Vector