AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataAccessor.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/DataAccessorAuthenticationDetail.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QBUSINESS_API DataAccessor() = default;
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDisplayName() const { return m_displayName; }
48 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
49 template<typename DisplayNameT = Aws::String>
50 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
51 template<typename DisplayNameT = Aws::String>
52 DataAccessor& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDataAccessorId() const { return m_dataAccessorId; }
60 inline bool DataAccessorIdHasBeenSet() const { return m_dataAccessorIdHasBeenSet; }
61 template<typename DataAccessorIdT = Aws::String>
62 void SetDataAccessorId(DataAccessorIdT&& value) { m_dataAccessorIdHasBeenSet = true; m_dataAccessorId = std::forward<DataAccessorIdT>(value); }
63 template<typename DataAccessorIdT = Aws::String>
64 DataAccessor& WithDataAccessorId(DataAccessorIdT&& value) { SetDataAccessorId(std::forward<DataAccessorIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDataAccessorArn() const { return m_dataAccessorArn; }
72 inline bool DataAccessorArnHasBeenSet() const { return m_dataAccessorArnHasBeenSet; }
73 template<typename DataAccessorArnT = Aws::String>
74 void SetDataAccessorArn(DataAccessorArnT&& value) { m_dataAccessorArnHasBeenSet = true; m_dataAccessorArn = std::forward<DataAccessorArnT>(value); }
75 template<typename DataAccessorArnT = Aws::String>
76 DataAccessor& WithDataAccessorArn(DataAccessorArnT&& value) { SetDataAccessorArn(std::forward<DataAccessorArnT>(value)); return *this;}
78
80
84 inline const Aws::String& GetIdcApplicationArn() const { return m_idcApplicationArn; }
85 inline bool IdcApplicationArnHasBeenSet() const { return m_idcApplicationArnHasBeenSet; }
86 template<typename IdcApplicationArnT = Aws::String>
87 void SetIdcApplicationArn(IdcApplicationArnT&& value) { m_idcApplicationArnHasBeenSet = true; m_idcApplicationArn = std::forward<IdcApplicationArnT>(value); }
88 template<typename IdcApplicationArnT = Aws::String>
89 DataAccessor& WithIdcApplicationArn(IdcApplicationArnT&& value) { SetIdcApplicationArn(std::forward<IdcApplicationArnT>(value)); return *this;}
91
93
97 inline const Aws::String& GetPrincipal() const { return m_principal; }
98 inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; }
99 template<typename PrincipalT = Aws::String>
100 void SetPrincipal(PrincipalT&& value) { m_principalHasBeenSet = true; m_principal = std::forward<PrincipalT>(value); }
101 template<typename PrincipalT = Aws::String>
102 DataAccessor& WithPrincipal(PrincipalT&& value) { SetPrincipal(std::forward<PrincipalT>(value)); return *this;}
104
106
111 inline const DataAccessorAuthenticationDetail& GetAuthenticationDetail() const { return m_authenticationDetail; }
112 inline bool AuthenticationDetailHasBeenSet() const { return m_authenticationDetailHasBeenSet; }
113 template<typename AuthenticationDetailT = DataAccessorAuthenticationDetail>
114 void SetAuthenticationDetail(AuthenticationDetailT&& value) { m_authenticationDetailHasBeenSet = true; m_authenticationDetail = std::forward<AuthenticationDetailT>(value); }
115 template<typename AuthenticationDetailT = DataAccessorAuthenticationDetail>
116 DataAccessor& WithAuthenticationDetail(AuthenticationDetailT&& value) { SetAuthenticationDetail(std::forward<AuthenticationDetailT>(value)); return *this;}
118
120
123 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
124 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
125 template<typename CreatedAtT = Aws::Utils::DateTime>
126 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
127 template<typename CreatedAtT = Aws::Utils::DateTime>
128 DataAccessor& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
136 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
137 template<typename UpdatedAtT = Aws::Utils::DateTime>
138 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
139 template<typename UpdatedAtT = Aws::Utils::DateTime>
140 DataAccessor& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
142 private:
143
144 Aws::String m_displayName;
145 bool m_displayNameHasBeenSet = false;
146
147 Aws::String m_dataAccessorId;
148 bool m_dataAccessorIdHasBeenSet = false;
149
150 Aws::String m_dataAccessorArn;
151 bool m_dataAccessorArnHasBeenSet = false;
152
153 Aws::String m_idcApplicationArn;
154 bool m_idcApplicationArnHasBeenSet = false;
155
156 Aws::String m_principal;
157 bool m_principalHasBeenSet = false;
158
159 DataAccessorAuthenticationDetail m_authenticationDetail;
160 bool m_authenticationDetailHasBeenSet = false;
161
162 Aws::Utils::DateTime m_createdAt{};
163 bool m_createdAtHasBeenSet = false;
164
165 Aws::Utils::DateTime m_updatedAt{};
166 bool m_updatedAtHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace QBusiness
171} // namespace Aws
DataAccessor & WithDataAccessorId(DataAccessorIdT &&value)
void SetAuthenticationDetail(AuthenticationDetailT &&value)
DataAccessor & WithDataAccessorArn(DataAccessorArnT &&value)
DataAccessor & WithIdcApplicationArn(IdcApplicationArnT &&value)
void SetIdcApplicationArn(IdcApplicationArnT &&value)
const Aws::String & GetDisplayName() const
void SetDataAccessorId(DataAccessorIdT &&value)
DataAccessor & WithAuthenticationDetail(AuthenticationDetailT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetDataAccessorArn(DataAccessorArnT &&value)
AWS_QBUSINESS_API DataAccessor(Aws::Utils::Json::JsonView jsonValue)
DataAccessor & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
DataAccessor & WithUpdatedAt(UpdatedAtT &&value)
AWS_QBUSINESS_API DataAccessor()=default
const Aws::String & GetDataAccessorArn() const
DataAccessor & WithPrincipal(PrincipalT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDataAccessorId() const
void SetDisplayName(DisplayNameT &&value)
DataAccessor & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetIdcApplicationArn() const
const Aws::String & GetPrincipal() const
AWS_QBUSINESS_API DataAccessor & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
const DataAccessorAuthenticationDetail & GetAuthenticationDetail() const
void SetPrincipal(PrincipalT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue