AWS SDK for C++  1.8.152
AWS SDK for C++
ListCertificatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 DirectoryService
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42 
47  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
48 
53  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
54 
59  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60 
65  inline ListCertificatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
71  inline ListCertificatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 
77  inline ListCertificatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78 
79 
84  inline const Aws::Vector<CertificateInfo>& GetCertificatesInfo() const{ return m_certificatesInfo; }
85 
90  inline void SetCertificatesInfo(const Aws::Vector<CertificateInfo>& value) { m_certificatesInfo = value; }
91 
96  inline void SetCertificatesInfo(Aws::Vector<CertificateInfo>&& value) { m_certificatesInfo = std::move(value); }
97 
102  inline ListCertificatesResult& WithCertificatesInfo(const Aws::Vector<CertificateInfo>& value) { SetCertificatesInfo(value); return *this;}
103 
108  inline ListCertificatesResult& WithCertificatesInfo(Aws::Vector<CertificateInfo>&& value) { SetCertificatesInfo(std::move(value)); return *this;}
109 
114  inline ListCertificatesResult& AddCertificatesInfo(const CertificateInfo& value) { m_certificatesInfo.push_back(value); return *this; }
115 
120  inline ListCertificatesResult& AddCertificatesInfo(CertificateInfo&& value) { m_certificatesInfo.push_back(std::move(value)); return *this; }
121 
122  private:
123 
124  Aws::String m_nextToken;
125 
126  Aws::Vector<CertificateInfo> m_certificatesInfo;
127  };
128 
129 } // namespace Model
130 } // namespace DirectoryService
131 } // namespace Aws
Aws::DirectoryService::Model::ListCertificatesResult::GetCertificatesInfo
const Aws::Vector< CertificateInfo > & GetCertificatesInfo() const
Definition: ListCertificatesResult.h:84
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::ListCertificatesResult::WithCertificatesInfo
ListCertificatesResult & WithCertificatesInfo(Aws::Vector< CertificateInfo > &&value)
Definition: ListCertificatesResult.h:108
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::ListCertificatesResult::SetCertificatesInfo
void SetCertificatesInfo(const Aws::Vector< CertificateInfo > &value)
Definition: ListCertificatesResult.h:90
Aws::DirectoryService::Model::ListCertificatesResult::operator=
ListCertificatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CertificateInfo.h
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::ListCertificatesResult::WithNextToken
ListCertificatesResult & WithNextToken(const char *value)
Definition: ListCertificatesResult.h:77
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::ListCertificatesResult
Definition: ListCertificatesResult.h:30
AWSVector.h
Aws::DirectoryService::Model::ListCertificatesResult::AddCertificatesInfo
ListCertificatesResult & AddCertificatesInfo(const CertificateInfo &value)
Definition: ListCertificatesResult.h:114
Aws::DirectoryService::Model::CertificateInfo
Definition: CertificateInfo.h:36
Aws::DirectoryService::Model::ListCertificatesResult::ListCertificatesResult
ListCertificatesResult()
Aws::DirectoryService::Model::ListCertificatesResult::SetCertificatesInfo
void SetCertificatesInfo(Aws::Vector< CertificateInfo > &&value)
Definition: ListCertificatesResult.h:96
Aws::DirectoryService::Model::ListCertificatesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCertificatesResult.h:47
Aws::DirectoryService::Model::ListCertificatesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCertificatesResult.h:41
AWSString.h
Aws::DirectoryService::Model::ListCertificatesResult::ListCertificatesResult
ListCertificatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::ListCertificatesResult::AddCertificatesInfo
ListCertificatesResult & AddCertificatesInfo(CertificateInfo &&value)
Definition: ListCertificatesResult.h:120
Aws::DirectoryService::Model::ListCertificatesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCertificatesResult.h:53
Aws::DirectoryService::Model::ListCertificatesResult::WithNextToken
ListCertificatesResult & WithNextToken(const Aws::String &value)
Definition: ListCertificatesResult.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::ListCertificatesResult::WithNextToken
ListCertificatesResult & WithNextToken(Aws::String &&value)
Definition: ListCertificatesResult.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::ListCertificatesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListCertificatesResult.h:59
Aws::DirectoryService::Model::ListCertificatesResult::WithCertificatesInfo
ListCertificatesResult & WithCertificatesInfo(const Aws::Vector< CertificateInfo > &value)
Definition: ListCertificatesResult.h:102