AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Watcher.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/security-ir/SecurityIR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityIR {
20namespace Model {
21
27class Watcher {
28 public:
29 AWS_SECURITYIR_API Watcher() = default;
30 AWS_SECURITYIR_API Watcher(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SECURITYIR_API Watcher& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetEmail() const { return m_email; }
39 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
40 template <typename EmailT = Aws::String>
41 void SetEmail(EmailT&& value) {
42 m_emailHasBeenSet = true;
43 m_email = std::forward<EmailT>(value);
44 }
45 template <typename EmailT = Aws::String>
46 Watcher& WithEmail(EmailT&& value) {
47 SetEmail(std::forward<EmailT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
64 Watcher& WithName(NameT&& value) {
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetJobTitle() const { return m_jobTitle; }
75 inline bool JobTitleHasBeenSet() const { return m_jobTitleHasBeenSet; }
76 template <typename JobTitleT = Aws::String>
77 void SetJobTitle(JobTitleT&& value) {
78 m_jobTitleHasBeenSet = true;
79 m_jobTitle = std::forward<JobTitleT>(value);
80 }
81 template <typename JobTitleT = Aws::String>
82 Watcher& WithJobTitle(JobTitleT&& value) {
83 SetJobTitle(std::forward<JobTitleT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_email;
89
90 Aws::String m_name;
91
92 Aws::String m_jobTitle;
93 bool m_emailHasBeenSet = false;
94 bool m_nameHasBeenSet = false;
95 bool m_jobTitleHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SecurityIR
100} // namespace Aws
Watcher & WithJobTitle(JobTitleT &&value)
Definition Watcher.h:82
Watcher & WithEmail(EmailT &&value)
Definition Watcher.h:46
Watcher & WithName(NameT &&value)
Definition Watcher.h:64
AWS_SECURITYIR_API Watcher(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYIR_API Watcher & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
Definition Watcher.h:59
bool JobTitleHasBeenSet() const
Definition Watcher.h:75
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
Definition Watcher.h:56
AWS_SECURITYIR_API Watcher()=default
void SetEmail(EmailT &&value)
Definition Watcher.h:41
const Aws::String & GetJobTitle() const
Definition Watcher.h:74
const Aws::String & GetEmail() const
Definition Watcher.h:38
void SetJobTitle(JobTitleT &&value)
Definition Watcher.h:77
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue