AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserAlias.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QBUSINESS_API UserAlias();
36 AWS_QBUSINESS_API UserAlias(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QBUSINESS_API UserAlias& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIndexId() const{ return m_indexId; }
46 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
47 inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; }
48 inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); }
49 inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); }
50 inline UserAlias& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;}
51 inline UserAlias& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;}
52 inline UserAlias& WithIndexId(const char* value) { SetIndexId(value); return *this;}
54
56
60 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
61 inline bool DataSourceIdHasBeenSet() const { return m_dataSourceIdHasBeenSet; }
62 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = value; }
63 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId = std::move(value); }
64 inline void SetDataSourceId(const char* value) { m_dataSourceIdHasBeenSet = true; m_dataSourceId.assign(value); }
65 inline UserAlias& WithDataSourceId(const Aws::String& value) { SetDataSourceId(value); return *this;}
66 inline UserAlias& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
67 inline UserAlias& WithDataSourceId(const char* value) { SetDataSourceId(value); return *this;}
69
71
74 inline const Aws::String& GetUserId() const{ return m_userId; }
75 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
76 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
77 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
78 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
79 inline UserAlias& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
80 inline UserAlias& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
81 inline UserAlias& WithUserId(const char* value) { SetUserId(value); return *this;}
83 private:
84
85 Aws::String m_indexId;
86 bool m_indexIdHasBeenSet = false;
87
88 Aws::String m_dataSourceId;
89 bool m_dataSourceIdHasBeenSet = false;
90
91 Aws::String m_userId;
92 bool m_userIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace QBusiness
97} // namespace Aws
UserAlias & WithIndexId(Aws::String &&value)
Definition UserAlias.h:51
UserAlias & WithDataSourceId(const Aws::String &value)
Definition UserAlias.h:65
UserAlias & WithDataSourceId(Aws::String &&value)
Definition UserAlias.h:66
UserAlias & WithDataSourceId(const char *value)
Definition UserAlias.h:67
UserAlias & WithUserId(const Aws::String &value)
Definition UserAlias.h:79
UserAlias & WithIndexId(const Aws::String &value)
Definition UserAlias.h:50
const Aws::String & GetUserId() const
Definition UserAlias.h:74
UserAlias & WithUserId(const char *value)
Definition UserAlias.h:81
AWS_QBUSINESS_API UserAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
UserAlias & WithIndexId(const char *value)
Definition UserAlias.h:52
AWS_QBUSINESS_API UserAlias()
AWS_QBUSINESS_API UserAlias(Aws::Utils::Json::JsonView jsonValue)
void SetDataSourceId(const char *value)
Definition UserAlias.h:64
void SetUserId(const Aws::String &value)
Definition UserAlias.h:76
void SetUserId(Aws::String &&value)
Definition UserAlias.h:77
const Aws::String & GetDataSourceId() const
Definition UserAlias.h:60
void SetDataSourceId(Aws::String &&value)
Definition UserAlias.h:63
void SetIndexId(const char *value)
Definition UserAlias.h:49
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIndexId(const Aws::String &value)
Definition UserAlias.h:47
void SetIndexId(Aws::String &&value)
Definition UserAlias.h:48
UserAlias & WithUserId(Aws::String &&value)
Definition UserAlias.h:80
void SetUserId(const char *value)
Definition UserAlias.h:78
void SetDataSourceId(const Aws::String &value)
Definition UserAlias.h:62
const Aws::String & GetIndexId() const
Definition UserAlias.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue