AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LicenseEndpointSummary.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/model/LicenseEndpointStatus.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 deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API LicenseEndpointSummary() = default;
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLicenseEndpointId() const { return m_licenseEndpointId; }
46 inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; }
47 template<typename LicenseEndpointIdT = Aws::String>
48 void SetLicenseEndpointId(LicenseEndpointIdT&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::forward<LicenseEndpointIdT>(value); }
49 template<typename LicenseEndpointIdT = Aws::String>
50 LicenseEndpointSummary& WithLicenseEndpointId(LicenseEndpointIdT&& value) { SetLicenseEndpointId(std::forward<LicenseEndpointIdT>(value)); return *this;}
52
54
57 inline LicenseEndpointStatus GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(LicenseEndpointStatus value) { m_statusHasBeenSet = true; m_status = value; }
60 inline LicenseEndpointSummary& WithStatus(LicenseEndpointStatus value) { SetStatus(value); return *this;}
62
64
67 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
68 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
69 template<typename StatusMessageT = Aws::String>
70 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
71 template<typename StatusMessageT = Aws::String>
72 LicenseEndpointSummary& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
74
76
79 inline const Aws::String& GetVpcId() const { return m_vpcId; }
80 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
81 template<typename VpcIdT = Aws::String>
82 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
83 template<typename VpcIdT = Aws::String>
84 LicenseEndpointSummary& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
86 private:
87
88 Aws::String m_licenseEndpointId;
89 bool m_licenseEndpointIdHasBeenSet = false;
90
92 bool m_statusHasBeenSet = false;
93
94 Aws::String m_statusMessage;
95 bool m_statusMessageHasBeenSet = false;
96
97 Aws::String m_vpcId;
98 bool m_vpcIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace deadline
103} // namespace Aws
AWS_DEADLINE_API LicenseEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
LicenseEndpointSummary & WithLicenseEndpointId(LicenseEndpointIdT &&value)
LicenseEndpointSummary & WithStatus(LicenseEndpointStatus value)
LicenseEndpointSummary & WithVpcId(VpcIdT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API LicenseEndpointSummary()=default
AWS_DEADLINE_API LicenseEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LicenseEndpointSummary & WithStatusMessage(StatusMessageT &&value)
void SetLicenseEndpointId(LicenseEndpointIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue