AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AvailabilityConfiguration.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/AvailabilityProviderType.h>
10#include <aws/workmail/model/RedactedEwsAvailabilityProvider.h>
11#include <aws/workmail/model/LambdaAvailabilityProvider.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace WorkMail
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_WORKMAIL_API AvailabilityConfiguration();
42 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDomainName() const{ return m_domainName; }
50 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
52 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
53 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
54 inline AvailabilityConfiguration& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
55 inline AvailabilityConfiguration& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
56 inline AvailabilityConfiguration& WithDomainName(const char* value) { SetDomainName(value); return *this;}
58
60
63 inline const AvailabilityProviderType& GetProviderType() const{ return m_providerType; }
64 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
65 inline void SetProviderType(const AvailabilityProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
66 inline void SetProviderType(AvailabilityProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
68 inline AvailabilityConfiguration& WithProviderType(AvailabilityProviderType&& value) { SetProviderType(std::move(value)); return *this;}
70
72
76 inline const RedactedEwsAvailabilityProvider& GetEwsProvider() const{ return m_ewsProvider; }
77 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
78 inline void SetEwsProvider(const RedactedEwsAvailabilityProvider& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = value; }
79 inline void SetEwsProvider(RedactedEwsAvailabilityProvider&& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = std::move(value); }
83
85
89 inline const LambdaAvailabilityProvider& GetLambdaProvider() const{ return m_lambdaProvider; }
90 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
91 inline void SetLambdaProvider(const LambdaAvailabilityProvider& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = value; }
92 inline void SetLambdaProvider(LambdaAvailabilityProvider&& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = std::move(value); }
96
98
101 inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; }
102 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
103 inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
104 inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
106 inline AvailabilityConfiguration& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetDateModified() const{ return m_dateModified; }
115 inline bool DateModifiedHasBeenSet() const { return m_dateModifiedHasBeenSet; }
116 inline void SetDateModified(const Aws::Utils::DateTime& value) { m_dateModifiedHasBeenSet = true; m_dateModified = value; }
117 inline void SetDateModified(Aws::Utils::DateTime&& value) { m_dateModifiedHasBeenSet = true; m_dateModified = std::move(value); }
119 inline AvailabilityConfiguration& WithDateModified(Aws::Utils::DateTime&& value) { SetDateModified(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_domainName;
124 bool m_domainNameHasBeenSet = false;
125
126 AvailabilityProviderType m_providerType;
127 bool m_providerTypeHasBeenSet = false;
128
130 bool m_ewsProviderHasBeenSet = false;
131
132 LambdaAvailabilityProvider m_lambdaProvider;
133 bool m_lambdaProviderHasBeenSet = false;
134
135 Aws::Utils::DateTime m_dateCreated;
136 bool m_dateCreatedHasBeenSet = false;
137
138 Aws::Utils::DateTime m_dateModified;
139 bool m_dateModifiedHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace WorkMail
144} // namespace Aws
AvailabilityConfiguration & WithProviderType(AvailabilityProviderType &&value)
void SetEwsProvider(RedactedEwsAvailabilityProvider &&value)
AvailabilityConfiguration & WithDateModified(Aws::Utils::DateTime &&value)
AWS_WORKMAIL_API AvailabilityConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDateCreated(const Aws::Utils::DateTime &value)
AvailabilityConfiguration & WithDateCreated(Aws::Utils::DateTime &&value)
const RedactedEwsAvailabilityProvider & GetEwsProvider() const
void SetProviderType(const AvailabilityProviderType &value)
AvailabilityConfiguration & WithEwsProvider(RedactedEwsAvailabilityProvider &&value)
AWS_WORKMAIL_API AvailabilityConfiguration(Aws::Utils::Json::JsonView jsonValue)
AvailabilityConfiguration & WithDomainName(const char *value)
AvailabilityConfiguration & WithProviderType(const AvailabilityProviderType &value)
void SetDateModified(const Aws::Utils::DateTime &value)
AvailabilityConfiguration & WithLambdaProvider(LambdaAvailabilityProvider &&value)
const AvailabilityProviderType & GetProviderType() const
AvailabilityConfiguration & WithEwsProvider(const RedactedEwsAvailabilityProvider &value)
AvailabilityConfiguration & WithLambdaProvider(const LambdaAvailabilityProvider &value)
void SetEwsProvider(const RedactedEwsAvailabilityProvider &value)
AvailabilityConfiguration & WithDomainName(Aws::String &&value)
const LambdaAvailabilityProvider & GetLambdaProvider() const
void SetProviderType(AvailabilityProviderType &&value)
void SetLambdaProvider(const LambdaAvailabilityProvider &value)
AvailabilityConfiguration & WithDateCreated(const Aws::Utils::DateTime &value)
AvailabilityConfiguration & WithDateModified(const Aws::Utils::DateTime &value)
AvailabilityConfiguration & WithDomainName(const Aws::String &value)
void SetLambdaProvider(LambdaAvailabilityProvider &&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