AWS SDK for C++  1.9.108
AWS SDK for C++
ListServiceActionsResult.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 ServiceCatalog
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<ServiceActionSummary>& GetServiceActionSummaries() const{ return m_serviceActionSummaries; }
42 
47  inline void SetServiceActionSummaries(const Aws::Vector<ServiceActionSummary>& value) { m_serviceActionSummaries = value; }
48 
53  inline void SetServiceActionSummaries(Aws::Vector<ServiceActionSummary>&& value) { m_serviceActionSummaries = std::move(value); }
54 
59  inline ListServiceActionsResult& WithServiceActionSummaries(const Aws::Vector<ServiceActionSummary>& value) { SetServiceActionSummaries(value); return *this;}
60 
65  inline ListServiceActionsResult& WithServiceActionSummaries(Aws::Vector<ServiceActionSummary>&& value) { SetServiceActionSummaries(std::move(value)); return *this;}
66 
71  inline ListServiceActionsResult& AddServiceActionSummaries(const ServiceActionSummary& value) { m_serviceActionSummaries.push_back(value); return *this; }
72 
77  inline ListServiceActionsResult& AddServiceActionSummaries(ServiceActionSummary&& value) { m_serviceActionSummaries.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
85 
90  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
91 
96  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
97 
102  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
103 
108  inline ListServiceActionsResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
109 
114  inline ListServiceActionsResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
115 
120  inline ListServiceActionsResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<ServiceActionSummary> m_serviceActionSummaries;
125 
126  Aws::String m_nextPageToken;
127  };
128 
129 } // namespace Model
130 } // namespace ServiceCatalog
131 } // namespace Aws
Aws::ServiceCatalog::Model::ListServiceActionsResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: ListServiceActionsResult.h:96
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ServiceCatalog::Model::ListServiceActionsResult::WithNextPageToken
ListServiceActionsResult & WithNextPageToken(const Aws::String &value)
Definition: ListServiceActionsResult.h:108
Aws::ServiceCatalog::Model::ListServiceActionsResult
Definition: ListServiceActionsResult.h:30
Aws::ServiceCatalog::Model::ListServiceActionsResult::AddServiceActionSummaries
ListServiceActionsResult & AddServiceActionSummaries(const ServiceActionSummary &value)
Definition: ListServiceActionsResult.h:71
Aws::ServiceCatalog::Model::ListServiceActionsResult::WithServiceActionSummaries
ListServiceActionsResult & WithServiceActionSummaries(const Aws::Vector< ServiceActionSummary > &value)
Definition: ListServiceActionsResult.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWS_SERVICECATALOG_API
#define AWS_SERVICECATALOG_API
Definition: ServiceCatalog_EXPORTS.h:28
AWSVector.h
Aws::ServiceCatalog::Model::ListServiceActionsResult::ListServiceActionsResult
ListServiceActionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::ListServiceActionsResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: ListServiceActionsResult.h:102
Aws::ServiceCatalog::Model::ListServiceActionsResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: ListServiceActionsResult.h:90
Aws::ServiceCatalog::Model::ListServiceActionsResult::WithNextPageToken
ListServiceActionsResult & WithNextPageToken(Aws::String &&value)
Definition: ListServiceActionsResult.h:114
Aws::ServiceCatalog::Model::ListServiceActionsResult::operator=
ListServiceActionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceCatalog::Model::ListServiceActionsResult::WithServiceActionSummaries
ListServiceActionsResult & WithServiceActionSummaries(Aws::Vector< ServiceActionSummary > &&value)
Definition: ListServiceActionsResult.h:65
AWSString.h
Aws::ServiceCatalog::Model::ListServiceActionsResult::GetServiceActionSummaries
const Aws::Vector< ServiceActionSummary > & GetServiceActionSummaries() const
Definition: ListServiceActionsResult.h:41
Aws
Definition: AccessManagementClient.h:15
ServiceActionSummary.h
Aws::ServiceCatalog::Model::ListServiceActionsResult::AddServiceActionSummaries
ListServiceActionsResult & AddServiceActionSummaries(ServiceActionSummary &&value)
Definition: ListServiceActionsResult.h:77
Aws::ServiceCatalog::Model::ListServiceActionsResult::SetServiceActionSummaries
void SetServiceActionSummaries(Aws::Vector< ServiceActionSummary > &&value)
Definition: ListServiceActionsResult.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceCatalog::Model::ServiceActionSummary
Definition: ServiceActionSummary.h:34
ServiceCatalog_EXPORTS.h
Aws::ServiceCatalog::Model::ListServiceActionsResult::ListServiceActionsResult
ListServiceActionsResult()
Aws::ServiceCatalog::Model::ListServiceActionsResult::WithNextPageToken
ListServiceActionsResult & WithNextPageToken(const char *value)
Definition: ListServiceActionsResult.h:120
Aws::ServiceCatalog::Model::ListServiceActionsResult::SetServiceActionSummaries
void SetServiceActionSummaries(const Aws::Vector< ServiceActionSummary > &value)
Definition: ListServiceActionsResult.h:47
Aws::ServiceCatalog::Model::ListServiceActionsResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: ListServiceActionsResult.h:84