AWS SDK for C++  1.9.104
AWS SDK for C++
GetRelationalDatabaseLogStreamsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const Aws::Vector<Aws::String>& GetLogStreams() const{ return m_logStreams; }
41 
46  inline void SetLogStreams(const Aws::Vector<Aws::String>& value) { m_logStreams = value; }
47 
52  inline void SetLogStreams(Aws::Vector<Aws::String>&& value) { m_logStreams = std::move(value); }
53 
58  inline GetRelationalDatabaseLogStreamsResult& WithLogStreams(const Aws::Vector<Aws::String>& value) { SetLogStreams(value); return *this;}
59 
64  inline GetRelationalDatabaseLogStreamsResult& WithLogStreams(Aws::Vector<Aws::String>&& value) { SetLogStreams(std::move(value)); return *this;}
65 
70  inline GetRelationalDatabaseLogStreamsResult& AddLogStreams(const Aws::String& value) { m_logStreams.push_back(value); return *this; }
71 
76  inline GetRelationalDatabaseLogStreamsResult& AddLogStreams(Aws::String&& value) { m_logStreams.push_back(std::move(value)); return *this; }
77 
82  inline GetRelationalDatabaseLogStreamsResult& AddLogStreams(const char* value) { m_logStreams.push_back(value); return *this; }
83 
84  private:
85 
86  Aws::Vector<Aws::String> m_logStreams;
87  };
88 
89 } // namespace Model
90 } // namespace Lightsail
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::AddLogStreams
GetRelationalDatabaseLogStreamsResult & AddLogStreams(Aws::String &&value)
Definition: GetRelationalDatabaseLogStreamsResult.h:76
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::SetLogStreams
void SetLogStreams(const Aws::Vector< Aws::String > &value)
Definition: GetRelationalDatabaseLogStreamsResult.h:46
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::AddLogStreams
GetRelationalDatabaseLogStreamsResult & AddLogStreams(const Aws::String &value)
Definition: GetRelationalDatabaseLogStreamsResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::SetLogStreams
void SetLogStreams(Aws::Vector< Aws::String > &&value)
Definition: GetRelationalDatabaseLogStreamsResult.h:52
AWSVector.h
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::WithLogStreams
GetRelationalDatabaseLogStreamsResult & WithLogStreams(const Aws::Vector< Aws::String > &value)
Definition: GetRelationalDatabaseLogStreamsResult.h:58
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::operator=
GetRelationalDatabaseLogStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::AddLogStreams
GetRelationalDatabaseLogStreamsResult & AddLogStreams(const char *value)
Definition: GetRelationalDatabaseLogStreamsResult.h:82
AWSString.h
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::GetRelationalDatabaseLogStreamsResult
GetRelationalDatabaseLogStreamsResult()
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::GetLogStreams
const Aws::Vector< Aws::String > & GetLogStreams() const
Definition: GetRelationalDatabaseLogStreamsResult.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult
Definition: GetRelationalDatabaseLogStreamsResult.h:29
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::WithLogStreams
GetRelationalDatabaseLogStreamsResult & WithLogStreams(Aws::Vector< Aws::String > &&value)
Definition: GetRelationalDatabaseLogStreamsResult.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetRelationalDatabaseLogStreamsResult::GetRelationalDatabaseLogStreamsResult
GetRelationalDatabaseLogStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)