AWS SDK for C++  1.9.125
AWS SDK for C++
ListCertificatesByCAResult.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 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<Certificate>& GetCertificates() const{ return m_certificates; }
47 
51  inline void SetCertificates(const Aws::Vector<Certificate>& value) { m_certificates = value; }
52 
56  inline void SetCertificates(Aws::Vector<Certificate>&& value) { m_certificates = std::move(value); }
57 
61  inline ListCertificatesByCAResult& WithCertificates(const Aws::Vector<Certificate>& value) { SetCertificates(value); return *this;}
62 
66  inline ListCertificatesByCAResult& WithCertificates(Aws::Vector<Certificate>&& value) { SetCertificates(std::move(value)); return *this;}
67 
71  inline ListCertificatesByCAResult& AddCertificates(const Certificate& value) { m_certificates.push_back(value); return *this; }
72 
76  inline ListCertificatesByCAResult& AddCertificates(Certificate&& value) { m_certificates.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
84 
89  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
90 
95  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
96 
101  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
102 
107  inline ListCertificatesByCAResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
108 
113  inline ListCertificatesByCAResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
114 
119  inline ListCertificatesByCAResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
120 
121  private:
122 
123  Aws::Vector<Certificate> m_certificates;
124 
125  Aws::String m_nextMarker;
126  };
127 
128 } // namespace Model
129 } // namespace IoT
130 } // namespace Aws
Aws::IoT::Model::ListCertificatesByCAResult::WithCertificates
ListCertificatesByCAResult & WithCertificates(Aws::Vector< Certificate > &&value)
Definition: ListCertificatesByCAResult.h:66
Aws::IoT::Model::ListCertificatesByCAResult::WithNextMarker
ListCertificatesByCAResult & WithNextMarker(Aws::String &&value)
Definition: ListCertificatesByCAResult.h:113
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListCertificatesByCAResult::WithNextMarker
ListCertificatesByCAResult & WithNextMarker(const Aws::String &value)
Definition: ListCertificatesByCAResult.h:107
Aws::IoT::Model::ListCertificatesByCAResult::GetCertificates
const Aws::Vector< Certificate > & GetCertificates() const
Definition: ListCertificatesByCAResult.h:46
Aws::IoT::Model::ListCertificatesByCAResult::SetCertificates
void SetCertificates(const Aws::Vector< Certificate > &value)
Definition: ListCertificatesByCAResult.h:51
Aws::IoT::Model::ListCertificatesByCAResult::WithCertificates
ListCertificatesByCAResult & WithCertificates(const Aws::Vector< Certificate > &value)
Definition: ListCertificatesByCAResult.h:61
Aws::IoT::Model::ListCertificatesByCAResult::SetCertificates
void SetCertificates(Aws::Vector< Certificate > &&value)
Definition: ListCertificatesByCAResult.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::ListCertificatesByCAResult::operator=
ListCertificatesByCAResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListCertificatesByCAResult::AddCertificates
ListCertificatesByCAResult & AddCertificates(const Certificate &value)
Definition: ListCertificatesByCAResult.h:71
Aws::IoT::Model::Certificate
Definition: Certificate.h:35
Aws::IoT::Model::ListCertificatesByCAResult
Definition: ListCertificatesByCAResult.h:36
Aws::IoT::Model::ListCertificatesByCAResult::ListCertificatesByCAResult
ListCertificatesByCAResult()
Aws::IoT::Model::ListCertificatesByCAResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListCertificatesByCAResult.h:95
AWSString.h
Aws::IoT::Model::ListCertificatesByCAResult::AddCertificates
ListCertificatesByCAResult & AddCertificates(Certificate &&value)
Definition: ListCertificatesByCAResult.h:76
Certificate.h
Aws::IoT::Model::ListCertificatesByCAResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListCertificatesByCAResult.h:83
Aws::IoT::Model::ListCertificatesByCAResult::WithNextMarker
ListCertificatesByCAResult & WithNextMarker(const char *value)
Definition: ListCertificatesByCAResult.h:119
Aws::IoT::Model::ListCertificatesByCAResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListCertificatesByCAResult.h:89
Aws
Definition: AccessManagementClient.h:15
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::ListCertificatesByCAResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListCertificatesByCAResult.h:101
Aws::IoT::Model::ListCertificatesByCAResult::ListCertificatesByCAResult
ListCertificatesByCAResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoT_EXPORTS.h