AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RedactedEwsAvailabilityProvider.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
33 {
34 public:
38 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEwsEndpoint() const{ return m_ewsEndpoint; }
46 inline bool EwsEndpointHasBeenSet() const { return m_ewsEndpointHasBeenSet; }
47 inline void SetEwsEndpoint(const Aws::String& value) { m_ewsEndpointHasBeenSet = true; m_ewsEndpoint = value; }
48 inline void SetEwsEndpoint(Aws::String&& value) { m_ewsEndpointHasBeenSet = true; m_ewsEndpoint = std::move(value); }
49 inline void SetEwsEndpoint(const char* value) { m_ewsEndpointHasBeenSet = true; m_ewsEndpoint.assign(value); }
50 inline RedactedEwsAvailabilityProvider& WithEwsEndpoint(const Aws::String& value) { SetEwsEndpoint(value); return *this;}
51 inline RedactedEwsAvailabilityProvider& WithEwsEndpoint(Aws::String&& value) { SetEwsEndpoint(std::move(value)); return *this;}
52 inline RedactedEwsAvailabilityProvider& WithEwsEndpoint(const char* value) { SetEwsEndpoint(value); return *this;}
54
56
59 inline const Aws::String& GetEwsUsername() const{ return m_ewsUsername; }
60 inline bool EwsUsernameHasBeenSet() const { return m_ewsUsernameHasBeenSet; }
61 inline void SetEwsUsername(const Aws::String& value) { m_ewsUsernameHasBeenSet = true; m_ewsUsername = value; }
62 inline void SetEwsUsername(Aws::String&& value) { m_ewsUsernameHasBeenSet = true; m_ewsUsername = std::move(value); }
63 inline void SetEwsUsername(const char* value) { m_ewsUsernameHasBeenSet = true; m_ewsUsername.assign(value); }
64 inline RedactedEwsAvailabilityProvider& WithEwsUsername(const Aws::String& value) { SetEwsUsername(value); return *this;}
65 inline RedactedEwsAvailabilityProvider& WithEwsUsername(Aws::String&& value) { SetEwsUsername(std::move(value)); return *this;}
66 inline RedactedEwsAvailabilityProvider& WithEwsUsername(const char* value) { SetEwsUsername(value); return *this;}
68 private:
69
70 Aws::String m_ewsEndpoint;
71 bool m_ewsEndpointHasBeenSet = false;
72
73 Aws::String m_ewsUsername;
74 bool m_ewsUsernameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WorkMail
79} // namespace Aws
AWS_WORKMAIL_API RedactedEwsAvailabilityProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
RedactedEwsAvailabilityProvider & WithEwsEndpoint(Aws::String &&value)
AWS_WORKMAIL_API RedactedEwsAvailabilityProvider(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
RedactedEwsAvailabilityProvider & WithEwsUsername(Aws::String &&value)
RedactedEwsAvailabilityProvider & WithEwsEndpoint(const Aws::String &value)
RedactedEwsAvailabilityProvider & WithEwsUsername(const Aws::String &value)
RedactedEwsAvailabilityProvider & WithEwsEndpoint(const char *value)
RedactedEwsAvailabilityProvider & WithEwsUsername(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue