AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LicenseServer.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/license-manager-user-subscriptions/model/LicenseServerHealthStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager-user-subscriptions/model/LicenseServerEndpointProvisioningStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LicenseManagerUserSubscriptions
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServer() = default;
38 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServer(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServer& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline LicenseServerHealthStatus GetHealthStatus() const { return m_healthStatus; }
48 inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
49 inline void SetHealthStatus(LicenseServerHealthStatus value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
52
54
57 inline const Aws::String& GetIpv4Address() const { return m_ipv4Address; }
58 inline bool Ipv4AddressHasBeenSet() const { return m_ipv4AddressHasBeenSet; }
59 template<typename Ipv4AddressT = Aws::String>
60 void SetIpv4Address(Ipv4AddressT&& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = std::forward<Ipv4AddressT>(value); }
61 template<typename Ipv4AddressT = Aws::String>
62 LicenseServer& WithIpv4Address(Ipv4AddressT&& value) { SetIpv4Address(std::forward<Ipv4AddressT>(value)); return *this;}
64
66
69 inline LicenseServerEndpointProvisioningStatus GetProvisioningStatus() const { return m_provisioningStatus; }
70 inline bool ProvisioningStatusHasBeenSet() const { return m_provisioningStatusHasBeenSet; }
71 inline void SetProvisioningStatus(LicenseServerEndpointProvisioningStatus value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = value; }
74 private:
75
77 bool m_healthStatusHasBeenSet = false;
78
79 Aws::String m_ipv4Address;
80 bool m_ipv4AddressHasBeenSet = false;
81
83 bool m_provisioningStatusHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace LicenseManagerUserSubscriptions
88} // namespace Aws
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServer(Aws::Utils::Json::JsonView jsonValue)
void SetProvisioningStatus(LicenseServerEndpointProvisioningStatus value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServer()=default
LicenseServerEndpointProvisioningStatus GetProvisioningStatus() const
LicenseServer & WithProvisioningStatus(LicenseServerEndpointProvisioningStatus value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API LicenseServer & operator=(Aws::Utils::Json::JsonView jsonValue)
LicenseServer & WithIpv4Address(Ipv4AddressT &&value)
void SetHealthStatus(LicenseServerHealthStatus value)
LicenseServer & WithHealthStatus(LicenseServerHealthStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue