AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAttendeeRequestItem.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/chime/model/Tag.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 Chime
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetExternalUserId() const{ return m_externalUserId; }
49 inline bool ExternalUserIdHasBeenSet() const { return m_externalUserIdHasBeenSet; }
50 inline void SetExternalUserId(const Aws::String& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = value; }
51 inline void SetExternalUserId(Aws::String&& value) { m_externalUserIdHasBeenSet = true; m_externalUserId = std::move(value); }
52 inline void SetExternalUserId(const char* value) { m_externalUserIdHasBeenSet = true; m_externalUserId.assign(value); }
53 inline CreateAttendeeRequestItem& WithExternalUserId(const Aws::String& value) { SetExternalUserId(value); return *this;}
54 inline CreateAttendeeRequestItem& WithExternalUserId(Aws::String&& value) { SetExternalUserId(std::move(value)); return *this;}
55 inline CreateAttendeeRequestItem& WithExternalUserId(const char* value) { SetExternalUserId(value); return *this;}
57
59
62 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
63 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
64 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
65 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
66 inline CreateAttendeeRequestItem& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
67 inline CreateAttendeeRequestItem& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
68 inline CreateAttendeeRequestItem& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
69 inline CreateAttendeeRequestItem& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
71 private:
72
73 Aws::String m_externalUserId;
74 bool m_externalUserIdHasBeenSet = false;
75
76 Aws::Vector<Tag> m_tags;
77 bool m_tagsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Chime
82} // namespace Aws
CreateAttendeeRequestItem & WithExternalUserId(const char *value)
CreateAttendeeRequestItem & WithTags(const Aws::Vector< Tag > &value)
CreateAttendeeRequestItem & WithTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
CreateAttendeeRequestItem & AddTags(const Tag &value)
CreateAttendeeRequestItem & WithExternalUserId(Aws::String &&value)
AWS_CHIME_API CreateAttendeeRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateAttendeeRequestItem & AddTags(Tag &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
CreateAttendeeRequestItem & WithExternalUserId(const Aws::String &value)
AWS_CHIME_API CreateAttendeeRequestItem(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue