AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DataAccessorAuthenticationDetail.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/DataAccessorAuthenticationType.h>
9#include <aws/qbusiness/model/DataAccessorAuthenticationConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QBusiness
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_QBUSINESS_API DataAccessorAuthenticationDetail() = default;
42 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
56 inline DataAccessorAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
57 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
58 inline void SetAuthenticationType(DataAccessorAuthenticationType value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
61
63
67 inline const DataAccessorAuthenticationConfiguration& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
68 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
69 template<typename AuthenticationConfigurationT = DataAccessorAuthenticationConfiguration>
70 void SetAuthenticationConfiguration(AuthenticationConfigurationT&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value); }
71 template<typename AuthenticationConfigurationT = DataAccessorAuthenticationConfiguration>
72 DataAccessorAuthenticationDetail& WithAuthenticationConfiguration(AuthenticationConfigurationT&& value) { SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value)); return *this;}
74
76
81 inline const Aws::Vector<Aws::String>& GetExternalIds() const { return m_externalIds; }
82 inline bool ExternalIdsHasBeenSet() const { return m_externalIdsHasBeenSet; }
83 template<typename ExternalIdsT = Aws::Vector<Aws::String>>
84 void SetExternalIds(ExternalIdsT&& value) { m_externalIdsHasBeenSet = true; m_externalIds = std::forward<ExternalIdsT>(value); }
85 template<typename ExternalIdsT = Aws::Vector<Aws::String>>
86 DataAccessorAuthenticationDetail& WithExternalIds(ExternalIdsT&& value) { SetExternalIds(std::forward<ExternalIdsT>(value)); return *this;}
87 template<typename ExternalIdsT = Aws::String>
88 DataAccessorAuthenticationDetail& AddExternalIds(ExternalIdsT&& value) { m_externalIdsHasBeenSet = true; m_externalIds.emplace_back(std::forward<ExternalIdsT>(value)); return *this; }
90 private:
91
93 bool m_authenticationTypeHasBeenSet = false;
94
95 DataAccessorAuthenticationConfiguration m_authenticationConfiguration;
96 bool m_authenticationConfigurationHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_externalIds;
99 bool m_externalIdsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace QBusiness
104} // namespace Aws
AWS_QBUSINESS_API DataAccessorAuthenticationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticationConfiguration(AuthenticationConfigurationT &&value)
DataAccessorAuthenticationDetail & WithExternalIds(ExternalIdsT &&value)
const DataAccessorAuthenticationConfiguration & GetAuthenticationConfiguration() const
AWS_QBUSINESS_API DataAccessorAuthenticationDetail()=default
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
DataAccessorAuthenticationDetail & WithAuthenticationType(DataAccessorAuthenticationType value)
AWS_QBUSINESS_API DataAccessorAuthenticationDetail(Aws::Utils::Json::JsonView jsonValue)
DataAccessorAuthenticationDetail & AddExternalIds(ExternalIdsT &&value)
DataAccessorAuthenticationDetail & WithAuthenticationConfiguration(AuthenticationConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue