AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
UpdateAvailabilityConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/workmail/WorkMail_EXPORTS.h>
10#include <aws/workmail/model/EwsAvailabilityProvider.h>
11#include <aws/workmail/model/LambdaAvailabilityProvider.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WorkMail {
17namespace Model {
18
22 public:
23 AWS_WORKMAIL_API UpdateAvailabilityConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAvailabilityConfiguration"; }
30
31 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
41 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
42 template <typename OrganizationIdT = Aws::String>
43 void SetOrganizationId(OrganizationIdT&& value) {
44 m_organizationIdHasBeenSet = true;
45 m_organizationId = std::forward<OrganizationIdT>(value);
46 }
47 template <typename OrganizationIdT = Aws::String>
49 SetOrganizationId(std::forward<OrganizationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDomainName() const { return m_domainName; }
59 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
60 template <typename DomainNameT = Aws::String>
61 void SetDomainName(DomainNameT&& value) {
62 m_domainNameHasBeenSet = true;
63 m_domainName = std::forward<DomainNameT>(value);
64 }
65 template <typename DomainNameT = Aws::String>
67 SetDomainName(std::forward<DomainNameT>(value));
68 return *this;
69 }
71
73
79 inline const EwsAvailabilityProvider& GetEwsProvider() const { return m_ewsProvider; }
80 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
81 template <typename EwsProviderT = EwsAvailabilityProvider>
82 void SetEwsProvider(EwsProviderT&& value) {
83 m_ewsProviderHasBeenSet = true;
84 m_ewsProvider = std::forward<EwsProviderT>(value);
85 }
86 template <typename EwsProviderT = EwsAvailabilityProvider>
88 SetEwsProvider(std::forward<EwsProviderT>(value));
89 return *this;
90 }
92
94
100 inline const LambdaAvailabilityProvider& GetLambdaProvider() const { return m_lambdaProvider; }
101 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
102 template <typename LambdaProviderT = LambdaAvailabilityProvider>
103 void SetLambdaProvider(LambdaProviderT&& value) {
104 m_lambdaProviderHasBeenSet = true;
105 m_lambdaProvider = std::forward<LambdaProviderT>(value);
106 }
107 template <typename LambdaProviderT = LambdaAvailabilityProvider>
109 SetLambdaProvider(std::forward<LambdaProviderT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_organizationId;
115
116 Aws::String m_domainName;
117
118 EwsAvailabilityProvider m_ewsProvider;
119
120 LambdaAvailabilityProvider m_lambdaProvider;
121 bool m_organizationIdHasBeenSet = false;
122 bool m_domainNameHasBeenSet = false;
123 bool m_ewsProviderHasBeenSet = false;
124 bool m_lambdaProviderHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace WorkMail
129} // namespace Aws
UpdateAvailabilityConfigurationRequest & WithOrganizationId(OrganizationIdT &&value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
UpdateAvailabilityConfigurationRequest & WithDomainName(DomainNameT &&value)
UpdateAvailabilityConfigurationRequest & WithLambdaProvider(LambdaProviderT &&value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAvailabilityConfigurationRequest & WithEwsProvider(EwsProviderT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String