AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NotificationOptions.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_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 WorkDocs
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_WORKDOCS_API NotificationOptions();
38 AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetSendEmail() const{ return m_sendEmail; }
47 inline bool SendEmailHasBeenSet() const { return m_sendEmailHasBeenSet; }
48 inline void SetSendEmail(bool value) { m_sendEmailHasBeenSet = true; m_sendEmail = value; }
49 inline NotificationOptions& WithSendEmail(bool value) { SetSendEmail(value); return *this;}
51
53
56 inline const Aws::String& GetEmailMessage() const{ return m_emailMessage; }
57 inline bool EmailMessageHasBeenSet() const { return m_emailMessageHasBeenSet; }
58 inline void SetEmailMessage(const Aws::String& value) { m_emailMessageHasBeenSet = true; m_emailMessage = value; }
59 inline void SetEmailMessage(Aws::String&& value) { m_emailMessageHasBeenSet = true; m_emailMessage = std::move(value); }
60 inline void SetEmailMessage(const char* value) { m_emailMessageHasBeenSet = true; m_emailMessage.assign(value); }
61 inline NotificationOptions& WithEmailMessage(const Aws::String& value) { SetEmailMessage(value); return *this;}
62 inline NotificationOptions& WithEmailMessage(Aws::String&& value) { SetEmailMessage(std::move(value)); return *this;}
63 inline NotificationOptions& WithEmailMessage(const char* value) { SetEmailMessage(value); return *this;}
65 private:
66
67 bool m_sendEmail;
68 bool m_sendEmailHasBeenSet = false;
69
70 Aws::String m_emailMessage;
71 bool m_emailMessageHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace WorkDocs
76} // namespace Aws
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKDOCS_API NotificationOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEmailMessage(const Aws::String &value)
NotificationOptions & WithSendEmail(bool value)
NotificationOptions & WithEmailMessage(const char *value)
NotificationOptions & WithEmailMessage(Aws::String &&value)
AWS_WORKDOCS_API NotificationOptions(Aws::Utils::Json::JsonView jsonValue)
NotificationOptions & WithEmailMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue