AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
UpdateWorkspaceAuthenticationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/grafana/ManagedGrafanaRequest.h>
10#include <aws/grafana/ManagedGrafana_EXPORTS.h>
11#include <aws/grafana/model/AuthenticationProviderTypes.h>
12#include <aws/grafana/model/SamlConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace ManagedGrafana {
18namespace Model {
19
23 public:
24 AWS_MANAGEDGRAFANA_API UpdateWorkspaceAuthenticationRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkspaceAuthentication"; }
31
32 AWS_MANAGEDGRAFANA_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
39 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
40 template <typename WorkspaceIdT = Aws::String>
41 void SetWorkspaceId(WorkspaceIdT&& value) {
42 m_workspaceIdHasBeenSet = true;
43 m_workspaceId = std::forward<WorkspaceIdT>(value);
44 }
45 template <typename WorkspaceIdT = Aws::String>
47 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
48 return *this;
49 }
51
53
60 inline const Aws::Vector<AuthenticationProviderTypes>& GetAuthenticationProviders() const { return m_authenticationProviders; }
61 inline bool AuthenticationProvidersHasBeenSet() const { return m_authenticationProvidersHasBeenSet; }
62 template <typename AuthenticationProvidersT = Aws::Vector<AuthenticationProviderTypes>>
63 void SetAuthenticationProviders(AuthenticationProvidersT&& value) {
64 m_authenticationProvidersHasBeenSet = true;
65 m_authenticationProviders = std::forward<AuthenticationProvidersT>(value);
66 }
67 template <typename AuthenticationProvidersT = Aws::Vector<AuthenticationProviderTypes>>
69 SetAuthenticationProviders(std::forward<AuthenticationProvidersT>(value));
70 return *this;
71 }
73 m_authenticationProvidersHasBeenSet = true;
74 m_authenticationProviders.push_back(value);
75 return *this;
76 }
78
80
86 inline const SamlConfiguration& GetSamlConfiguration() const { return m_samlConfiguration; }
87 inline bool SamlConfigurationHasBeenSet() const { return m_samlConfigurationHasBeenSet; }
88 template <typename SamlConfigurationT = SamlConfiguration>
89 void SetSamlConfiguration(SamlConfigurationT&& value) {
90 m_samlConfigurationHasBeenSet = true;
91 m_samlConfiguration = std::forward<SamlConfigurationT>(value);
92 }
93 template <typename SamlConfigurationT = SamlConfiguration>
95 SetSamlConfiguration(std::forward<SamlConfigurationT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_workspaceId;
101
102 Aws::Vector<AuthenticationProviderTypes> m_authenticationProviders;
103
104 SamlConfiguration m_samlConfiguration;
105 bool m_workspaceIdHasBeenSet = false;
106 bool m_authenticationProvidersHasBeenSet = false;
107 bool m_samlConfigurationHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace ManagedGrafana
112} // 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