AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Delegate.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/MemberType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkMail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_WORKMAIL_API Delegate();
37 AWS_WORKMAIL_API Delegate(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKMAIL_API Delegate& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline Delegate& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline Delegate& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline Delegate& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const MemberType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const MemberType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(MemberType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline Delegate& WithType(const MemberType& value) { SetType(value); return *this;}
66 inline Delegate& WithType(MemberType&& value) { SetType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72
73 MemberType m_type;
74 bool m_typeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WorkMail
79} // namespace Aws
Delegate & WithType(MemberType &&value)
Definition Delegate.h:66
const MemberType & GetType() const
Definition Delegate.h:61
void SetId(Aws::String &&value)
Definition Delegate.h:50
void SetType(MemberType &&value)
Definition Delegate.h:64
void SetType(const MemberType &value)
Definition Delegate.h:63
Delegate & WithId(const Aws::String &value)
Definition Delegate.h:52
AWS_WORKMAIL_API Delegate()
Delegate & WithType(const MemberType &value)
Definition Delegate.h:65
void SetId(const Aws::String &value)
Definition Delegate.h:49
const Aws::String & GetId() const
Definition Delegate.h:47
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WORKMAIL_API Delegate(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
Definition Delegate.h:51
Delegate & WithId(Aws::String &&value)
Definition Delegate.h:53
Delegate & WithId(const char *value)
Definition Delegate.h:54
AWS_WORKMAIL_API Delegate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue