AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateWorkspaceAuthenticationRequest.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/ManagedGrafanaRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/grafana/model/SamlConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/grafana/model/AuthenticationProviderTypes.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ManagedGrafana
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_MANAGEDGRAFANA_API UpdateWorkspaceAuthenticationRequest() = 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 "UpdateWorkspaceAuthentication"; }
34
35 AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override;
36
37
39
46 inline const Aws::Vector<AuthenticationProviderTypes>& GetAuthenticationProviders() const { return m_authenticationProviders; }
47 inline bool AuthenticationProvidersHasBeenSet() const { return m_authenticationProvidersHasBeenSet; }
48 template<typename AuthenticationProvidersT = Aws::Vector<AuthenticationProviderTypes>>
49 void SetAuthenticationProviders(AuthenticationProvidersT&& value) { m_authenticationProvidersHasBeenSet = true; m_authenticationProviders = std::forward<AuthenticationProvidersT>(value); }
50 template<typename AuthenticationProvidersT = Aws::Vector<AuthenticationProviderTypes>>
51 UpdateWorkspaceAuthenticationRequest& WithAuthenticationProviders(AuthenticationProvidersT&& value) { SetAuthenticationProviders(std::forward<AuthenticationProvidersT>(value)); return *this;}
52 inline UpdateWorkspaceAuthenticationRequest& AddAuthenticationProviders(AuthenticationProviderTypes value) { m_authenticationProvidersHasBeenSet = true; m_authenticationProviders.push_back(value); return *this; }
54
56
62 inline const SamlConfiguration& GetSamlConfiguration() const { return m_samlConfiguration; }
63 inline bool SamlConfigurationHasBeenSet() const { return m_samlConfigurationHasBeenSet; }
64 template<typename SamlConfigurationT = SamlConfiguration>
65 void SetSamlConfiguration(SamlConfigurationT&& value) { m_samlConfigurationHasBeenSet = true; m_samlConfiguration = std::forward<SamlConfigurationT>(value); }
66 template<typename SamlConfigurationT = SamlConfiguration>
67 UpdateWorkspaceAuthenticationRequest& WithSamlConfiguration(SamlConfigurationT&& value) { SetSamlConfiguration(std::forward<SamlConfigurationT>(value)); return *this;}
69
71
74 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
75 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
76 template<typename WorkspaceIdT = Aws::String>
77 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
78 template<typename WorkspaceIdT = Aws::String>
79 UpdateWorkspaceAuthenticationRequest& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
81 private:
82
83 Aws::Vector<AuthenticationProviderTypes> m_authenticationProviders;
84 bool m_authenticationProvidersHasBeenSet = false;
85
86 SamlConfiguration m_samlConfiguration;
87 bool m_samlConfigurationHasBeenSet = false;
88
89 Aws::String m_workspaceId;
90 bool m_workspaceIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ManagedGrafana
95} // namespace Aws
const Aws::Vector< AuthenticationProviderTypes > & GetAuthenticationProviders() const
AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override
UpdateWorkspaceAuthenticationRequest & WithWorkspaceId(WorkspaceIdT &&value)
UpdateWorkspaceAuthenticationRequest & WithAuthenticationProviders(AuthenticationProvidersT &&value)
UpdateWorkspaceAuthenticationRequest & AddAuthenticationProviders(AuthenticationProviderTypes value)
UpdateWorkspaceAuthenticationRequest & WithSamlConfiguration(SamlConfigurationT &&value)
AWS_MANAGEDGRAFANA_API UpdateWorkspaceAuthenticationRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector