AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
ListingRevisionInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
29 public:
30 AWS_DATAZONE_API ListingRevisionInput() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetIdentifier() const { return m_identifier; }
41 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
42 template <typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) {
44 m_identifierHasBeenSet = true;
45 m_identifier = std::forward<IdentifierT>(value);
46 }
47 template <typename IdentifierT = Aws::String>
48 ListingRevisionInput& WithIdentifier(IdentifierT&& value) {
49 SetIdentifier(std::forward<IdentifierT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRevision() const { return m_revision; }
60 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
61 template <typename RevisionT = Aws::String>
62 void SetRevision(RevisionT&& value) {
63 m_revisionHasBeenSet = true;
64 m_revision = std::forward<RevisionT>(value);
65 }
66 template <typename RevisionT = Aws::String>
67 ListingRevisionInput& WithRevision(RevisionT&& value) {
68 SetRevision(std::forward<RevisionT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_identifier;
74 bool m_identifierHasBeenSet = false;
75
76 Aws::String m_revision;
77 bool m_revisionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DataZone
82} // namespace Aws
AWS_DATAZONE_API ListingRevisionInput()=default
ListingRevisionInput & WithRevision(RevisionT &&value)
AWS_DATAZONE_API ListingRevisionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ListingRevisionInput(Aws::Utils::Json::JsonView jsonValue)
ListingRevisionInput & WithIdentifier(IdentifierT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue