AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppInstance.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
34 {
35 public:
36 AWS_CHIME_API AppInstance();
37 AWS_CHIME_API AppInstance(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAppInstanceArn() const{ return m_appInstanceArn; }
47 inline bool AppInstanceArnHasBeenSet() const { return m_appInstanceArnHasBeenSet; }
48 inline void SetAppInstanceArn(const Aws::String& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = value; }
49 inline void SetAppInstanceArn(Aws::String&& value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn = std::move(value); }
50 inline void SetAppInstanceArn(const char* value) { m_appInstanceArnHasBeenSet = true; m_appInstanceArn.assign(value); }
51 inline AppInstance& WithAppInstanceArn(const Aws::String& value) { SetAppInstanceArn(value); return *this;}
52 inline AppInstance& WithAppInstanceArn(Aws::String&& value) { SetAppInstanceArn(std::move(value)); return *this;}
53 inline AppInstance& WithAppInstanceArn(const char* value) { SetAppInstanceArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline AppInstance& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline AppInstance& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline AppInstance& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetMetadata() const{ return m_metadata; }
75 inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
76 inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; }
77 inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
78 inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); }
79 inline AppInstance& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
80 inline AppInstance& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
81 inline AppInstance& WithMetadata(const char* value) { SetMetadata(value); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
90 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
91 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
92 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
93 inline AppInstance& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
94 inline AppInstance& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
96
98
102 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
103 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
104 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
105 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
107 inline AppInstance& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
109 private:
110
111 Aws::String m_appInstanceArn;
112 bool m_appInstanceArnHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_metadata;
118 bool m_metadataHasBeenSet = false;
119
120 Aws::Utils::DateTime m_createdTimestamp;
121 bool m_createdTimestampHasBeenSet = false;
122
123 Aws::Utils::DateTime m_lastUpdatedTimestamp;
124 bool m_lastUpdatedTimestampHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Chime
129} // namespace Aws
void SetMetadata(const char *value)
Definition AppInstance.h:78
AppInstance & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition AppInstance.h:94
AWS_CHIME_API AppInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAppInstanceArn(const char *value)
Definition AppInstance.h:50
AppInstance & WithAppInstanceArn(Aws::String &&value)
Definition AppInstance.h:52
bool AppInstanceArnHasBeenSet() const
Definition AppInstance.h:47
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
Definition AppInstance.h:63
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition AppInstance.h:92
bool CreatedTimestampHasBeenSet() const
Definition AppInstance.h:90
AppInstance & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
AppInstance & WithAppInstanceArn(const Aws::String &value)
Definition AppInstance.h:51
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
AppInstance & WithMetadata(const char *value)
Definition AppInstance.h:81
AppInstance & WithAppInstanceArn(const char *value)
Definition AppInstance.h:53
const Aws::String & GetMetadata() const
Definition AppInstance.h:74
AppInstance & WithName(const Aws::String &value)
Definition AppInstance.h:65
void SetMetadata(const Aws::String &value)
Definition AppInstance.h:76
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition AppInstance.h:91
AppInstance & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition AppInstance.h:93
void SetName(const Aws::String &value)
Definition AppInstance.h:62
void SetAppInstanceArn(Aws::String &&value)
Definition AppInstance.h:49
const Aws::String & GetAppInstanceArn() const
Definition AppInstance.h:46
void SetAppInstanceArn(const Aws::String &value)
Definition AppInstance.h:48
bool LastUpdatedTimestampHasBeenSet() const
AWS_CHIME_API AppInstance(Aws::Utils::Json::JsonView jsonValue)
AppInstance & WithName(Aws::String &&value)
Definition AppInstance.h:66
const Aws::String & GetName() const
Definition AppInstance.h:60
void SetMetadata(Aws::String &&value)
Definition AppInstance.h:77
AppInstance & WithMetadata(const Aws::String &value)
Definition AppInstance.h:79
AppInstance & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition AppInstance.h:89
AppInstance & WithName(const char *value)
Definition AppInstance.h:67
AppInstance & WithMetadata(Aws::String &&value)
Definition AppInstance.h:80
void SetName(const char *value)
Definition AppInstance.h:64
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue