AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Application.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qbusiness/model/ApplicationStatus.h>
11#include <aws/qbusiness/model/IdentityType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QBusiness
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QBUSINESS_API Application();
39 AWS_QBUSINESS_API Application(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QBUSINESS_API Application& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
49 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
50 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
51 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
52 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
53 inline Application& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
54 inline Application& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
55 inline Application& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
57
59
62 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
63 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
64 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
65 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
66 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
67 inline Application& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
68 inline Application& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 inline Application& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
77 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
78 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
79 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
80 inline Application& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
81 inline Application& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
90 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
91 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
92 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
93 inline Application& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
94 inline Application& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
96
98
102 inline const ApplicationStatus& GetStatus() const{ return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(const ApplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
105 inline void SetStatus(ApplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
106 inline Application& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;}
107 inline Application& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
109
111
114 inline const IdentityType& GetIdentityType() const{ return m_identityType; }
115 inline bool IdentityTypeHasBeenSet() const { return m_identityTypeHasBeenSet; }
116 inline void SetIdentityType(const IdentityType& value) { m_identityTypeHasBeenSet = true; m_identityType = value; }
117 inline void SetIdentityType(IdentityType&& value) { m_identityTypeHasBeenSet = true; m_identityType = std::move(value); }
118 inline Application& WithIdentityType(const IdentityType& value) { SetIdentityType(value); return *this;}
119 inline Application& WithIdentityType(IdentityType&& value) { SetIdentityType(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_displayName;
124 bool m_displayNameHasBeenSet = false;
125
126 Aws::String m_applicationId;
127 bool m_applicationIdHasBeenSet = false;
128
129 Aws::Utils::DateTime m_createdAt;
130 bool m_createdAtHasBeenSet = false;
131
132 Aws::Utils::DateTime m_updatedAt;
133 bool m_updatedAtHasBeenSet = false;
134
135 ApplicationStatus m_status;
136 bool m_statusHasBeenSet = false;
137
138 IdentityType m_identityType;
139 bool m_identityTypeHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace QBusiness
144} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Application.h:89
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
Application & WithIdentityType(IdentityType &&value)
AWS_QBUSINESS_API Application(Aws::Utils::Json::JsonView jsonValue)
Application & WithIdentityType(const IdentityType &value)
AWS_QBUSINESS_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDisplayName() const
Definition Application.h:48
Application & WithDisplayName(Aws::String &&value)
Definition Application.h:54
const IdentityType & GetIdentityType() const
void SetApplicationId(const char *value)
Definition Application.h:66
void SetApplicationId(const Aws::String &value)
Definition Application.h:64
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Application.h:91
void SetIdentityType(IdentityType &&value)
void SetDisplayName(const Aws::String &value)
Definition Application.h:50
const ApplicationStatus & GetStatus() const
Application & WithDisplayName(const Aws::String &value)
Definition Application.h:53
Application & WithApplicationId(const Aws::String &value)
Definition Application.h:67
Application & WithApplicationId(Aws::String &&value)
Definition Application.h:68
void SetStatus(ApplicationStatus &&value)
Application & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Application.h:80
Application & WithApplicationId(const char *value)
Definition Application.h:69
void SetIdentityType(const IdentityType &value)
Application & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Application.h:94
Application & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Application.h:93
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Application.h:78
const Aws::String & GetApplicationId() const
Definition Application.h:62
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Application.h:92
void SetDisplayName(const char *value)
Definition Application.h:52
Application & WithStatus(ApplicationStatus &&value)
Application & WithStatus(const ApplicationStatus &value)
void SetStatus(const ApplicationStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Application.h:76
void SetDisplayName(Aws::String &&value)
Definition Application.h:51
void SetApplicationId(Aws::String &&value)
Definition Application.h:65
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Application.h:79
Application & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Application.h:81
Application & WithDisplayName(const char *value)
Definition Application.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue