AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LicenseServerSettings.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/license-manager-user-subscriptions/model/ServerSettings.h>
9#include <aws/license-manager-user-subscriptions/model/ServerType.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 LicenseManagerUserSubscriptions
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServerSettings() = default;
36 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServerSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServerSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const ServerSettings& GetServerSettings() const { return m_serverSettings; }
47 inline bool ServerSettingsHasBeenSet() const { return m_serverSettingsHasBeenSet; }
48 template<typename ServerSettingsT = ServerSettings>
49 void SetServerSettings(ServerSettingsT&& value) { m_serverSettingsHasBeenSet = true; m_serverSettings = std::forward<ServerSettingsT>(value); }
50 template<typename ServerSettingsT = ServerSettings>
51 LicenseServerSettings& WithServerSettings(ServerSettingsT&& value) { SetServerSettings(std::forward<ServerSettingsT>(value)); return *this;}
53
55
58 inline ServerType GetServerType() const { return m_serverType; }
59 inline bool ServerTypeHasBeenSet() const { return m_serverTypeHasBeenSet; }
60 inline void SetServerType(ServerType value) { m_serverTypeHasBeenSet = true; m_serverType = value; }
61 inline LicenseServerSettings& WithServerType(ServerType value) { SetServerType(value); return *this;}
63 private:
64
65 ServerSettings m_serverSettings;
66 bool m_serverSettingsHasBeenSet = false;
67
68 ServerType m_serverType{ServerType::NOT_SET};
69 bool m_serverTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace LicenseManagerUserSubscriptions
74} // namespace Aws
LicenseServerSettings & WithServerSettings(ServerSettingsT &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServerSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServerSettings()=default
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServerSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue