AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
MetadataGenerationRunTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/MetadataGenerationTargetType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
29 public:
30 AWS_DATAZONE_API MetadataGenerationRunTarget() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetIdentifier() const { return m_identifier; }
40 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
41 template <typename IdentifierT = Aws::String>
42 void SetIdentifier(IdentifierT&& value) {
43 m_identifierHasBeenSet = true;
44 m_identifier = std::forward<IdentifierT>(value);
45 }
46 template <typename IdentifierT = Aws::String>
48 SetIdentifier(std::forward<IdentifierT>(value));
49 return *this;
50 }
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) {
61 m_revisionHasBeenSet = true;
62 m_revision = std::forward<RevisionT>(value);
63 }
64 template <typename RevisionT = Aws::String>
66 SetRevision(std::forward<RevisionT>(value));
67 return *this;
68 }
70
72
75 inline MetadataGenerationTargetType GetType() const { return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 m_typeHasBeenSet = true;
79 m_type = value;
80 }
82 SetType(value);
83 return *this;
84 }
86 private:
87 Aws::String m_identifier;
88 bool m_identifierHasBeenSet = false;
89
90 Aws::String m_revision;
91 bool m_revisionHasBeenSet = false;
92
94 bool m_typeHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace DataZone
99} // 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