AWS SDK for C++

AWS SDK for C++ Version 1.11.693

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
42 inline const Aws::Vector<AuthenticationProviderTypes>& GetAuthenticationProviders() const { return m_authenticationProviders; }
43 inline bool AuthenticationProvidersHasBeenSet() const { return m_authenticationProvidersHasBeenSet; }
44 template <typename AuthenticationProvidersT = Aws::Vector<AuthenticationProviderTypes>>
45 void SetAuthenticationProviders(AuthenticationProvidersT&& value) {
46 m_authenticationProvidersHasBeenSet = true;
47 m_authenticationProviders = std::forward<AuthenticationProvidersT>(value);
48 }
49 template <typename AuthenticationProvidersT = Aws::Vector<AuthenticationProviderTypes>>
51 SetAuthenticationProviders(std::forward<AuthenticationProvidersT>(value));
52 return *this;
53 }
55 m_authenticationProvidersHasBeenSet = true;
56 m_authenticationProviders.push_back(value);
57 return *this;
58 }
60
62
68 inline const SamlConfiguration& GetSamlConfiguration() const { return m_samlConfiguration; }
69 inline bool SamlConfigurationHasBeenSet() const { return m_samlConfigurationHasBeenSet; }
70 template <typename SamlConfigurationT = SamlConfiguration>
71 void SetSamlConfiguration(SamlConfigurationT&& value) {
72 m_samlConfigurationHasBeenSet = true;
73 m_samlConfiguration = std::forward<SamlConfigurationT>(value);
74 }
75 template <typename SamlConfigurationT = SamlConfiguration>
77 SetSamlConfiguration(std::forward<SamlConfigurationT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
87 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
88 template <typename WorkspaceIdT = Aws::String>
89 void SetWorkspaceId(WorkspaceIdT&& value) {
90 m_workspaceIdHasBeenSet = true;
91 m_workspaceId = std::forward<WorkspaceIdT>(value);
92 }
93 template <typename WorkspaceIdT = Aws::String>
95 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
96 return *this;
97 }
99 private:
100 Aws::Vector<AuthenticationProviderTypes> m_authenticationProviders;
101 bool m_authenticationProvidersHasBeenSet = false;
102
103 SamlConfiguration m_samlConfiguration;
104 bool m_samlConfigurationHasBeenSet = false;
105
106 Aws::String m_workspaceId;
107 bool m_workspaceIdHasBeenSet = 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