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/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API UserSummary();
36 AWS_CONNECT_API UserSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline UserSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline UserSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline UserSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline UserSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline UserSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline UserSummary& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetUsername() const{ return m_username; }
74 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
75 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
76 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
77 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
78 inline UserSummary& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
79 inline UserSummary& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
80 inline UserSummary& WithUsername(const char* value) { SetUsername(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
88 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
89 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
90 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
91 inline UserSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
92 inline UserSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
100 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
101 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
102 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
103 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
104 inline UserSummary& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
105 inline UserSummary& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
106 inline UserSummary& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_username;
117 bool m_usernameHasBeenSet = false;
118
119 Aws::Utils::DateTime m_lastModifiedTime;
120 bool m_lastModifiedTimeHasBeenSet = false;
121
122 Aws::String m_lastModifiedRegion;
123 bool m_lastModifiedRegionHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
UserSummary & WithArn(const char *value)
Definition UserSummary.h:66
void SetUsername(Aws::String &&value)
Definition UserSummary.h:76
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UserSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition UserSummary.h:92
UserSummary & WithUsername(const char *value)
Definition UserSummary.h:80
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition UserSummary.h:90
UserSummary & WithId(Aws::String &&value)
Definition UserSummary.h:51
UserSummary & WithLastModifiedRegion(const Aws::String &value)
const Aws::String & GetArn() const
Definition UserSummary.h:59
void SetUsername(const char *value)
Definition UserSummary.h:77
const Aws::String & GetUsername() const
Definition UserSummary.h:73
AWS_CONNECT_API UserSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
Definition UserSummary.h:62
UserSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition UserSummary.h:91
void SetArn(const char *value)
Definition UserSummary.h:63
void SetLastModifiedRegion(const char *value)
UserSummary & WithArn(const Aws::String &value)
Definition UserSummary.h:64
UserSummary & WithUsername(Aws::String &&value)
Definition UserSummary.h:79
const Aws::String & GetLastModifiedRegion() const
Definition UserSummary.h:99
UserSummary & WithArn(Aws::String &&value)
Definition UserSummary.h:65
void SetArn(const Aws::String &value)
Definition UserSummary.h:61
UserSummary & WithId(const char *value)
Definition UserSummary.h:52
void SetId(Aws::String &&value)
Definition UserSummary.h:48
void SetLastModifiedRegion(const Aws::String &value)
void SetId(const char *value)
Definition UserSummary.h:49
UserSummary & WithLastModifiedRegion(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition UserSummary.h:87
const Aws::String & GetId() const
Definition UserSummary.h:45
void SetUsername(const Aws::String &value)
Definition UserSummary.h:75
UserSummary & WithId(const Aws::String &value)
Definition UserSummary.h:50
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition UserSummary.h:89
void SetLastModifiedRegion(Aws::String &&value)
void SetId(const Aws::String &value)
Definition UserSummary.h:47
AWS_CONNECT_API UserSummary(Aws::Utils::Json::JsonView jsonValue)
UserSummary & WithLastModifiedRegion(Aws::String &&value)
UserSummary & WithUsername(const Aws::String &value)
Definition UserSummary.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue