AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PutIdentityProviderConfigurationRequest.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/IdentityProviderAuthenticationMode.h>
11#include <aws/workmail/model/IdentityCenterConfiguration.h>
12#include <aws/workmail/model/PersonalAccessTokenConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace WorkMail
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_WORKMAIL_API PutIdentityProviderConfigurationRequest() = default;
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 "PutIdentityProviderConfiguration"; }
34
35 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
45 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
46 template<typename OrganizationIdT = Aws::String>
47 void SetOrganizationId(OrganizationIdT&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::forward<OrganizationIdT>(value); }
48 template<typename OrganizationIdT = Aws::String>
49 PutIdentityProviderConfigurationRequest& WithOrganizationId(OrganizationIdT&& value) { SetOrganizationId(std::forward<OrganizationIdT>(value)); return *this;}
51
53
56 inline IdentityProviderAuthenticationMode GetAuthenticationMode() const { return m_authenticationMode; }
57 inline bool AuthenticationModeHasBeenSet() const { return m_authenticationModeHasBeenSet; }
58 inline void SetAuthenticationMode(IdentityProviderAuthenticationMode value) { m_authenticationModeHasBeenSet = true; m_authenticationMode = value; }
61
63
66 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
67 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
68 template<typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
69 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) { m_identityCenterConfigurationHasBeenSet = true; m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value); }
70 template<typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
71 PutIdentityProviderConfigurationRequest& WithIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) { SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value)); return *this;}
73
75
78 inline const PersonalAccessTokenConfiguration& GetPersonalAccessTokenConfiguration() const { return m_personalAccessTokenConfiguration; }
79 inline bool PersonalAccessTokenConfigurationHasBeenSet() const { return m_personalAccessTokenConfigurationHasBeenSet; }
80 template<typename PersonalAccessTokenConfigurationT = PersonalAccessTokenConfiguration>
81 void SetPersonalAccessTokenConfiguration(PersonalAccessTokenConfigurationT&& value) { m_personalAccessTokenConfigurationHasBeenSet = true; m_personalAccessTokenConfiguration = std::forward<PersonalAccessTokenConfigurationT>(value); }
82 template<typename PersonalAccessTokenConfigurationT = PersonalAccessTokenConfiguration>
83 PutIdentityProviderConfigurationRequest& WithPersonalAccessTokenConfiguration(PersonalAccessTokenConfigurationT&& value) { SetPersonalAccessTokenConfiguration(std::forward<PersonalAccessTokenConfigurationT>(value)); return *this;}
85 private:
86
87 Aws::String m_organizationId;
88 bool m_organizationIdHasBeenSet = false;
89
91 bool m_authenticationModeHasBeenSet = false;
92
93 IdentityCenterConfiguration m_identityCenterConfiguration;
94 bool m_identityCenterConfigurationHasBeenSet = false;
95
96 PersonalAccessTokenConfiguration m_personalAccessTokenConfiguration;
97 bool m_personalAccessTokenConfigurationHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace WorkMail
102} // namespace Aws
const PersonalAccessTokenConfiguration & GetPersonalAccessTokenConfiguration() const
AWS_WORKMAIL_API Aws::String SerializePayload() const override
PutIdentityProviderConfigurationRequest & WithOrganizationId(OrganizationIdT &&value)
PutIdentityProviderConfigurationRequest & WithAuthenticationMode(IdentityProviderAuthenticationMode value)
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutIdentityProviderConfigurationRequest & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
PutIdentityProviderConfigurationRequest & WithPersonalAccessTokenConfiguration(PersonalAccessTokenConfigurationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String