AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_WORKMAIL_API RedactedEwsAvailabilityProvider() = default;
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 template<typename EwsEndpointT = Aws::String>
48 void SetEwsEndpoint(EwsEndpointT&& value) { m_ewsEndpointHasBeenSet = true; m_ewsEndpoint = std::forward<EwsEndpointT>(value); }
49 template<typename EwsEndpointT = Aws::String>
50 RedactedEwsAvailabilityProvider& WithEwsEndpoint(EwsEndpointT&& value) { SetEwsEndpoint(std::forward<EwsEndpointT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEwsUsername() const { return m_ewsUsername; }
58 inline bool EwsUsernameHasBeenSet() const { return m_ewsUsernameHasBeenSet; }
59 template<typename EwsUsernameT = Aws::String>
60 void SetEwsUsername(EwsUsernameT&& value) { m_ewsUsernameHasBeenSet = true; m_ewsUsername = std::forward<EwsUsernameT>(value); }
61 template<typename EwsUsernameT = Aws::String>
62 RedactedEwsAvailabilityProvider& WithEwsUsername(EwsUsernameT&& value) { SetEwsUsername(std::forward<EwsUsernameT>(value)); return *this;}
64 private:
65
66 Aws::String m_ewsEndpoint;
67 bool m_ewsEndpointHasBeenSet = false;
68
69 Aws::String m_ewsUsername;
70 bool m_ewsUsernameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WorkMail
75} // namespace Aws
AWS_WORKMAIL_API RedactedEwsAvailabilityProvider()=default
AWS_WORKMAIL_API RedactedEwsAvailabilityProvider & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKMAIL_API RedactedEwsAvailabilityProvider(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
RedactedEwsAvailabilityProvider & WithEwsUsername(EwsUsernameT &&value)
RedactedEwsAvailabilityProvider & WithEwsEndpoint(EwsEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue