AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UserUnion.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_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 ConnectCases
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECTCASES_API UserUnion() = default;
36 AWS_CONNECTCASES_API UserUnion(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTCASES_API UserUnion& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCustomEntity() const { return m_customEntity; }
46 inline bool CustomEntityHasBeenSet() const { return m_customEntityHasBeenSet; }
47 template<typename CustomEntityT = Aws::String>
48 void SetCustomEntity(CustomEntityT&& value) { m_customEntityHasBeenSet = true; m_customEntity = std::forward<CustomEntityT>(value); }
49 template<typename CustomEntityT = Aws::String>
50 UserUnion& WithCustomEntity(CustomEntityT&& value) { SetCustomEntity(std::forward<CustomEntityT>(value)); return *this;}
52
54
57 inline const Aws::String& GetUserArn() const { return m_userArn; }
58 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
59 template<typename UserArnT = Aws::String>
60 void SetUserArn(UserArnT&& value) { m_userArnHasBeenSet = true; m_userArn = std::forward<UserArnT>(value); }
61 template<typename UserArnT = Aws::String>
62 UserUnion& WithUserArn(UserArnT&& value) { SetUserArn(std::forward<UserArnT>(value)); return *this;}
64 private:
65
66 Aws::String m_customEntity;
67 bool m_customEntityHasBeenSet = false;
68
69 Aws::String m_userArn;
70 bool m_userArnHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ConnectCases
75} // namespace Aws
void SetUserArn(UserArnT &&value)
Definition UserUnion.h:60
const Aws::String & GetCustomEntity() const
Definition UserUnion.h:45
const Aws::String & GetUserArn() const
Definition UserUnion.h:57
void SetCustomEntity(CustomEntityT &&value)
Definition UserUnion.h:48
AWS_CONNECTCASES_API UserUnion & operator=(Aws::Utils::Json::JsonView jsonValue)
UserUnion & WithUserArn(UserArnT &&value)
Definition UserUnion.h:62
AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTCASES_API UserUnion(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTCASES_API UserUnion()=default
UserUnion & WithCustomEntity(CustomEntityT &&value)
Definition UserUnion.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue