AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TestAvailabilityConfigurationRequest.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:
26 AWS_WORKMAIL_API TestAvailabilityConfigurationRequest() = default;
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 "TestAvailabilityConfiguration"; }
33
34 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
44 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
45 template<typename OrganizationIdT = Aws::String>
46 void SetOrganizationId(OrganizationIdT&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::forward<OrganizationIdT>(value); }
47 template<typename OrganizationIdT = Aws::String>
48 TestAvailabilityConfigurationRequest& WithOrganizationId(OrganizationIdT&& value) { SetOrganizationId(std::forward<OrganizationIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDomainName() const { return m_domainName; }
57 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
58 template<typename DomainNameT = Aws::String>
59 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
60 template<typename DomainNameT = Aws::String>
61 TestAvailabilityConfigurationRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
63
65
66 inline const EwsAvailabilityProvider& GetEwsProvider() const { return m_ewsProvider; }
67 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
68 template<typename EwsProviderT = EwsAvailabilityProvider>
69 void SetEwsProvider(EwsProviderT&& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = std::forward<EwsProviderT>(value); }
70 template<typename EwsProviderT = EwsAvailabilityProvider>
71 TestAvailabilityConfigurationRequest& WithEwsProvider(EwsProviderT&& value) { SetEwsProvider(std::forward<EwsProviderT>(value)); return *this;}
73
75
76 inline const LambdaAvailabilityProvider& GetLambdaProvider() const { return m_lambdaProvider; }
77 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
78 template<typename LambdaProviderT = LambdaAvailabilityProvider>
79 void SetLambdaProvider(LambdaProviderT&& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = std::forward<LambdaProviderT>(value); }
80 template<typename LambdaProviderT = LambdaAvailabilityProvider>
81 TestAvailabilityConfigurationRequest& WithLambdaProvider(LambdaProviderT&& value) { SetLambdaProvider(std::forward<LambdaProviderT>(value)); return *this;}
83 private:
84
85 Aws::String m_organizationId;
86 bool m_organizationIdHasBeenSet = false;
87
88 Aws::String m_domainName;
89 bool m_domainNameHasBeenSet = false;
90
91 EwsAvailabilityProvider m_ewsProvider;
92 bool m_ewsProviderHasBeenSet = false;
93
94 LambdaAvailabilityProvider m_lambdaProvider;
95 bool m_lambdaProviderHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace WorkMail
100} // namespace Aws
AWS_WORKMAIL_API Aws::String SerializePayload() const override
TestAvailabilityConfigurationRequest & WithLambdaProvider(LambdaProviderT &&value)
TestAvailabilityConfigurationRequest & WithEwsProvider(EwsProviderT &&value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestAvailabilityConfigurationRequest & WithDomainName(DomainNameT &&value)
TestAvailabilityConfigurationRequest & WithOrganizationId(OrganizationIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String