AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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 MetadataGenerationTargetType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIdentifier() const { return m_identifier; }
56 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
57 template <typename IdentifierT = Aws::String>
58 void SetIdentifier(IdentifierT&& value) {
59 m_identifierHasBeenSet = true;
60 m_identifier = std::forward<IdentifierT>(value);
61 }
62 template <typename IdentifierT = Aws::String>
64 SetIdentifier(std::forward<IdentifierT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetRevision() const { return m_revision; }
74 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
75 template <typename RevisionT = Aws::String>
76 void SetRevision(RevisionT&& value) {
77 m_revisionHasBeenSet = true;
78 m_revision = std::forward<RevisionT>(value);
79 }
80 template <typename RevisionT = Aws::String>
82 SetRevision(std::forward<RevisionT>(value));
83 return *this;
84 }
86 private:
88
89 Aws::String m_identifier;
90
91 Aws::String m_revision;
92 bool m_typeHasBeenSet = false;
93 bool m_identifierHasBeenSet = false;
94 bool m_revisionHasBeenSet = 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