AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
MetadataGenerationRunTarget.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/MetadataGenerationTargetType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DATAZONE_API MetadataGenerationRunTarget() = default;
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIdentifier() const { return m_identifier; }
46 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
47 template<typename IdentifierT = Aws::String>
48 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
49 template<typename IdentifierT = Aws::String>
50 MetadataGenerationRunTarget& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
52
54
57 inline const Aws::String& GetRevision() const { return m_revision; }
58 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
59 template<typename RevisionT = Aws::String>
60 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
61 template<typename RevisionT = Aws::String>
62 MetadataGenerationRunTarget& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
64
66
69 inline MetadataGenerationTargetType GetType() const { return m_type; }
70 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
71 inline void SetType(MetadataGenerationTargetType value) { m_typeHasBeenSet = true; m_type = value; }
74 private:
75
76 Aws::String m_identifier;
77 bool m_identifierHasBeenSet = false;
78
79 Aws::String m_revision;
80 bool m_revisionHasBeenSet = false;
81
83 bool m_typeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace DataZone
88} // namespace Aws
MetadataGenerationRunTarget & WithType(MetadataGenerationTargetType value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API MetadataGenerationRunTarget(Aws::Utils::Json::JsonView jsonValue)
MetadataGenerationRunTarget & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API MetadataGenerationRunTarget()=default
AWS_DATAZONE_API MetadataGenerationRunTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
MetadataGenerationRunTarget & WithRevision(RevisionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue