AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateAvailabilityConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/WorkMailRequest.h>
10#include <aws/workmail/WorkMail_EXPORTS.h>
11#include <aws/workmail/model/EwsAvailabilityProvider.h>
12#include <aws/workmail/model/LambdaAvailabilityProvider.h>
13
14#include <utility>
15
16namespace Aws {
17namespace WorkMail {
18namespace Model {
19
23 public:
24 AWS_WORKMAIL_API CreateAvailabilityConfigurationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateAvailabilityConfiguration"; }
31
32 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
33
35
37
41 inline const Aws::String& GetClientToken() const { return m_clientToken; }
42 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
43 template <typename ClientTokenT = Aws::String>
44 void SetClientToken(ClientTokenT&& value) {
45 m_clientTokenHasBeenSet = true;
46 m_clientToken = std::forward<ClientTokenT>(value);
47 }
48 template <typename ClientTokenT = Aws::String>
50 SetClientToken(std::forward<ClientTokenT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
61 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
62 template <typename OrganizationIdT = Aws::String>
63 void SetOrganizationId(OrganizationIdT&& value) {
64 m_organizationIdHasBeenSet = true;
65 m_organizationId = std::forward<OrganizationIdT>(value);
66 }
67 template <typename OrganizationIdT = Aws::String>
69 SetOrganizationId(std::forward<OrganizationIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDomainName() const { return m_domainName; }
79 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
80 template <typename DomainNameT = Aws::String>
81 void SetDomainName(DomainNameT&& value) {
82 m_domainNameHasBeenSet = true;
83 m_domainName = std::forward<DomainNameT>(value);
84 }
85 template <typename DomainNameT = Aws::String>
87 SetDomainName(std::forward<DomainNameT>(value));
88 return *this;
89 }
91
93
98 inline const EwsAvailabilityProvider& GetEwsProvider() const { return m_ewsProvider; }
99 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
100 template <typename EwsProviderT = EwsAvailabilityProvider>
101 void SetEwsProvider(EwsProviderT&& value) {
102 m_ewsProviderHasBeenSet = true;
103 m_ewsProvider = std::forward<EwsProviderT>(value);
104 }
105 template <typename EwsProviderT = EwsAvailabilityProvider>
107 SetEwsProvider(std::forward<EwsProviderT>(value));
108 return *this;
109 }
111
113
118 inline const LambdaAvailabilityProvider& GetLambdaProvider() const { return m_lambdaProvider; }
119 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
120 template <typename LambdaProviderT = LambdaAvailabilityProvider>
121 void SetLambdaProvider(LambdaProviderT&& value) {
122 m_lambdaProviderHasBeenSet = true;
123 m_lambdaProvider = std::forward<LambdaProviderT>(value);
124 }
125 template <typename LambdaProviderT = LambdaAvailabilityProvider>
127 SetLambdaProvider(std::forward<LambdaProviderT>(value));
128 return *this;
129 }
131 private:
133
134 Aws::String m_organizationId;
135
136 Aws::String m_domainName;
137
138 EwsAvailabilityProvider m_ewsProvider;
139
140 LambdaAvailabilityProvider m_lambdaProvider;
141 bool m_clientTokenHasBeenSet = true;
142 bool m_organizationIdHasBeenSet = false;
143 bool m_domainNameHasBeenSet = false;
144 bool m_ewsProviderHasBeenSet = false;
145 bool m_lambdaProviderHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace WorkMail
150} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CreateAvailabilityConfigurationRequest & WithDomainName(DomainNameT &&value)
CreateAvailabilityConfigurationRequest & WithLambdaProvider(LambdaProviderT &&value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
CreateAvailabilityConfigurationRequest & WithOrganizationId(OrganizationIdT &&value)
CreateAvailabilityConfigurationRequest & WithClientToken(ClientTokenT &&value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAvailabilityConfigurationRequest & WithEwsProvider(EwsProviderT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String