AWS SDK for C++  1.9.105
AWS SDK for C++
GetCertificatesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Lightsail
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "GetCertificates"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
46  inline const Aws::Vector<CertificateStatus>& GetCertificateStatuses() const{ return m_certificateStatuses; }
47 
55  inline bool CertificateStatusesHasBeenSet() const { return m_certificateStatusesHasBeenSet; }
56 
64  inline void SetCertificateStatuses(const Aws::Vector<CertificateStatus>& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses = value; }
65 
73  inline void SetCertificateStatuses(Aws::Vector<CertificateStatus>&& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses = std::move(value); }
74 
82  inline GetCertificatesRequest& WithCertificateStatuses(const Aws::Vector<CertificateStatus>& value) { SetCertificateStatuses(value); return *this;}
83 
91  inline GetCertificatesRequest& WithCertificateStatuses(Aws::Vector<CertificateStatus>&& value) { SetCertificateStatuses(std::move(value)); return *this;}
92 
100  inline GetCertificatesRequest& AddCertificateStatuses(const CertificateStatus& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses.push_back(value); return *this; }
101 
109  inline GetCertificatesRequest& AddCertificateStatuses(CertificateStatus&& value) { m_certificateStatusesHasBeenSet = true; m_certificateStatuses.push_back(std::move(value)); return *this; }
110 
111 
117  inline bool GetIncludeCertificateDetails() const{ return m_includeCertificateDetails; }
118 
124  inline bool IncludeCertificateDetailsHasBeenSet() const { return m_includeCertificateDetailsHasBeenSet; }
125 
131  inline void SetIncludeCertificateDetails(bool value) { m_includeCertificateDetailsHasBeenSet = true; m_includeCertificateDetails = value; }
132 
138  inline GetCertificatesRequest& WithIncludeCertificateDetails(bool value) { SetIncludeCertificateDetails(value); return *this;}
139 
140 
146  inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
147 
153  inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
154 
160  inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
161 
167  inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
168 
174  inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
175 
181  inline GetCertificatesRequest& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
182 
188  inline GetCertificatesRequest& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
189 
195  inline GetCertificatesRequest& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
196 
197  private:
198 
199  Aws::Vector<CertificateStatus> m_certificateStatuses;
200  bool m_certificateStatusesHasBeenSet;
201 
202  bool m_includeCertificateDetails;
203  bool m_includeCertificateDetailsHasBeenSet;
204 
205  Aws::String m_certificateName;
206  bool m_certificateNameHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace Lightsail
211 } // namespace Aws
Aws::Lightsail::Model::GetCertificatesRequest::SetCertificateStatuses
void SetCertificateStatuses(Aws::Vector< CertificateStatus > &&value)
Definition: GetCertificatesRequest.h:73
Aws::Lightsail::Model::GetCertificatesRequest::IncludeCertificateDetailsHasBeenSet
bool IncludeCertificateDetailsHasBeenSet() const
Definition: GetCertificatesRequest.h:124
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Lightsail::Model::GetCertificatesRequest::WithCertificateName
GetCertificatesRequest & WithCertificateName(const char *value)
Definition: GetCertificatesRequest.h:195
Aws::Lightsail::Model::GetCertificatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lightsail::Model::GetCertificatesRequest::SetCertificateName
void SetCertificateName(const Aws::String &value)
Definition: GetCertificatesRequest.h:160
Aws::Lightsail::Model::GetCertificatesRequest::WithIncludeCertificateDetails
GetCertificatesRequest & WithIncludeCertificateDetails(bool value)
Definition: GetCertificatesRequest.h:138
Aws::Lightsail::Model::GetCertificatesRequest::SetCertificateName
void SetCertificateName(const char *value)
Definition: GetCertificatesRequest.h:174
Aws::Lightsail::Model::GetCertificatesRequest::GetCertificateName
const Aws::String & GetCertificateName() const
Definition: GetCertificatesRequest.h:146
Aws::Lightsail::Model::GetCertificatesRequest::SetIncludeCertificateDetails
void SetIncludeCertificateDetails(bool value)
Definition: GetCertificatesRequest.h:131
Aws::Lightsail::Model::GetCertificatesRequest::AddCertificateStatuses
GetCertificatesRequest & AddCertificateStatuses(const CertificateStatus &value)
Definition: GetCertificatesRequest.h:100
Aws::Lightsail::Model::GetCertificatesRequest::GetCertificatesRequest
GetCertificatesRequest()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetCertificatesRequest::GetIncludeCertificateDetails
bool GetIncludeCertificateDetails() const
Definition: GetCertificatesRequest.h:117
AWSVector.h
Aws::Lightsail::Model::GetCertificatesRequest::WithCertificateName
GetCertificatesRequest & WithCertificateName(Aws::String &&value)
Definition: GetCertificatesRequest.h:188
LightsailRequest.h
Aws::Lightsail::Model::GetCertificatesRequest::AddCertificateStatuses
GetCertificatesRequest & AddCertificateStatuses(CertificateStatus &&value)
Definition: GetCertificatesRequest.h:109
Aws::Lightsail::Model::GetCertificatesRequest::WithCertificateStatuses
GetCertificatesRequest & WithCertificateStatuses(Aws::Vector< CertificateStatus > &&value)
Definition: GetCertificatesRequest.h:91
Aws::Lightsail::Model::GetCertificatesRequest
Definition: GetCertificatesRequest.h:24
Aws::Lightsail::Model::CertificateStatus
CertificateStatus
Definition: CertificateStatus.h:17
Aws::Lightsail::LightsailRequest
Definition: LightsailRequest.h:17
Aws::Lightsail::Model::GetCertificatesRequest::WithCertificateName
GetCertificatesRequest & WithCertificateName(const Aws::String &value)
Definition: GetCertificatesRequest.h:181
Aws::Lightsail::Model::GetCertificatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCertificatesRequest.h:32
AWSString.h
CertificateStatus.h
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetCertificatesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetCertificatesRequest::CertificateNameHasBeenSet
bool CertificateNameHasBeenSet() const
Definition: GetCertificatesRequest.h:153
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetCertificatesRequest::GetCertificateStatuses
const Aws::Vector< CertificateStatus > & GetCertificateStatuses() const
Definition: GetCertificatesRequest.h:46
Aws::Lightsail::Model::GetCertificatesRequest::SetCertificateName
void SetCertificateName(Aws::String &&value)
Definition: GetCertificatesRequest.h:167
Aws::Lightsail::Model::GetCertificatesRequest::SetCertificateStatuses
void SetCertificateStatuses(const Aws::Vector< CertificateStatus > &value)
Definition: GetCertificatesRequest.h:64
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetCertificatesRequest::WithCertificateStatuses
GetCertificatesRequest & WithCertificateStatuses(const Aws::Vector< CertificateStatus > &value)
Definition: GetCertificatesRequest.h:82
Aws::Lightsail::Model::GetCertificatesRequest::CertificateStatusesHasBeenSet
bool CertificateStatusesHasBeenSet() const
Definition: GetCertificatesRequest.h:55