AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAvailabilityConfigurationRequest.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#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace WorkMail
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateAvailabilityConfiguration"; }
34
35 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
46 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
47 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
48 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
49 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline CreateAvailabilityConfigurationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
52 inline CreateAvailabilityConfigurationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
54
56
60 inline const Aws::String& GetOrganizationId() const{ return m_organizationId; }
61 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
62 inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; }
63 inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); }
64 inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); }
67 inline CreateAvailabilityConfigurationRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;}
69
71
74 inline const Aws::String& GetDomainName() const{ return m_domainName; }
75 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
76 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
77 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
78 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
80 inline CreateAvailabilityConfigurationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
81 inline CreateAvailabilityConfigurationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
83
85
90 inline const EwsAvailabilityProvider& GetEwsProvider() const{ return m_ewsProvider; }
91 inline bool EwsProviderHasBeenSet() const { return m_ewsProviderHasBeenSet; }
92 inline void SetEwsProvider(const EwsAvailabilityProvider& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = value; }
93 inline void SetEwsProvider(EwsAvailabilityProvider&& value) { m_ewsProviderHasBeenSet = true; m_ewsProvider = std::move(value); }
97
99
104 inline const LambdaAvailabilityProvider& GetLambdaProvider() const{ return m_lambdaProvider; }
105 inline bool LambdaProviderHasBeenSet() const { return m_lambdaProviderHasBeenSet; }
106 inline void SetLambdaProvider(const LambdaAvailabilityProvider& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = value; }
107 inline void SetLambdaProvider(LambdaAvailabilityProvider&& value) { m_lambdaProviderHasBeenSet = true; m_lambdaProvider = std::move(value); }
111 private:
112
113 Aws::String m_clientToken;
114 bool m_clientTokenHasBeenSet = false;
115
116 Aws::String m_organizationId;
117 bool m_organizationIdHasBeenSet = false;
118
119 Aws::String m_domainName;
120 bool m_domainNameHasBeenSet = false;
121
122 EwsAvailabilityProvider m_ewsProvider;
123 bool m_ewsProviderHasBeenSet = false;
124
125 LambdaAvailabilityProvider m_lambdaProvider;
126 bool m_lambdaProviderHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace WorkMail
131} // namespace Aws
CreateAvailabilityConfigurationRequest & WithEwsProvider(EwsAvailabilityProvider &&value)
CreateAvailabilityConfigurationRequest & WithLambdaProvider(LambdaAvailabilityProvider &&value)
CreateAvailabilityConfigurationRequest & WithDomainName(const char *value)
CreateAvailabilityConfigurationRequest & WithClientToken(Aws::String &&value)
CreateAvailabilityConfigurationRequest & WithOrganizationId(const char *value)
CreateAvailabilityConfigurationRequest & WithClientToken(const Aws::String &value)
CreateAvailabilityConfigurationRequest & WithDomainName(Aws::String &&value)
AWS_WORKMAIL_API Aws::String SerializePayload() const override
CreateAvailabilityConfigurationRequest & WithEwsProvider(const EwsAvailabilityProvider &value)
CreateAvailabilityConfigurationRequest & WithLambdaProvider(const LambdaAvailabilityProvider &value)
CreateAvailabilityConfigurationRequest & WithOrganizationId(const Aws::String &value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAvailabilityConfigurationRequest & WithOrganizationId(Aws::String &&value)
CreateAvailabilityConfigurationRequest & WithDomainName(const Aws::String &value)
CreateAvailabilityConfigurationRequest & WithClientToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String