AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
LicenseEndpointSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/LicenseEndpointStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace deadline {
21namespace Model {
22
29 public:
30 AWS_DEADLINE_API LicenseEndpointSummary() = default;
33 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLicenseEndpointId() const { return m_licenseEndpointId; }
40 inline bool LicenseEndpointIdHasBeenSet() const { return m_licenseEndpointIdHasBeenSet; }
41 template <typename LicenseEndpointIdT = Aws::String>
42 void SetLicenseEndpointId(LicenseEndpointIdT&& value) {
43 m_licenseEndpointIdHasBeenSet = true;
44 m_licenseEndpointId = std::forward<LicenseEndpointIdT>(value);
45 }
46 template <typename LicenseEndpointIdT = Aws::String>
47 LicenseEndpointSummary& WithLicenseEndpointId(LicenseEndpointIdT&& value) {
48 SetLicenseEndpointId(std::forward<LicenseEndpointIdT>(value));
49 return *this;
50 }
52
54
57 inline LicenseEndpointStatus GetStatus() const { return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(LicenseEndpointStatus value) {
60 m_statusHasBeenSet = true;
61 m_status = value;
62 }
64 SetStatus(value);
65 return *this;
66 }
68
70
73 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
74 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
75 template <typename StatusMessageT = Aws::String>
76 void SetStatusMessage(StatusMessageT&& value) {
77 m_statusMessageHasBeenSet = true;
78 m_statusMessage = std::forward<StatusMessageT>(value);
79 }
80 template <typename StatusMessageT = Aws::String>
81 LicenseEndpointSummary& WithStatusMessage(StatusMessageT&& value) {
82 SetStatusMessage(std::forward<StatusMessageT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetVpcId() const { return m_vpcId; }
92 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
93 template <typename VpcIdT = Aws::String>
94 void SetVpcId(VpcIdT&& value) {
95 m_vpcIdHasBeenSet = true;
96 m_vpcId = std::forward<VpcIdT>(value);
97 }
98 template <typename VpcIdT = Aws::String>
100 SetVpcId(std::forward<VpcIdT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_licenseEndpointId;
106
108
109 Aws::String m_statusMessage;
110
111 Aws::String m_vpcId;
112 bool m_licenseEndpointIdHasBeenSet = false;
113 bool m_statusHasBeenSet = false;
114 bool m_statusMessageHasBeenSet = false;
115 bool m_vpcIdHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace deadline
120} // 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