AWS SDK for C++  1.9.129
AWS SDK for C++
ListCertificatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<Certificate>& GetCertificates() const{ return m_certificates; }
46 
50  inline void SetCertificates(const Aws::Vector<Certificate>& value) { m_certificates = value; }
51 
55  inline void SetCertificates(Aws::Vector<Certificate>&& value) { m_certificates = std::move(value); }
56 
60  inline ListCertificatesResult& WithCertificates(const Aws::Vector<Certificate>& value) { SetCertificates(value); return *this;}
61 
65  inline ListCertificatesResult& WithCertificates(Aws::Vector<Certificate>&& value) { SetCertificates(std::move(value)); return *this;}
66 
70  inline ListCertificatesResult& AddCertificates(const Certificate& value) { m_certificates.push_back(value); return *this; }
71 
75  inline ListCertificatesResult& AddCertificates(Certificate&& value) { m_certificates.push_back(std::move(value)); return *this; }
76 
77 
82  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
83 
88  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
89 
94  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
95 
100  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
101 
106  inline ListCertificatesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
107 
112  inline ListCertificatesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
113 
118  inline ListCertificatesResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
119 
120  private:
121 
122  Aws::Vector<Certificate> m_certificates;
123 
124  Aws::String m_nextMarker;
125  };
126 
127 } // namespace Model
128 } // namespace IoT
129 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListCertificatesResult::WithCertificates
ListCertificatesResult & WithCertificates(Aws::Vector< Certificate > &&value)
Definition: ListCertificatesResult.h:65
Aws::IoT::Model::ListCertificatesResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListCertificatesResult.h:100
Aws::IoT::Model::ListCertificatesResult::SetCertificates
void SetCertificates(Aws::Vector< Certificate > &&value)
Definition: ListCertificatesResult.h:55
Aws::IoT::Model::ListCertificatesResult::AddCertificates
ListCertificatesResult & AddCertificates(const Certificate &value)
Definition: ListCertificatesResult.h:70
Aws::IoT::Model::ListCertificatesResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListCertificatesResult.h:88
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListCertificatesResult
Definition: ListCertificatesResult.h:35
AWSVector.h
Aws::IoT::Model::Certificate
Definition: Certificate.h:35
Aws::IoT::Model::ListCertificatesResult::ListCertificatesResult
ListCertificatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListCertificatesResult::WithCertificates
ListCertificatesResult & WithCertificates(const Aws::Vector< Certificate > &value)
Definition: ListCertificatesResult.h:60
Aws::IoT::Model::ListCertificatesResult::ListCertificatesResult
ListCertificatesResult()
Aws::IoT::Model::ListCertificatesResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListCertificatesResult.h:94
AWSString.h
Aws::IoT::Model::ListCertificatesResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListCertificatesResult.h:82
Certificate.h
Aws::IoT::Model::ListCertificatesResult::operator=
ListCertificatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListCertificatesResult::WithNextMarker
ListCertificatesResult & WithNextMarker(const char *value)
Definition: ListCertificatesResult.h:118
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListCertificatesResult::GetCertificates
const Aws::Vector< Certificate > & GetCertificates() const
Definition: ListCertificatesResult.h:45
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListCertificatesResult::WithNextMarker
ListCertificatesResult & WithNextMarker(const Aws::String &value)
Definition: ListCertificatesResult.h:106
Aws::IoT::Model::ListCertificatesResult::WithNextMarker
ListCertificatesResult & WithNextMarker(Aws::String &&value)
Definition: ListCertificatesResult.h:112
Aws::IoT::Model::ListCertificatesResult::SetCertificates
void SetCertificates(const Aws::Vector< Certificate > &value)
Definition: ListCertificatesResult.h:50
Aws::IoT::Model::ListCertificatesResult::AddCertificates
ListCertificatesResult & AddCertificates(Certificate &&value)
Definition: ListCertificatesResult.h:75
IoT_EXPORTS.h