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/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sso-admin/model/PortalOptions.h>
11#include <aws/sso-admin/model/ApplicationStatus.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 SSOAdmin
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SSOADMIN_API Application();
39 AWS_SSOADMIN_API Application(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SSOADMIN_API Application& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetApplicationAccount() const{ return m_applicationAccount; }
49 inline bool ApplicationAccountHasBeenSet() const { return m_applicationAccountHasBeenSet; }
50 inline void SetApplicationAccount(const Aws::String& value) { m_applicationAccountHasBeenSet = true; m_applicationAccount = value; }
51 inline void SetApplicationAccount(Aws::String&& value) { m_applicationAccountHasBeenSet = true; m_applicationAccount = std::move(value); }
52 inline void SetApplicationAccount(const char* value) { m_applicationAccountHasBeenSet = true; m_applicationAccount.assign(value); }
53 inline Application& WithApplicationAccount(const Aws::String& value) { SetApplicationAccount(value); return *this;}
54 inline Application& WithApplicationAccount(Aws::String&& value) { SetApplicationAccount(std::move(value)); return *this;}
55 inline Application& WithApplicationAccount(const char* value) { SetApplicationAccount(value); return *this;}
57
59
62 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
63 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
64 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
65 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
66 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
67 inline Application& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
68 inline Application& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
69 inline Application& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
71
73
76 inline const Aws::String& GetApplicationProviderArn() const{ return m_applicationProviderArn; }
77 inline bool ApplicationProviderArnHasBeenSet() const { return m_applicationProviderArnHasBeenSet; }
78 inline void SetApplicationProviderArn(const Aws::String& value) { m_applicationProviderArnHasBeenSet = true; m_applicationProviderArn = value; }
79 inline void SetApplicationProviderArn(Aws::String&& value) { m_applicationProviderArnHasBeenSet = true; m_applicationProviderArn = std::move(value); }
80 inline void SetApplicationProviderArn(const char* value) { m_applicationProviderArnHasBeenSet = true; m_applicationProviderArn.assign(value); }
81 inline Application& WithApplicationProviderArn(const Aws::String& value) { SetApplicationProviderArn(value); return *this;}
82 inline Application& WithApplicationProviderArn(Aws::String&& value) { SetApplicationProviderArn(std::move(value)); return *this;}
83 inline Application& WithApplicationProviderArn(const char* value) { SetApplicationProviderArn(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
91 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
92 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
93 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
94 inline Application& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
95 inline Application& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetDescription() const{ return m_description; }
103 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
104 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
105 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
106 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
107 inline Application& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 inline Application& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
109 inline Application& WithDescription(const char* value) { SetDescription(value); return *this;}
111
113
117 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
118 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
119 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
120 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
121 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
122 inline Application& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
123 inline Application& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
124 inline Application& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
126
128
131 inline const Aws::String& GetName() const{ return m_name; }
132 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
134 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
135 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
136 inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
137 inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
138 inline Application& WithName(const char* value) { SetName(value); return *this;}
140
142
146 inline const PortalOptions& GetPortalOptions() const{ return m_portalOptions; }
147 inline bool PortalOptionsHasBeenSet() const { return m_portalOptionsHasBeenSet; }
148 inline void SetPortalOptions(const PortalOptions& value) { m_portalOptionsHasBeenSet = true; m_portalOptions = value; }
149 inline void SetPortalOptions(PortalOptions&& value) { m_portalOptionsHasBeenSet = true; m_portalOptions = std::move(value); }
150 inline Application& WithPortalOptions(const PortalOptions& value) { SetPortalOptions(value); return *this;}
151 inline Application& WithPortalOptions(PortalOptions&& value) { SetPortalOptions(std::move(value)); return *this;}
153
155
159 inline const ApplicationStatus& GetStatus() const{ return m_status; }
160 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
161 inline void SetStatus(const ApplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
162 inline void SetStatus(ApplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
163 inline Application& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;}
164 inline Application& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
166 private:
167
168 Aws::String m_applicationAccount;
169 bool m_applicationAccountHasBeenSet = false;
170
171 Aws::String m_applicationArn;
172 bool m_applicationArnHasBeenSet = false;
173
174 Aws::String m_applicationProviderArn;
175 bool m_applicationProviderArnHasBeenSet = false;
176
177 Aws::Utils::DateTime m_createdDate;
178 bool m_createdDateHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::String m_instanceArn;
184 bool m_instanceArnHasBeenSet = false;
185
186 Aws::String m_name;
187 bool m_nameHasBeenSet = false;
188
189 PortalOptions m_portalOptions;
190 bool m_portalOptionsHasBeenSet = false;
191
192 ApplicationStatus m_status;
193 bool m_statusHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace SSOAdmin
198} // namespace Aws
const Aws::Utils::DateTime & GetCreatedDate() const
Definition Application.h:90
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition Application.h:93
Application & WithName(const char *value)
void SetName(const Aws::String &value)
Application & WithApplicationArn(Aws::String &&value)
Definition Application.h:68
Application & WithApplicationAccount(Aws::String &&value)
Definition Application.h:54
Application & WithName(Aws::String &&value)
void SetDescription(const char *value)
void SetApplicationProviderArn(const char *value)
Definition Application.h:80
Application & WithName(const Aws::String &value)
const ApplicationStatus & GetStatus() const
void SetInstanceArn(const char *value)
void SetApplicationArn(Aws::String &&value)
Definition Application.h:65
Application & WithPortalOptions(PortalOptions &&value)
AWS_SSOADMIN_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
Application & WithApplicationProviderArn(const char *value)
Definition Application.h:83
void SetDescription(Aws::String &&value)
Application & WithDescription(const char *value)
void SetApplicationArn(const Aws::String &value)
Definition Application.h:64
Application & WithInstanceArn(const char *value)
void SetPortalOptions(const PortalOptions &value)
const Aws::String & GetInstanceArn() const
const Aws::String & GetApplicationProviderArn() const
Definition Application.h:76
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition Application.h:92
Application & WithApplicationArn(const char *value)
Definition Application.h:69
void SetApplicationAccount(Aws::String &&value)
Definition Application.h:51
Application & WithApplicationProviderArn(const Aws::String &value)
Definition Application.h:81
void SetStatus(ApplicationStatus &&value)
const Aws::String & GetApplicationAccount() const
Definition Application.h:48
Application & WithApplicationAccount(const char *value)
Definition Application.h:55
Application & WithDescription(Aws::String &&value)
AWS_SSOADMIN_API Application(Aws::Utils::Json::JsonView jsonValue)
bool ApplicationProviderArnHasBeenSet() const
Definition Application.h:77
const Aws::String & GetName() const
void SetInstanceArn(Aws::String &&value)
void SetApplicationAccount(const char *value)
Definition Application.h:52
Application & WithPortalOptions(const PortalOptions &value)
void SetApplicationArn(const char *value)
Definition Application.h:66
void SetInstanceArn(const Aws::String &value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
Application & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition Application.h:95
void SetApplicationProviderArn(Aws::String &&value)
Definition Application.h:79
void SetDescription(const Aws::String &value)
const Aws::String & GetApplicationArn() const
Definition Application.h:62
const PortalOptions & GetPortalOptions() const
void SetName(Aws::String &&value)
const Aws::String & GetDescription() const
Application & WithInstanceArn(Aws::String &&value)
void SetApplicationAccount(const Aws::String &value)
Definition Application.h:50
Application & WithDescription(const Aws::String &value)
void SetStatus(const ApplicationStatus &value)
void SetName(const char *value)
Application & WithApplicationProviderArn(Aws::String &&value)
Definition Application.h:82
Application & WithStatus(ApplicationStatus &&value)
Application & WithApplicationAccount(const Aws::String &value)
Definition Application.h:53
void SetPortalOptions(PortalOptions &&value)
Application & WithStatus(const ApplicationStatus &value)
Application & WithApplicationArn(const Aws::String &value)
Definition Application.h:67
Application & WithInstanceArn(const Aws::String &value)
Application & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition Application.h:94
void SetApplicationProviderArn(const Aws::String &value)
Definition Application.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue