AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
46 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
47 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
49 inline TestAvailabilityConfigurationRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;}
50 inline TestAvailabilityConfigurationRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
52
54
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 TestAvailabilityConfigurationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
65 inline TestAvailabilityConfigurationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
67
69
70 inline const EwsAvailabilityProvider& GetEwsProvider() const{ return m_ewsProvider; }
71 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
72 inline void SetEwsProvider(const EwsAvailabilityProvider& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = value; }
73 inline void SetEwsProvider(EwsAvailabilityProvider&& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = std::move(value); }
77
79
80 inline const LambdaAvailabilityProvider& GetLambdaProvider() const{ return m_lambdaProvider; }
81 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
82 inline void SetLambdaProvider(const LambdaAvailabilityProvider& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = value; }
83 inline void SetLambdaProvider(LambdaAvailabilityProvider&& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = std::move(value); }
87 private:
88
89 Aws::String m_organizationId;
90 bool m_organizationIdHasBeenSet = false;
91
92 Aws::String m_domainName;
93 bool m_domainNameHasBeenSet = false;
94
95 EwsAvailabilityProvider m_ewsProvider;
96 bool m_ewsProviderHasBeenSet = false;
97
98 LambdaAvailabilityProvider m_lambdaProvider;
99 bool m_lambdaProviderHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace WorkMail
104} // namespace Aws
AWS_WORKMAIL_API Aws::String SerializePayload() const override
TestAvailabilityConfigurationRequest & WithOrganizationId(const Aws::String &value)
TestAvailabilityConfigurationRequest & WithDomainName(const Aws::String &value)
TestAvailabilityConfigurationRequest & WithOrganizationId(Aws::String &&value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestAvailabilityConfigurationRequest & WithLambdaProvider(const LambdaAvailabilityProvider &value)
TestAvailabilityConfigurationRequest & WithEwsProvider(const EwsAvailabilityProvider &value)
TestAvailabilityConfigurationRequest & WithOrganizationId(const char *value)
TestAvailabilityConfigurationRequest & WithLambdaProvider(LambdaAvailabilityProvider &&value)
TestAvailabilityConfigurationRequest & WithDomainName(const char *value)
TestAvailabilityConfigurationRequest & WithEwsProvider(EwsAvailabilityProvider &&value)
TestAvailabilityConfigurationRequest & WithDomainName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String