AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DataAccessorAuthenticationDetail.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/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/DataAccessorAuthenticationConfiguration.h>
11#include <aws/qbusiness/model/DataAccessorAuthenticationType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness {
23namespace Model {
24
33 public:
34 AWS_QBUSINESS_API DataAccessorAuthenticationDetail() = default;
37 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
50 inline DataAccessorAuthenticationType GetAuthenticationType() const { return m_authenticationType; }
51 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
53 m_authenticationTypeHasBeenSet = true;
54 m_authenticationType = value;
55 }
58 return *this;
59 }
61
63
67 inline const DataAccessorAuthenticationConfiguration& GetAuthenticationConfiguration() const { return m_authenticationConfiguration; }
68 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
69 template <typename AuthenticationConfigurationT = DataAccessorAuthenticationConfiguration>
71 m_authenticationConfigurationHasBeenSet = true;
72 m_authenticationConfiguration = std::forward<AuthenticationConfigurationT>(value);
73 }
74 template <typename AuthenticationConfigurationT = DataAccessorAuthenticationConfiguration>
76 SetAuthenticationConfiguration(std::forward<AuthenticationConfigurationT>(value));
77 return *this;
78 }
80
82
87 inline const Aws::Vector<Aws::String>& GetExternalIds() const { return m_externalIds; }
88 inline bool ExternalIdsHasBeenSet() const { return m_externalIdsHasBeenSet; }
89 template <typename ExternalIdsT = Aws::Vector<Aws::String>>
91 m_externalIdsHasBeenSet = true;
92 m_externalIds = std::forward<ExternalIdsT>(value);
93 }
94 template <typename ExternalIdsT = Aws::Vector<Aws::String>>
96 SetExternalIds(std::forward<ExternalIdsT>(value));
97 return *this;
98 }
99 template <typename ExternalIdsT = Aws::String>
101 m_externalIdsHasBeenSet = true;
102 m_externalIds.emplace_back(std::forward<ExternalIdsT>(value));
103 return *this;
104 }
106 private:
108
109 DataAccessorAuthenticationConfiguration m_authenticationConfiguration;
110
111 Aws::Vector<Aws::String> m_externalIds;
112 bool m_authenticationTypeHasBeenSet = false;
113 bool m_authenticationConfigurationHasBeenSet = false;
114 bool m_externalIdsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QBusiness
119} // 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