AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCertificateResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/model/CertificateSummary.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lightsail/model/Operation.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Lightsail
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LIGHTSAIL_API CreateCertificateResult();
36
37
39
42 inline const CertificateSummary& GetCertificate() const{ return m_certificate; }
43 inline void SetCertificate(const CertificateSummary& value) { m_certificate = value; }
44 inline void SetCertificate(CertificateSummary&& value) { m_certificate = std::move(value); }
45 inline CreateCertificateResult& WithCertificate(const CertificateSummary& value) { SetCertificate(value); return *this;}
46 inline CreateCertificateResult& WithCertificate(CertificateSummary&& value) { SetCertificate(std::move(value)); return *this;}
48
50
55 inline const Aws::Vector<Operation>& GetOperations() const{ return m_operations; }
56 inline void SetOperations(const Aws::Vector<Operation>& value) { m_operations = value; }
57 inline void SetOperations(Aws::Vector<Operation>&& value) { m_operations = std::move(value); }
58 inline CreateCertificateResult& WithOperations(const Aws::Vector<Operation>& value) { SetOperations(value); return *this;}
59 inline CreateCertificateResult& WithOperations(Aws::Vector<Operation>&& value) { SetOperations(std::move(value)); return *this;}
60 inline CreateCertificateResult& AddOperations(const Operation& value) { m_operations.push_back(value); return *this; }
61 inline CreateCertificateResult& AddOperations(Operation&& value) { m_operations.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline CreateCertificateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline CreateCertificateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline CreateCertificateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 CertificateSummary m_certificate;
77
78 Aws::Vector<Operation> m_operations;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Lightsail
85} // namespace Aws
CreateCertificateResult & WithRequestId(Aws::String &&value)
CreateCertificateResult & WithCertificate(const CertificateSummary &value)
const Aws::Vector< Operation > & GetOperations() const
CreateCertificateResult & WithRequestId(const Aws::String &value)
void SetOperations(const Aws::Vector< Operation > &value)
void SetOperations(Aws::Vector< Operation > &&value)
CreateCertificateResult & AddOperations(const Operation &value)
const CertificateSummary & GetCertificate() const
CreateCertificateResult & AddOperations(Operation &&value)
CreateCertificateResult & WithOperations(Aws::Vector< Operation > &&value)
AWS_LIGHTSAIL_API CreateCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCertificateResult & WithCertificate(CertificateSummary &&value)
void SetCertificate(const CertificateSummary &value)
CreateCertificateResult & WithRequestId(const char *value)
AWS_LIGHTSAIL_API CreateCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCertificateResult & WithOperations(const Aws::Vector< Operation > &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