AWS SDK for C++  1.9.104
AWS SDK for C++
GetContainerLogResult.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 Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ContainerServiceLogEvent>& GetLogEvents() const{ return m_logEvents; }
41 
45  inline void SetLogEvents(const Aws::Vector<ContainerServiceLogEvent>& value) { m_logEvents = value; }
46 
50  inline void SetLogEvents(Aws::Vector<ContainerServiceLogEvent>&& value) { m_logEvents = std::move(value); }
51 
55  inline GetContainerLogResult& WithLogEvents(const Aws::Vector<ContainerServiceLogEvent>& value) { SetLogEvents(value); return *this;}
56 
60  inline GetContainerLogResult& WithLogEvents(Aws::Vector<ContainerServiceLogEvent>&& value) { SetLogEvents(std::move(value)); return *this;}
61 
65  inline GetContainerLogResult& AddLogEvents(const ContainerServiceLogEvent& value) { m_logEvents.push_back(value); return *this; }
66 
70  inline GetContainerLogResult& AddLogEvents(ContainerServiceLogEvent&& value) { m_logEvents.push_back(std::move(value)); return *this; }
71 
72 
80  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
81 
89  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
90 
98  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); }
99 
107  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
108 
116  inline GetContainerLogResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
117 
125  inline GetContainerLogResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
126 
134  inline GetContainerLogResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
135 
136  private:
137 
139 
140  Aws::String m_nextPageToken;
141  };
142 
143 } // namespace Model
144 } // namespace Lightsail
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetContainerLogResult::GetContainerLogResult
GetContainerLogResult()
Aws::Lightsail::Model::GetContainerLogResult
Definition: GetContainerLogResult.h:30
Aws::Lightsail::Model::GetContainerLogResult::SetNextPageToken
void SetNextPageToken(Aws::String &&value)
Definition: GetContainerLogResult.h:98
Aws::Lightsail::Model::GetContainerLogResult::WithNextPageToken
GetContainerLogResult & WithNextPageToken(const char *value)
Definition: GetContainerLogResult.h:134
Aws::Lightsail::Model::GetContainerLogResult::SetNextPageToken
void SetNextPageToken(const Aws::String &value)
Definition: GetContainerLogResult.h:89
Aws::Lightsail::Model::GetContainerLogResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition: GetContainerLogResult.h:80
Aws::Lightsail::Model::GetContainerLogResult::WithLogEvents
GetContainerLogResult & WithLogEvents(Aws::Vector< ContainerServiceLogEvent > &&value)
Definition: GetContainerLogResult.h:60
Aws::Lightsail::Model::GetContainerLogResult::SetLogEvents
void SetLogEvents(Aws::Vector< ContainerServiceLogEvent > &&value)
Definition: GetContainerLogResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetContainerLogResult::WithLogEvents
GetContainerLogResult & WithLogEvents(const Aws::Vector< ContainerServiceLogEvent > &value)
Definition: GetContainerLogResult.h:55
AWSVector.h
Aws::Lightsail::Model::GetContainerLogResult::AddLogEvents
GetContainerLogResult & AddLogEvents(const ContainerServiceLogEvent &value)
Definition: GetContainerLogResult.h:65
Aws::Lightsail::Model::GetContainerLogResult::operator=
GetContainerLogResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ContainerServiceLogEvent.h
Aws::Lightsail::Model::GetContainerLogResult::WithNextPageToken
GetContainerLogResult & WithNextPageToken(Aws::String &&value)
Definition: GetContainerLogResult.h:125
Aws::Lightsail::Model::GetContainerLogResult::GetContainerLogResult
GetContainerLogResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::Lightsail::Model::GetContainerLogResult::SetNextPageToken
void SetNextPageToken(const char *value)
Definition: GetContainerLogResult.h:107
Lightsail_EXPORTS.h
Aws::Lightsail::Model::ContainerServiceLogEvent
Definition: ContainerServiceLogEvent.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetContainerLogResult::SetLogEvents
void SetLogEvents(const Aws::Vector< ContainerServiceLogEvent > &value)
Definition: GetContainerLogResult.h:45
Aws::Lightsail::Model::GetContainerLogResult::WithNextPageToken
GetContainerLogResult & WithNextPageToken(const Aws::String &value)
Definition: GetContainerLogResult.h:116
Aws::Lightsail::Model::GetContainerLogResult::GetLogEvents
const Aws::Vector< ContainerServiceLogEvent > & GetLogEvents() const
Definition: GetContainerLogResult.h:40
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::GetContainerLogResult::AddLogEvents
GetContainerLogResult & AddLogEvents(ContainerServiceLogEvent &&value)
Definition: GetContainerLogResult.h:70
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28