AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
48 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
49 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
50 inline MetadataGenerationRunTarget& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
51 inline MetadataGenerationRunTarget& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
52 inline MetadataGenerationRunTarget& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
54
56
59 inline const Aws::String& GetRevision() const{ return m_revision; }
60 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
61 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
62 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
63 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
64 inline MetadataGenerationRunTarget& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
65 inline MetadataGenerationRunTarget& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
66 inline MetadataGenerationRunTarget& WithRevision(const char* value) { SetRevision(value); return *this;}
68
70
73 inline const MetadataGenerationTargetType& GetType() const{ return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(const MetadataGenerationTargetType& value) { m_typeHasBeenSet = true; m_type = value; }
76 inline void SetType(MetadataGenerationTargetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
77 inline MetadataGenerationRunTarget& WithType(const MetadataGenerationTargetType& value) { SetType(value); return *this;}
78 inline MetadataGenerationRunTarget& WithType(MetadataGenerationTargetType&& value) { SetType(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_identifier;
83 bool m_identifierHasBeenSet = false;
84
85 Aws::String m_revision;
86 bool m_revisionHasBeenSet = false;
87
89 bool m_typeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DataZone
94} // namespace Aws
MetadataGenerationRunTarget & WithType(const MetadataGenerationTargetType &value)
MetadataGenerationRunTarget & WithRevision(const Aws::String &value)
MetadataGenerationRunTarget & WithIdentifier(Aws::String &&value)
MetadataGenerationRunTarget & WithRevision(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API MetadataGenerationRunTarget(Aws::Utils::Json::JsonView jsonValue)
const MetadataGenerationTargetType & GetType() const
MetadataGenerationRunTarget & WithType(MetadataGenerationTargetType &&value)
MetadataGenerationRunTarget & WithIdentifier(const char *value)
void SetType(MetadataGenerationTargetType &&value)
MetadataGenerationRunTarget & WithIdentifier(const Aws::String &value)
AWS_DATAZONE_API MetadataGenerationRunTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(const MetadataGenerationTargetType &value)
MetadataGenerationRunTarget & WithRevision(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue