AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MailDomainSummary.h
1
6#pragma once
7#include <aws/workmail/WorkMail_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 WorkMail
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_WORKMAIL_API MailDomainSummary();
35 AWS_WORKMAIL_API MailDomainSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDomainName() const{ return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
47 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
48 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
49 inline MailDomainSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
50 inline MailDomainSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
51 inline MailDomainSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
53
55
58 inline bool GetDefaultDomain() const{ return m_defaultDomain; }
59 inline bool DefaultDomainHasBeenSet() const { return m_defaultDomainHasBeenSet; }
60 inline void SetDefaultDomain(bool value) { m_defaultDomainHasBeenSet = true; m_defaultDomain = value; }
61 inline MailDomainSummary& WithDefaultDomain(bool value) { SetDefaultDomain(value); return *this;}
63 private:
64
65 Aws::String m_domainName;
66 bool m_domainNameHasBeenSet = false;
67
68 bool m_defaultDomain;
69 bool m_defaultDomainHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace WorkMail
74} // namespace Aws
MailDomainSummary & WithDomainName(const char *value)
MailDomainSummary & WithDomainName(Aws::String &&value)
const Aws::String & GetDomainName() const
MailDomainSummary & WithDomainName(const Aws::String &value)
MailDomainSummary & WithDefaultDomain(bool value)
void SetDomainName(const Aws::String &value)
AWS_WORKMAIL_API MailDomainSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKMAIL_API MailDomainSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue