AWS SDK for C++  1.9.123
AWS SDK for C++
ListCACertificatesResult.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<CACertificate>& GetCertificates() const{ return m_certificates; }
47 
51  inline void SetCertificates(const Aws::Vector<CACertificate>& value) { m_certificates = value; }
52 
56  inline void SetCertificates(Aws::Vector<CACertificate>&& value) { m_certificates = std::move(value); }
57 
61  inline ListCACertificatesResult& WithCertificates(const Aws::Vector<CACertificate>& value) { SetCertificates(value); return *this;}
62 
66  inline ListCACertificatesResult& WithCertificates(Aws::Vector<CACertificate>&& value) { SetCertificates(std::move(value)); return *this;}
67 
71  inline ListCACertificatesResult& AddCertificates(const CACertificate& value) { m_certificates.push_back(value); return *this; }
72 
76  inline ListCACertificatesResult& AddCertificates(CACertificate&& value) { m_certificates.push_back(std::move(value)); return *this; }
77 
78 
82  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
83 
87  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
88 
92  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
93 
97  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
98 
102  inline ListCACertificatesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
103 
107  inline ListCACertificatesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
108 
112  inline ListCACertificatesResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
113 
114  private:
115 
116  Aws::Vector<CACertificate> m_certificates;
117 
118  Aws::String m_nextMarker;
119  };
120 
121 } // namespace Model
122 } // namespace IoT
123 } // namespace Aws
Aws::IoT::Model::ListCACertificatesResult::AddCertificates
ListCACertificatesResult & AddCertificates(CACertificate &&value)
Definition: ListCACertificatesResult.h:76
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListCACertificatesResult::operator=
ListCACertificatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListCACertificatesResult::GetCertificates
const Aws::Vector< CACertificate > & GetCertificates() const
Definition: ListCACertificatesResult.h:46
Aws::IoT::Model::ListCACertificatesResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListCACertificatesResult.h:82
Aws::IoT::Model::ListCACertificatesResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListCACertificatesResult.h:87
Aws::IoT::Model::ListCACertificatesResult::WithCertificates
ListCACertificatesResult & WithCertificates(const Aws::Vector< CACertificate > &value)
Definition: ListCACertificatesResult.h:61
Aws::IoT::Model::ListCACertificatesResult::SetCertificates
void SetCertificates(Aws::Vector< CACertificate > &&value)
Definition: ListCACertificatesResult.h:56
Aws::IoT::Model::ListCACertificatesResult::WithNextMarker
ListCACertificatesResult & WithNextMarker(const Aws::String &value)
Definition: ListCACertificatesResult.h:102
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::ListCACertificatesResult::WithNextMarker
ListCACertificatesResult & WithNextMarker(const char *value)
Definition: ListCACertificatesResult.h:112
Aws::IoT::Model::ListCACertificatesResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListCACertificatesResult.h:97
Aws::IoT::Model::ListCACertificatesResult::SetCertificates
void SetCertificates(const Aws::Vector< CACertificate > &value)
Definition: ListCACertificatesResult.h:51
Aws::IoT::Model::ListCACertificatesResult::AddCertificates
ListCACertificatesResult & AddCertificates(const CACertificate &value)
Definition: ListCACertificatesResult.h:71
Aws::IoT::Model::ListCACertificatesResult::ListCACertificatesResult
ListCACertificatesResult()
Aws::IoT::Model::ListCACertificatesResult::ListCACertificatesResult
ListCACertificatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::ListCACertificatesResult::WithNextMarker
ListCACertificatesResult & WithNextMarker(Aws::String &&value)
Definition: ListCACertificatesResult.h:107
Aws::IoT::Model::ListCACertificatesResult::WithCertificates
ListCACertificatesResult & WithCertificates(Aws::Vector< CACertificate > &&value)
Definition: ListCACertificatesResult.h:66
Aws::IoT::Model::CACertificate
Definition: CACertificate.h:34
CACertificate.h
Aws::IoT::Model::ListCACertificatesResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListCACertificatesResult.h:92
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::ListCACertificatesResult
Definition: ListCACertificatesResult.h:36
IoT_EXPORTS.h