AWS SDK for C++  1.9.160
AWS SDK for C++
ListCertificatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_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 ACM
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
43 
49  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
50 
56  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
57 
63  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
64 
70  inline ListCertificatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
77  inline ListCertificatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 
84  inline ListCertificatesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 
86 
90  inline const Aws::Vector<CertificateSummary>& GetCertificateSummaryList() const{ return m_certificateSummaryList; }
91 
95  inline void SetCertificateSummaryList(const Aws::Vector<CertificateSummary>& value) { m_certificateSummaryList = value; }
96 
100  inline void SetCertificateSummaryList(Aws::Vector<CertificateSummary>&& value) { m_certificateSummaryList = std::move(value); }
101 
105  inline ListCertificatesResult& WithCertificateSummaryList(const Aws::Vector<CertificateSummary>& value) { SetCertificateSummaryList(value); return *this;}
106 
110  inline ListCertificatesResult& WithCertificateSummaryList(Aws::Vector<CertificateSummary>&& value) { SetCertificateSummaryList(std::move(value)); return *this;}
111 
115  inline ListCertificatesResult& AddCertificateSummaryList(const CertificateSummary& value) { m_certificateSummaryList.push_back(value); return *this; }
116 
120  inline ListCertificatesResult& AddCertificateSummaryList(CertificateSummary&& value) { m_certificateSummaryList.push_back(std::move(value)); return *this; }
121 
122  private:
123 
124  Aws::String m_nextToken;
125 
126  Aws::Vector<CertificateSummary> m_certificateSummaryList;
127  };
128 
129 } // namespace Model
130 } // namespace ACM
131 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ACM::Model::ListCertificatesResult::operator=
ListCertificatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ACM::Model::ListCertificatesResult::SetCertificateSummaryList
void SetCertificateSummaryList(Aws::Vector< CertificateSummary > &&value)
Definition: ListCertificatesResult.h:100
Aws::ACM::Model::CertificateSummary
Definition: CertificateSummary.h:33
Aws::ACM::Model::ListCertificatesResult::WithNextToken
ListCertificatesResult & WithNextToken(const char *value)
Definition: ListCertificatesResult.h:84
Aws::ACM::Model::ListCertificatesResult
Definition: ListCertificatesResult.h:30
Aws::ACM::Model::ListCertificatesResult::GetCertificateSummaryList
const Aws::Vector< CertificateSummary > & GetCertificateSummaryList() const
Definition: ListCertificatesResult.h:90
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::ACM::Model::ListCertificatesResult::SetCertificateSummaryList
void SetCertificateSummaryList(const Aws::Vector< CertificateSummary > &value)
Definition: ListCertificatesResult.h:95
CertificateSummary.h
Aws::ACM::Model::ListCertificatesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCertificatesResult.h:56
Aws::ACM::Model::ListCertificatesResult::WithCertificateSummaryList
ListCertificatesResult & WithCertificateSummaryList(Aws::Vector< CertificateSummary > &&value)
Definition: ListCertificatesResult.h:110
Aws::ACM::Model::ListCertificatesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListCertificatesResult.h:63
Aws::ACM::Model::ListCertificatesResult::WithNextToken
ListCertificatesResult & WithNextToken(const Aws::String &value)
Definition: ListCertificatesResult.h:70
Aws::ACM::Model::ListCertificatesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCertificatesResult.h:42
Aws::ACM::Model::ListCertificatesResult::WithCertificateSummaryList
ListCertificatesResult & WithCertificateSummaryList(const Aws::Vector< CertificateSummary > &value)
Definition: ListCertificatesResult.h:105
Aws::ACM::Model::ListCertificatesResult::AddCertificateSummaryList
ListCertificatesResult & AddCertificateSummaryList(const CertificateSummary &value)
Definition: ListCertificatesResult.h:115
AWSString.h
Aws::ACM::Model::ListCertificatesResult::AddCertificateSummaryList
ListCertificatesResult & AddCertificateSummaryList(CertificateSummary &&value)
Definition: ListCertificatesResult.h:120
Aws::ACM::Model::ListCertificatesResult::ListCertificatesResult
ListCertificatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ACM::Model::ListCertificatesResult::ListCertificatesResult
ListCertificatesResult()
ACM_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ACM::Model::ListCertificatesResult::WithNextToken
ListCertificatesResult & WithNextToken(Aws::String &&value)
Definition: ListCertificatesResult.h:77
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::ListCertificatesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCertificatesResult.h:49