AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EwsAvailabilityProvider.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:
35 AWS_WORKMAIL_API EwsAvailabilityProvider();
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 EwsAvailabilityProvider& WithEwsEndpoint(const Aws::String& value) { SetEwsEndpoint(value); return *this;}
51 inline EwsAvailabilityProvider& WithEwsEndpoint(Aws::String&& value) { SetEwsEndpoint(std::move(value)); return *this;}
52 inline EwsAvailabilityProvider& 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 EwsAvailabilityProvider& WithEwsUsername(const Aws::String& value) { SetEwsUsername(value); return *this;}
65 inline EwsAvailabilityProvider& WithEwsUsername(Aws::String&& value) { SetEwsUsername(std::move(value)); return *this;}
66 inline EwsAvailabilityProvider& WithEwsUsername(const char* value) { SetEwsUsername(value); return *this;}
68
70
73 inline const Aws::String& GetEwsPassword() const{ return m_ewsPassword; }
74 inline bool EwsPasswordHasBeenSet() const { return m_ewsPasswordHasBeenSet; }
75 inline void SetEwsPassword(const Aws::String& value) { m_ewsPasswordHasBeenSet = true; m_ewsPassword = value; }
76 inline void SetEwsPassword(Aws::String&& value) { m_ewsPasswordHasBeenSet = true; m_ewsPassword = std::move(value); }
77 inline void SetEwsPassword(const char* value) { m_ewsPasswordHasBeenSet = true; m_ewsPassword.assign(value); }
78 inline EwsAvailabilityProvider& WithEwsPassword(const Aws::String& value) { SetEwsPassword(value); return *this;}
79 inline EwsAvailabilityProvider& WithEwsPassword(Aws::String&& value) { SetEwsPassword(std::move(value)); return *this;}
80 inline EwsAvailabilityProvider& WithEwsPassword(const char* value) { SetEwsPassword(value); return *this;}
82 private:
83
84 Aws::String m_ewsEndpoint;
85 bool m_ewsEndpointHasBeenSet = false;
86
87 Aws::String m_ewsUsername;
88 bool m_ewsUsernameHasBeenSet = false;
89
90 Aws::String m_ewsPassword;
91 bool m_ewsPasswordHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace WorkMail
96} // namespace Aws
EwsAvailabilityProvider & WithEwsEndpoint(Aws::String &&value)
AWS_WORKMAIL_API EwsAvailabilityProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
EwsAvailabilityProvider & WithEwsEndpoint(const char *value)
EwsAvailabilityProvider & WithEwsUsername(Aws::String &&value)
EwsAvailabilityProvider & WithEwsPassword(Aws::String &&value)
AWS_WORKMAIL_API EwsAvailabilityProvider(Aws::Utils::Json::JsonView jsonValue)
EwsAvailabilityProvider & WithEwsUsername(const char *value)
EwsAvailabilityProvider & WithEwsPassword(const Aws::String &value)
EwsAvailabilityProvider & WithEwsPassword(const char *value)
EwsAvailabilityProvider & WithEwsUsername(const Aws::String &value)
EwsAvailabilityProvider & WithEwsEndpoint(const Aws::String &value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue