AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserSummary.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/model/ChangeType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MQ
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MQ_API UserSummary();
40
41
43
46 inline const ChangeType& GetPendingChange() const{ return m_pendingChange; }
47 inline bool PendingChangeHasBeenSet() const { return m_pendingChangeHasBeenSet; }
48 inline void SetPendingChange(const ChangeType& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = value; }
49 inline void SetPendingChange(ChangeType&& value) { m_pendingChangeHasBeenSet = true; m_pendingChange = std::move(value); }
50 inline UserSummary& WithPendingChange(const ChangeType& value) { SetPendingChange(value); return *this;}
51 inline UserSummary& WithPendingChange(ChangeType&& value) { SetPendingChange(std::move(value)); return *this;}
53
55
60 inline const Aws::String& GetUsername() const{ return m_username; }
61 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
62 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
63 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
64 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
65 inline UserSummary& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
66 inline UserSummary& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
67 inline UserSummary& WithUsername(const char* value) { SetUsername(value); return *this;}
69 private:
70
71 ChangeType m_pendingChange;
72 bool m_pendingChangeHasBeenSet = false;
73
74 Aws::String m_username;
75 bool m_usernameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace MQ
80} // namespace Aws
UserSummary & WithPendingChange(const ChangeType &value)
Definition UserSummary.h:50
bool PendingChangeHasBeenSet() const
Definition UserSummary.h:47
AWS_MQ_API UserSummary(Aws::Utils::Json::JsonView jsonValue)
UserSummary & WithPendingChange(ChangeType &&value)
Definition UserSummary.h:51
const ChangeType & GetPendingChange() const
Definition UserSummary.h:46
void SetUsername(Aws::String &&value)
Definition UserSummary.h:63
void SetUsername(const char *value)
Definition UserSummary.h:64
UserSummary & WithUsername(Aws::String &&value)
Definition UserSummary.h:66
bool UsernameHasBeenSet() const
Definition UserSummary.h:61
AWS_MQ_API UserSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
UserSummary & WithUsername(const Aws::String &value)
Definition UserSummary.h:65
const Aws::String & GetUsername() const
Definition UserSummary.h:60
void SetPendingChange(ChangeType &&value)
Definition UserSummary.h:49
void SetPendingChange(const ChangeType &value)
Definition UserSummary.h:48
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
UserSummary & WithUsername(const char *value)
Definition UserSummary.h:67
void SetUsername(const Aws::String &value)
Definition UserSummary.h:62
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue