AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ReadAuthConfig.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ConnectionAuthType.h>
9#include <aws/quicksight/model/ReadAuthenticationMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API ReadAuthConfig() = default;
32 AWS_QUICKSIGHT_API ReadAuthConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API ReadAuthConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline ConnectionAuthType GetAuthenticationType() const { return m_authenticationType; }
42 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
44 m_authenticationTypeHasBeenSet = true;
45 m_authenticationType = value;
46 }
49 return *this;
50 }
52
54
58 inline const ReadAuthenticationMetadata& GetAuthenticationMetadata() const { return m_authenticationMetadata; }
59 inline bool AuthenticationMetadataHasBeenSet() const { return m_authenticationMetadataHasBeenSet; }
60 template <typename AuthenticationMetadataT = ReadAuthenticationMetadata>
61 void SetAuthenticationMetadata(AuthenticationMetadataT&& value) {
62 m_authenticationMetadataHasBeenSet = true;
63 m_authenticationMetadata = std::forward<AuthenticationMetadataT>(value);
64 }
65 template <typename AuthenticationMetadataT = ReadAuthenticationMetadata>
66 ReadAuthConfig& WithAuthenticationMetadata(AuthenticationMetadataT&& value) {
67 SetAuthenticationMetadata(std::forward<AuthenticationMetadataT>(value));
68 return *this;
69 }
71 private:
73
74 ReadAuthenticationMetadata m_authenticationMetadata;
75 bool m_authenticationTypeHasBeenSet = false;
76 bool m_authenticationMetadataHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
ConnectionAuthType GetAuthenticationType() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ReadAuthConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticationMetadata(AuthenticationMetadataT &&value)
void SetAuthenticationType(ConnectionAuthType value)
AWS_QUICKSIGHT_API ReadAuthConfig()=default
const ReadAuthenticationMetadata & GetAuthenticationMetadata() const
AWS_QUICKSIGHT_API ReadAuthConfig(Aws::Utils::Json::JsonView jsonValue)
ReadAuthConfig & WithAuthenticationMetadata(AuthenticationMetadataT &&value)
ReadAuthConfig & WithAuthenticationType(ConnectionAuthType value)
Aws::Utils::Json::JsonValue JsonValue