AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = value; }
48 inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId = std::move(value); }
49 inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointIdHasBeenSet = true; m_licenseEndpointId.assign(value); }
51 inline LicenseEndpointSummary& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;}
52 inline LicenseEndpointSummary& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;}
54
56
59 inline const LicenseEndpointStatus& GetStatus() const{ return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 inline void SetStatus(const LicenseEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 inline void SetStatus(LicenseEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
63 inline LicenseEndpointSummary& WithStatus(const LicenseEndpointStatus& value) { SetStatus(value); return *this;}
64 inline LicenseEndpointSummary& WithStatus(LicenseEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
72 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
73 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
74 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
75 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
76 inline LicenseEndpointSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
77 inline LicenseEndpointSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
78 inline LicenseEndpointSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
80
82
85 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
86 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
87 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
88 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
89 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
90 inline LicenseEndpointSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
91 inline LicenseEndpointSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
92 inline LicenseEndpointSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;}
94 private:
95
96 Aws::String m_licenseEndpointId;
97 bool m_licenseEndpointIdHasBeenSet = false;
98
99 LicenseEndpointStatus m_status;
100 bool m_statusHasBeenSet = false;
101
102 Aws::String m_statusMessage;
103 bool m_statusMessageHasBeenSet = false;
104
105 Aws::String m_vpcId;
106 bool m_vpcIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace deadline
111} // namespace Aws
AWS_DEADLINE_API LicenseEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
LicenseEndpointSummary & WithLicenseEndpointId(const Aws::String &value)
LicenseEndpointSummary & WithStatus(LicenseEndpointStatus &&value)
void SetLicenseEndpointId(const Aws::String &value)
LicenseEndpointSummary & WithStatus(const LicenseEndpointStatus &value)
LicenseEndpointSummary & WithStatusMessage(const char *value)
LicenseEndpointSummary & WithVpcId(const Aws::String &value)
AWS_DEADLINE_API LicenseEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(LicenseEndpointStatus &&value)
const LicenseEndpointStatus & GetStatus() const
LicenseEndpointSummary & WithVpcId(Aws::String &&value)
LicenseEndpointSummary & WithLicenseEndpointId(Aws::String &&value)
LicenseEndpointSummary & WithStatusMessage(const Aws::String &value)
void SetStatus(const LicenseEndpointStatus &value)
LicenseEndpointSummary & WithLicenseEndpointId(const char *value)
LicenseEndpointSummary & WithVpcId(const char *value)
LicenseEndpointSummary & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue