AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAuthenticationProviders(const Aws::Vector<AuthenticationProviderTypes>& value) { m_authenticationProvidersHasBeenSet = true; m_authenticationProviders = value; }
49 inline void SetAuthenticationProviders(Aws::Vector<AuthenticationProviderTypes>&& value) { m_authenticationProvidersHasBeenSet = true; m_authenticationProviders = std::move(value); }
52 inline UpdateWorkspaceAuthenticationRequest& AddAuthenticationProviders(const AuthenticationProviderTypes& value) { m_authenticationProvidersHasBeenSet = true; m_authenticationProviders.push_back(value); return *this; }
53 inline UpdateWorkspaceAuthenticationRequest& AddAuthenticationProviders(AuthenticationProviderTypes&& value) { m_authenticationProvidersHasBeenSet = true; m_authenticationProviders.push_back(std::move(value)); return *this; }
55
57
63 inline const SamlConfiguration& GetSamlConfiguration() const{ return m_samlConfiguration; }
64 inline bool SamlConfigurationHasBeenSet() const { return m_samlConfigurationHasBeenSet; }
65 inline void SetSamlConfiguration(const SamlConfiguration& value) { m_samlConfigurationHasBeenSet = true; m_samlConfiguration = value; }
66 inline void SetSamlConfiguration(SamlConfiguration&& value) { m_samlConfigurationHasBeenSet = true; m_samlConfiguration = std::move(value); }
70
72
75 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
76 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
77 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
78 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
79 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
81 inline UpdateWorkspaceAuthenticationRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
82 inline UpdateWorkspaceAuthenticationRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
84 private:
85
86 Aws::Vector<AuthenticationProviderTypes> m_authenticationProviders;
87 bool m_authenticationProvidersHasBeenSet = false;
88
89 SamlConfiguration m_samlConfiguration;
90 bool m_samlConfigurationHasBeenSet = false;
91
92 Aws::String m_workspaceId;
93 bool m_workspaceIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ManagedGrafana
98} // namespace Aws
UpdateWorkspaceAuthenticationRequest & WithAuthenticationProviders(const Aws::Vector< AuthenticationProviderTypes > &value)
UpdateWorkspaceAuthenticationRequest & AddAuthenticationProviders(const AuthenticationProviderTypes &value)
UpdateWorkspaceAuthenticationRequest & WithAuthenticationProviders(Aws::Vector< AuthenticationProviderTypes > &&value)
const Aws::Vector< AuthenticationProviderTypes > & GetAuthenticationProviders() const
void SetAuthenticationProviders(const Aws::Vector< AuthenticationProviderTypes > &value)
AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override
UpdateWorkspaceAuthenticationRequest & WithWorkspaceId(const char *value)
UpdateWorkspaceAuthenticationRequest & AddAuthenticationProviders(AuthenticationProviderTypes &&value)
UpdateWorkspaceAuthenticationRequest & WithSamlConfiguration(SamlConfiguration &&value)
UpdateWorkspaceAuthenticationRequest & WithSamlConfiguration(const SamlConfiguration &value)
void SetAuthenticationProviders(Aws::Vector< AuthenticationProviderTypes > &&value)
UpdateWorkspaceAuthenticationRequest & WithWorkspaceId(Aws::String &&value)
UpdateWorkspaceAuthenticationRequest & WithWorkspaceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector