AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotificationResource.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/NotificationResourceType.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
34 {
35 public:
36 AWS_DATAZONE_API NotificationResource();
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
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 NotificationResource& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline NotificationResource& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline NotificationResource& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline NotificationResource& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline NotificationResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline NotificationResource& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const NotificationResourceType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const NotificationResourceType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(NotificationResourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline NotificationResource& WithType(const NotificationResourceType& value) { SetType(value); return *this;}
79 inline NotificationResource& WithType(NotificationResourceType&& value) { SetType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
90 bool m_typeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DataZone
95} // namespace Aws
NotificationResource & WithName(const Aws::String &value)
void SetType(const NotificationResourceType &value)
const NotificationResourceType & GetType() const
NotificationResource & WithName(const char *value)
NotificationResource & WithId(const char *value)
NotificationResource & WithId(Aws::String &&value)
NotificationResource & WithType(const NotificationResourceType &value)
AWS_DATAZONE_API NotificationResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(NotificationResourceType &&value)
NotificationResource & WithType(NotificationResourceType &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
NotificationResource & WithId(const Aws::String &value)
NotificationResource & WithName(Aws::String &&value)
AWS_DATAZONE_API NotificationResource(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue