AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline StartMetadataGenerationRunRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline StartMetadataGenerationRunRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline StartMetadataGenerationRunRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
58 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
59 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
60 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
61 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
62 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
65 inline StartMetadataGenerationRunRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
67
69
73 inline const Aws::String& GetOwningProjectIdentifier() const{ return m_owningProjectIdentifier; }
74 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
75 inline void SetOwningProjectIdentifier(const Aws::String& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = value; }
76 inline void SetOwningProjectIdentifier(Aws::String&& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = std::move(value); }
77 inline void SetOwningProjectIdentifier(const char* value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier.assign(value); }
82
84
87 inline const MetadataGenerationRunTarget& GetTarget() const{ return m_target; }
88 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
89 inline void SetTarget(const MetadataGenerationRunTarget& value) { m_targetHasBeenSet = true; m_target = value; }
90 inline void SetTarget(MetadataGenerationRunTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
92 inline StartMetadataGenerationRunRequest& WithTarget(MetadataGenerationRunTarget&& value) { SetTarget(std::move(value)); return *this;}
94
96
99 inline const MetadataGenerationRunType& GetType() const{ return m_type; }
100 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
101 inline void SetType(const MetadataGenerationRunType& value) { m_typeHasBeenSet = true; m_type = value; }
102 inline void SetType(MetadataGenerationRunType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
104 inline StartMetadataGenerationRunRequest& WithType(MetadataGenerationRunType&& value) { SetType(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110
111 Aws::String m_domainIdentifier;
112 bool m_domainIdentifierHasBeenSet = false;
113
114 Aws::String m_owningProjectIdentifier;
115 bool m_owningProjectIdentifierHasBeenSet = false;
116
118 bool m_targetHasBeenSet = false;
119
121 bool m_typeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace DataZone
126} // namespace Aws
StartMetadataGenerationRunRequest & WithOwningProjectIdentifier(const Aws::String &value)
StartMetadataGenerationRunRequest & WithClientToken(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
StartMetadataGenerationRunRequest & WithTarget(MetadataGenerationRunTarget &&value)
StartMetadataGenerationRunRequest & WithDomainIdentifier(const Aws::String &value)
StartMetadataGenerationRunRequest & WithOwningProjectIdentifier(const char *value)
StartMetadataGenerationRunRequest & WithDomainIdentifier(const char *value)
StartMetadataGenerationRunRequest & WithType(const MetadataGenerationRunType &value)
StartMetadataGenerationRunRequest & WithClientToken(const char *value)
StartMetadataGenerationRunRequest & WithDomainIdentifier(Aws::String &&value)
StartMetadataGenerationRunRequest & WithOwningProjectIdentifier(Aws::String &&value)
StartMetadataGenerationRunRequest & WithType(MetadataGenerationRunType &&value)
StartMetadataGenerationRunRequest & WithClientToken(const Aws::String &value)
StartMetadataGenerationRunRequest & WithTarget(const MetadataGenerationRunTarget &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String