AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRelationalDatabaseLogStreamsResult.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail
25{
26namespace Model
27{
29 {
30 public:
34
35
37
41 inline const Aws::Vector<Aws::String>& GetLogStreams() const{ return m_logStreams; }
42 inline void SetLogStreams(const Aws::Vector<Aws::String>& value) { m_logStreams = value; }
43 inline void SetLogStreams(Aws::Vector<Aws::String>&& value) { m_logStreams = std::move(value); }
46 inline GetRelationalDatabaseLogStreamsResult& AddLogStreams(const Aws::String& value) { m_logStreams.push_back(value); return *this; }
47 inline GetRelationalDatabaseLogStreamsResult& AddLogStreams(Aws::String&& value) { m_logStreams.push_back(std::move(value)); return *this; }
48 inline GetRelationalDatabaseLogStreamsResult& AddLogStreams(const char* value) { m_logStreams.push_back(value); return *this; }
50
52
53 inline const Aws::String& GetRequestId() const{ return m_requestId; }
54 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
55 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
56 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline GetRelationalDatabaseLogStreamsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
58 inline GetRelationalDatabaseLogStreamsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
59 inline GetRelationalDatabaseLogStreamsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
61 private:
62
63 Aws::Vector<Aws::String> m_logStreams;
64
65 Aws::String m_requestId;
66 };
67
68} // namespace Model
69} // namespace Lightsail
70} // namespace Aws
GetRelationalDatabaseLogStreamsResult & AddLogStreams(const char *value)
GetRelationalDatabaseLogStreamsResult & AddLogStreams(Aws::String &&value)
GetRelationalDatabaseLogStreamsResult & AddLogStreams(const Aws::String &value)
GetRelationalDatabaseLogStreamsResult & WithLogStreams(const Aws::Vector< Aws::String > &value)
AWS_LIGHTSAIL_API GetRelationalDatabaseLogStreamsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRelationalDatabaseLogStreamsResult & WithRequestId(const char *value)
GetRelationalDatabaseLogStreamsResult & WithRequestId(const Aws::String &value)
AWS_LIGHTSAIL_API GetRelationalDatabaseLogStreamsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRelationalDatabaseLogStreamsResult & WithRequestId(Aws::String &&value)
GetRelationalDatabaseLogStreamsResult & WithLogStreams(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue