AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppInstanceUser.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/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 Chime
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CHIME_API AppInstanceUser();
38 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAppInstanceUserArn() const{ return m_appInstanceUserArn; }
46 inline bool AppInstanceUserArnHasBeenSet() const { return m_appInstanceUserArnHasBeenSet; }
47 inline void SetAppInstanceUserArn(const Aws::String& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = value; }
48 inline void SetAppInstanceUserArn(Aws::String&& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = std::move(value); }
49 inline void SetAppInstanceUserArn(const char* value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn.assign(value); }
50 inline AppInstanceUser& WithAppInstanceUserArn(const Aws::String& value) { SetAppInstanceUserArn(value); return *this;}
51 inline AppInstanceUser& WithAppInstanceUserArn(Aws::String&& value) { SetAppInstanceUserArn(std::move(value)); return *this;}
52 inline AppInstanceUser& WithAppInstanceUserArn(const char* value) { SetAppInstanceUserArn(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline AppInstanceUser& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline AppInstanceUser& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline AppInstanceUser& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
74 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
75 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
76 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
78 inline AppInstanceUser& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetMetadata() const{ return m_metadata; }
86 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
87 inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; }
88 inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
89 inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); }
90 inline AppInstanceUser& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
91 inline AppInstanceUser& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
92 inline AppInstanceUser& WithMetadata(const char* value) { SetMetadata(value); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
100 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
101 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
102 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
106 private:
107
108 Aws::String m_appInstanceUserArn;
109 bool m_appInstanceUserArnHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::Utils::DateTime m_createdTimestamp;
115 bool m_createdTimestampHasBeenSet = false;
116
117 Aws::String m_metadata;
118 bool m_metadataHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdatedTimestamp;
121 bool m_lastUpdatedTimestampHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Chime
126} // namespace Aws
void SetName(const char *value)
AppInstanceUser & WithName(const Aws::String &value)
AppInstanceUser & WithMetadata(Aws::String &&value)
AppInstanceUser & WithName(const char *value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
AppInstanceUser & WithAppInstanceUserArn(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
AWS_CHIME_API AppInstanceUser(Aws::Utils::Json::JsonView jsonValue)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAppInstanceUserArn(Aws::String &&value)
AppInstanceUser & WithAppInstanceUserArn(Aws::String &&value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
AppInstanceUser & WithMetadata(const char *value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetMetadata(Aws::String &&value)
AppInstanceUser & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
AppInstanceUser & WithAppInstanceUserArn(const Aws::String &value)
AppInstanceUser & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
AppInstanceUser & WithMetadata(const Aws::String &value)
const Aws::String & GetName() const
void SetAppInstanceUserArn(const char *value)
void SetMetadata(const char *value)
void SetAppInstanceUserArn(const Aws::String &value)
AppInstanceUser & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
AWS_CHIME_API AppInstanceUser & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
const Aws::String & GetAppInstanceUserArn() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
AppInstanceUser & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetMetadata() const
AppInstanceUser & WithName(Aws::String &&value)
void SetMetadata(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue