AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartMetadataGenerationRunRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/MetadataGenerationRunTarget.h>
11#include <aws/datazone/model/MetadataGenerationRunType.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace DataZone
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATAZONE_API StartMetadataGenerationRunRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartMetadataGenerationRun"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const { return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 template<typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<typename ClientTokenT = Aws::String>
48 StartMetadataGenerationRunRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
50
52
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) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
60 template<typename DomainIdentifierT = Aws::String>
61 StartMetadataGenerationRunRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
63
65
69 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
70 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
71 template<typename OwningProjectIdentifierT = Aws::String>
72 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value); }
73 template<typename OwningProjectIdentifierT = Aws::String>
74 StartMetadataGenerationRunRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) { SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value)); return *this;}
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) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
85 template<typename TargetT = MetadataGenerationRunTarget>
86 StartMetadataGenerationRunRequest& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
88
90
93 inline MetadataGenerationRunType GetType() const { return m_type; }
94 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
95 inline void SetType(MetadataGenerationRunType value) { m_typeHasBeenSet = true; m_type = value; }
98 private:
99
101 bool m_clientTokenHasBeenSet = true;
102
103 Aws::String m_domainIdentifier;
104 bool m_domainIdentifierHasBeenSet = false;
105
106 Aws::String m_owningProjectIdentifier;
107 bool m_owningProjectIdentifierHasBeenSet = false;
108
109 MetadataGenerationRunTarget m_target;
110 bool m_targetHasBeenSet = false;
111
113 bool m_typeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace DataZone
118} // 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