AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListingRevision.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DATAZONE_API ListingRevision();
36 AWS_DATAZONE_API ListingRevision(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ListingRevision& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ListingRevision& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ListingRevision& WithId(const char* value) { SetId(value); return *this;}
55
57
61 inline const Aws::String& GetRevision() const{ return m_revision; }
62 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
63 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
64 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
65 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
66 inline ListingRevision& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
67 inline ListingRevision& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
68 inline ListingRevision& WithRevision(const char* value) { SetRevision(value); return *this;}
70 private:
71
72 Aws::String m_id;
73 bool m_idHasBeenSet = false;
74
75 Aws::String m_revision;
76 bool m_revisionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DataZone
81} // namespace Aws
ListingRevision & WithRevision(const Aws::String &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ListingRevision & WithId(Aws::String &&value)
ListingRevision & WithId(const char *value)
const Aws::String & GetRevision() const
void SetRevision(const Aws::String &value)
AWS_DATAZONE_API ListingRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRevision(Aws::String &&value)
ListingRevision & WithRevision(Aws::String &&value)
void SetId(const Aws::String &value)
const Aws::String & GetId() const
ListingRevision & WithId(const Aws::String &value)
ListingRevision & WithRevision(const char *value)
AWS_DATAZONE_API ListingRevision(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue