AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLicenseEndpointResult.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace deadline
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DEADLINE_API GetLicenseEndpointResult();
35
36
38
41 inline const Aws::String& GetLicenseEndpointId() const{ return m_licenseEndpointId; }
42 inline void SetLicenseEndpointId(const Aws::String& value) { m_licenseEndpointId = value; }
43 inline void SetLicenseEndpointId(Aws::String&& value) { m_licenseEndpointId = std::move(value); }
44 inline void SetLicenseEndpointId(const char* value) { m_licenseEndpointId.assign(value); }
46 inline GetLicenseEndpointResult& WithLicenseEndpointId(Aws::String&& value) { SetLicenseEndpointId(std::move(value)); return *this;}
47 inline GetLicenseEndpointResult& WithLicenseEndpointId(const char* value) { SetLicenseEndpointId(value); return *this;}
49
51
54 inline const LicenseEndpointStatus& GetStatus() const{ return m_status; }
55 inline void SetStatus(const LicenseEndpointStatus& value) { m_status = value; }
56 inline void SetStatus(LicenseEndpointStatus&& value) { m_status = std::move(value); }
57 inline GetLicenseEndpointResult& WithStatus(const LicenseEndpointStatus& value) { SetStatus(value); return *this;}
58 inline GetLicenseEndpointResult& WithStatus(LicenseEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
66 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
67 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
68 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
69 inline GetLicenseEndpointResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
70 inline GetLicenseEndpointResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
71 inline GetLicenseEndpointResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
73
75
78 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
79 inline void SetVpcId(const Aws::String& value) { m_vpcId = value; }
80 inline void SetVpcId(Aws::String&& value) { m_vpcId = std::move(value); }
81 inline void SetVpcId(const char* value) { m_vpcId.assign(value); }
82 inline GetLicenseEndpointResult& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
83 inline GetLicenseEndpointResult& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
84 inline GetLicenseEndpointResult& WithVpcId(const char* value) { SetVpcId(value); return *this;}
86
88
91 inline const Aws::String& GetDnsName() const{ return m_dnsName; }
92 inline void SetDnsName(const Aws::String& value) { m_dnsName = value; }
93 inline void SetDnsName(Aws::String&& value) { m_dnsName = std::move(value); }
94 inline void SetDnsName(const char* value) { m_dnsName.assign(value); }
95 inline GetLicenseEndpointResult& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
96 inline GetLicenseEndpointResult& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
97 inline GetLicenseEndpointResult& WithDnsName(const char* value) { SetDnsName(value); return *this;}
99
101
104 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
105 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIds = value; }
106 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIds = std::move(value); }
108 inline GetLicenseEndpointResult& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
109 inline GetLicenseEndpointResult& AddSubnetIds(const Aws::String& value) { m_subnetIds.push_back(value); return *this; }
110 inline GetLicenseEndpointResult& AddSubnetIds(Aws::String&& value) { m_subnetIds.push_back(std::move(value)); return *this; }
111 inline GetLicenseEndpointResult& AddSubnetIds(const char* value) { m_subnetIds.push_back(value); return *this; }
113
115
118 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
119 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIds = value; }
120 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIds = std::move(value); }
123 inline GetLicenseEndpointResult& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIds.push_back(value); return *this; }
124 inline GetLicenseEndpointResult& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIds.push_back(std::move(value)); return *this; }
125 inline GetLicenseEndpointResult& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; }
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline GetLicenseEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline GetLicenseEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline GetLicenseEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_licenseEndpointId;
141
142 LicenseEndpointStatus m_status;
143
144 Aws::String m_statusMessage;
145
146 Aws::String m_vpcId;
147
148 Aws::String m_dnsName;
149
150 Aws::Vector<Aws::String> m_subnetIds;
151
152 Aws::Vector<Aws::String> m_securityGroupIds;
153
154 Aws::String m_requestId;
155 };
156
157} // namespace Model
158} // namespace deadline
159} // namespace Aws
GetLicenseEndpointResult & AddSecurityGroupIds(const Aws::String &value)
GetLicenseEndpointResult & WithStatus(const LicenseEndpointStatus &value)
GetLicenseEndpointResult & AddSecurityGroupIds(Aws::String &&value)
GetLicenseEndpointResult & WithRequestId(const char *value)
GetLicenseEndpointResult & WithDnsName(Aws::String &&value)
GetLicenseEndpointResult & WithStatusMessage(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
GetLicenseEndpointResult & AddSecurityGroupIds(const char *value)
GetLicenseEndpointResult & WithDnsName(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
GetLicenseEndpointResult & WithLicenseEndpointId(Aws::String &&value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
GetLicenseEndpointResult & AddSubnetIds(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
GetLicenseEndpointResult & WithStatus(LicenseEndpointStatus &&value)
GetLicenseEndpointResult & WithSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
GetLicenseEndpointResult & WithSubnetIds(Aws::Vector< Aws::String > &&value)
GetLicenseEndpointResult & WithVpcId(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
GetLicenseEndpointResult & WithVpcId(const Aws::String &value)
GetLicenseEndpointResult & WithDnsName(const char *value)
GetLicenseEndpointResult & WithLicenseEndpointId(const char *value)
GetLicenseEndpointResult & WithVpcId(const char *value)
AWS_DEADLINE_API GetLicenseEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LicenseEndpointStatus & GetStatus() const
GetLicenseEndpointResult & AddSubnetIds(const Aws::String &value)
GetLicenseEndpointResult & WithRequestId(Aws::String &&value)
GetLicenseEndpointResult & AddSubnetIds(const char *value)
GetLicenseEndpointResult & WithStatusMessage(Aws::String &&value)
void SetStatus(const LicenseEndpointStatus &value)
GetLicenseEndpointResult & WithLicenseEndpointId(const Aws::String &value)
GetLicenseEndpointResult & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_DEADLINE_API GetLicenseEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseEndpointResult & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
GetLicenseEndpointResult & WithStatusMessage(const char *value)
GetLicenseEndpointResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue