AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkSpaceApplication.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/workspaces/model/WorkSpaceApplicationLicenseType.h>
11#include <aws/workspaces/model/WorkSpaceApplicationState.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/workspaces/model/Compute.h>
14#include <aws/workspaces/model/OperatingSystemName.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace WorkSpaces
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_WORKSPACES_API WorkSpaceApplication();
41 AWS_WORKSPACES_API WorkSpaceApplication(Aws::Utils::Json::JsonView jsonValue);
43 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
51 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
52 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
53 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
54 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
55 inline WorkSpaceApplication& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
56 inline WorkSpaceApplication& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
57 inline WorkSpaceApplication& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
65 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
66 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
67 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
68 inline WorkSpaceApplication& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
69 inline WorkSpaceApplication& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline WorkSpaceApplication& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline WorkSpaceApplication& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline WorkSpaceApplication& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const WorkSpaceApplicationLicenseType& GetLicenseType() const{ return m_licenseType; }
91 inline bool LicenseTypeHasBeenSet() const { return m_licenseTypeHasBeenSet; }
92 inline void SetLicenseType(const WorkSpaceApplicationLicenseType& value) { m_licenseTypeHasBeenSet = true; m_licenseType = value; }
93 inline void SetLicenseType(WorkSpaceApplicationLicenseType&& value) { m_licenseTypeHasBeenSet = true; m_licenseType = std::move(value); }
95 inline WorkSpaceApplication& WithLicenseType(WorkSpaceApplicationLicenseType&& value) { SetLicenseType(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetName() const{ return m_name; }
103 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
104 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
105 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
106 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
107 inline WorkSpaceApplication& WithName(const Aws::String& value) { SetName(value); return *this;}
108 inline WorkSpaceApplication& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
109 inline WorkSpaceApplication& WithName(const char* value) { SetName(value); return *this;}
111
113
116 inline const Aws::String& GetOwner() const{ return m_owner; }
117 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
118 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
119 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
120 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
121 inline WorkSpaceApplication& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
122 inline WorkSpaceApplication& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
123 inline WorkSpaceApplication& WithOwner(const char* value) { SetOwner(value); return *this;}
125
127
130 inline const WorkSpaceApplicationState& GetState() const{ return m_state; }
131 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
132 inline void SetState(const WorkSpaceApplicationState& value) { m_stateHasBeenSet = true; m_state = value; }
133 inline void SetState(WorkSpaceApplicationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
134 inline WorkSpaceApplication& WithState(const WorkSpaceApplicationState& value) { SetState(value); return *this;}
135 inline WorkSpaceApplication& WithState(WorkSpaceApplicationState&& value) { SetState(std::move(value)); return *this;}
137
139
142 inline const Aws::Vector<Compute>& GetSupportedComputeTypeNames() const{ return m_supportedComputeTypeNames; }
143 inline bool SupportedComputeTypeNamesHasBeenSet() const { return m_supportedComputeTypeNamesHasBeenSet; }
144 inline void SetSupportedComputeTypeNames(const Aws::Vector<Compute>& value) { m_supportedComputeTypeNamesHasBeenSet = true; m_supportedComputeTypeNames = value; }
145 inline void SetSupportedComputeTypeNames(Aws::Vector<Compute>&& value) { m_supportedComputeTypeNamesHasBeenSet = true; m_supportedComputeTypeNames = std::move(value); }
148 inline WorkSpaceApplication& AddSupportedComputeTypeNames(const Compute& value) { m_supportedComputeTypeNamesHasBeenSet = true; m_supportedComputeTypeNames.push_back(value); return *this; }
149 inline WorkSpaceApplication& AddSupportedComputeTypeNames(Compute&& value) { m_supportedComputeTypeNamesHasBeenSet = true; m_supportedComputeTypeNames.push_back(std::move(value)); return *this; }
151
153
156 inline const Aws::Vector<OperatingSystemName>& GetSupportedOperatingSystemNames() const{ return m_supportedOperatingSystemNames; }
157 inline bool SupportedOperatingSystemNamesHasBeenSet() const { return m_supportedOperatingSystemNamesHasBeenSet; }
158 inline void SetSupportedOperatingSystemNames(const Aws::Vector<OperatingSystemName>& value) { m_supportedOperatingSystemNamesHasBeenSet = true; m_supportedOperatingSystemNames = value; }
159 inline void SetSupportedOperatingSystemNames(Aws::Vector<OperatingSystemName>&& value) { m_supportedOperatingSystemNamesHasBeenSet = true; m_supportedOperatingSystemNames = std::move(value); }
162 inline WorkSpaceApplication& AddSupportedOperatingSystemNames(const OperatingSystemName& value) { m_supportedOperatingSystemNamesHasBeenSet = true; m_supportedOperatingSystemNames.push_back(value); return *this; }
163 inline WorkSpaceApplication& AddSupportedOperatingSystemNames(OperatingSystemName&& value) { m_supportedOperatingSystemNamesHasBeenSet = true; m_supportedOperatingSystemNames.push_back(std::move(value)); return *this; }
165 private:
166
167 Aws::String m_applicationId;
168 bool m_applicationIdHasBeenSet = false;
169
170 Aws::Utils::DateTime m_created;
171 bool m_createdHasBeenSet = false;
172
173 Aws::String m_description;
174 bool m_descriptionHasBeenSet = false;
175
177 bool m_licenseTypeHasBeenSet = false;
178
179 Aws::String m_name;
180 bool m_nameHasBeenSet = false;
181
182 Aws::String m_owner;
183 bool m_ownerHasBeenSet = false;
184
186 bool m_stateHasBeenSet = false;
187
188 Aws::Vector<Compute> m_supportedComputeTypeNames;
189 bool m_supportedComputeTypeNamesHasBeenSet = false;
190
191 Aws::Vector<OperatingSystemName> m_supportedOperatingSystemNames;
192 bool m_supportedOperatingSystemNamesHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace WorkSpaces
197} // namespace Aws
void SetSupportedOperatingSystemNames(Aws::Vector< OperatingSystemName > &&value)
WorkSpaceApplication & AddSupportedComputeTypeNames(Compute &&value)
void SetCreated(Aws::Utils::DateTime &&value)
WorkSpaceApplication & WithSupportedComputeTypeNames(Aws::Vector< Compute > &&value)
void SetCreated(const Aws::Utils::DateTime &value)
WorkSpaceApplication & WithDescription(const Aws::String &value)
WorkSpaceApplication & WithLicenseType(WorkSpaceApplicationLicenseType &&value)
const Aws::Vector< OperatingSystemName > & GetSupportedOperatingSystemNames() const
WorkSpaceApplication & AddSupportedOperatingSystemNames(OperatingSystemName &&value)
WorkSpaceApplication & WithDescription(Aws::String &&value)
WorkSpaceApplication & WithName(const char *value)
WorkSpaceApplication & AddSupportedOperatingSystemNames(const OperatingSystemName &value)
WorkSpaceApplication & WithSupportedComputeTypeNames(const Aws::Vector< Compute > &value)
WorkSpaceApplication & WithCreated(Aws::Utils::DateTime &&value)
WorkSpaceApplication & WithName(const Aws::String &value)
AWS_WORKSPACES_API WorkSpaceApplication & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLicenseType(const WorkSpaceApplicationLicenseType &value)
WorkSpaceApplication & WithDescription(const char *value)
WorkSpaceApplication & WithApplicationId(const char *value)
void SetApplicationId(const Aws::String &value)
void SetState(WorkSpaceApplicationState &&value)
WorkSpaceApplication & WithCreated(const Aws::Utils::DateTime &value)
const WorkSpaceApplicationLicenseType & GetLicenseType() const
AWS_WORKSPACES_API WorkSpaceApplication(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSupportedComputeTypeNames(Aws::Vector< Compute > &&value)
WorkSpaceApplication & AddSupportedComputeTypeNames(const Compute &value)
void SetSupportedComputeTypeNames(const Aws::Vector< Compute > &value)
WorkSpaceApplication & WithApplicationId(Aws::String &&value)
WorkSpaceApplication & WithSupportedOperatingSystemNames(const Aws::Vector< OperatingSystemName > &value)
WorkSpaceApplication & WithSupportedOperatingSystemNames(Aws::Vector< OperatingSystemName > &&value)
const Aws::Vector< Compute > & GetSupportedComputeTypeNames() const
WorkSpaceApplication & WithOwner(const Aws::String &value)
void SetSupportedOperatingSystemNames(const Aws::Vector< OperatingSystemName > &value)
WorkSpaceApplication & WithOwner(Aws::String &&value)
WorkSpaceApplication & WithLicenseType(const WorkSpaceApplicationLicenseType &value)
WorkSpaceApplication & WithState(const WorkSpaceApplicationState &value)
void SetLicenseType(WorkSpaceApplicationLicenseType &&value)
void SetState(const WorkSpaceApplicationState &value)
WorkSpaceApplication & WithOwner(const char *value)
const WorkSpaceApplicationState & GetState() const
WorkSpaceApplication & WithApplicationId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreated() const
WorkSpaceApplication & WithState(WorkSpaceApplicationState &&value)
WorkSpaceApplication & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue