AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
TestAvailabilityConfigurationRequest.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 TestAvailabilityConfigurationRequest() = 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 "TestAvailabilityConfiguration"; }
30
31 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
40 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
41 template <typename OrganizationIdT = Aws::String>
42 void SetOrganizationId(OrganizationIdT&& value) {
43 m_organizationIdHasBeenSet = true;
44 m_organizationId = std::forward<OrganizationIdT>(value);
45 }
46 template <typename OrganizationIdT = Aws::String>
48 SetOrganizationId(std::forward<OrganizationIdT>(value));
49 return *this;
50 }
52
54
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
74 inline const EwsAvailabilityProvider& GetEwsProvider() const { return m_ewsProvider; }
75 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
76 template <typename EwsProviderT = EwsAvailabilityProvider>
77 void SetEwsProvider(EwsProviderT&& value) {
78 m_ewsProviderHasBeenSet = true;
79 m_ewsProvider = std::forward<EwsProviderT>(value);
80 }
81 template <typename EwsProviderT = EwsAvailabilityProvider>
83 SetEwsProvider(std::forward<EwsProviderT>(value));
84 return *this;
85 }
87
89
90 inline const LambdaAvailabilityProvider& GetLambdaProvider() const { return m_lambdaProvider; }
91 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
92 template <typename LambdaProviderT = LambdaAvailabilityProvider>
93 void SetLambdaProvider(LambdaProviderT&& value) {
94 m_lambdaProviderHasBeenSet = true;
95 m_lambdaProvider = std::forward<LambdaProviderT>(value);
96 }
97 template <typename LambdaProviderT = LambdaAvailabilityProvider>
99 SetLambdaProvider(std::forward<LambdaProviderT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_organizationId;
105
106 Aws::String m_domainName;
107
108 EwsAvailabilityProvider m_ewsProvider;
109
110 LambdaAvailabilityProvider m_lambdaProvider;
111 bool m_organizationIdHasBeenSet = false;
112 bool m_domainNameHasBeenSet = false;
113 bool m_ewsProviderHasBeenSet = false;
114 bool m_lambdaProviderHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace WorkMail
119} // 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