AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAvailabilityConfigurationRequest.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/model/EwsAvailabilityProvider.h>
11#include <aws/workmail/model/LambdaAvailabilityProvider.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WorkMail
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAvailabilityConfiguration"; }
33
34 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
45 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
46 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
47 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
48 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
51 inline UpdateAvailabilityConfigurationRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
53
55
58 inline const Aws::String& GetDomainName() const{ return m_domainName; }
59 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
60 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
61 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
62 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
64 inline UpdateAvailabilityConfigurationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
65 inline UpdateAvailabilityConfigurationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
67
69
75 inline const EwsAvailabilityProvider& GetEwsProvider() const{ return m_ewsProvider; }
76 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
77 inline void SetEwsProvider(const EwsAvailabilityProvider& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = value; }
78 inline void SetEwsProvider(EwsAvailabilityProvider&& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = std::move(value); }
82
84
90 inline const LambdaAvailabilityProvider& GetLambdaProvider() const{ return m_lambdaProvider; }
91 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
92 inline void SetLambdaProvider(const LambdaAvailabilityProvider& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = value; }
93 inline void SetLambdaProvider(LambdaAvailabilityProvider&& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = std::move(value); }
97 private:
98
99 Aws::String m_organizationId;
100 bool m_organizationIdHasBeenSet = false;
101
102 Aws::String m_domainName;
103 bool m_domainNameHasBeenSet = false;
104
105 EwsAvailabilityProvider m_ewsProvider;
106 bool m_ewsProviderHasBeenSet = false;
107
108 LambdaAvailabilityProvider m_lambdaProvider;
109 bool m_lambdaProviderHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace WorkMail
114} // namespace Aws
AWS_WORKMAIL_API Aws::String SerializePayload() const override
UpdateAvailabilityConfigurationRequest & WithLambdaProvider(LambdaAvailabilityProvider &&value)
UpdateAvailabilityConfigurationRequest & WithDomainName(const char *value)
UpdateAvailabilityConfigurationRequest & WithEwsProvider(EwsAvailabilityProvider &&value)
UpdateAvailabilityConfigurationRequest & WithLambdaProvider(const LambdaAvailabilityProvider &value)
UpdateAvailabilityConfigurationRequest & WithEwsProvider(const EwsAvailabilityProvider &value)
UpdateAvailabilityConfigurationRequest & WithDomainName(const Aws::String &value)
UpdateAvailabilityConfigurationRequest & WithOrganizationId(const Aws::String &value)
UpdateAvailabilityConfigurationRequest & WithOrganizationId(Aws::String &&value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAvailabilityConfigurationRequest & WithDomainName(Aws::String &&value)
UpdateAvailabilityConfigurationRequest & WithOrganizationId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String