AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetServiceResult.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/Service.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace ApplicationSignals
28{
29namespace Model
30{
32 {
33 public:
34 AWS_APPLICATIONSIGNALS_API GetServiceResult();
37
38
40
43 inline const Service& GetService() const{ return m_service; }
44 inline void SetService(const Service& value) { m_service = value; }
45 inline void SetService(Service&& value) { m_service = std::move(value); }
46 inline GetServiceResult& WithService(const Service& value) { SetService(value); return *this;}
47 inline GetServiceResult& WithService(Service&& value) { SetService(std::move(value)); return *this;}
49
51
58 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
59 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
60 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
61 inline GetServiceResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
62 inline GetServiceResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
64
66
73 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
74 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
75 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
76 inline GetServiceResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
77 inline GetServiceResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
79
81
88 inline const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& GetLogGroupReferences() const{ return m_logGroupReferences; }
89 inline void SetLogGroupReferences(const Aws::Vector<Aws::Map<Aws::String, Aws::String>>& value) { m_logGroupReferences = value; }
90 inline void SetLogGroupReferences(Aws::Vector<Aws::Map<Aws::String, Aws::String>>&& value) { m_logGroupReferences = std::move(value); }
93 inline GetServiceResult& AddLogGroupReferences(const Aws::Map<Aws::String, Aws::String>& value) { m_logGroupReferences.push_back(value); return *this; }
94 inline GetServiceResult& AddLogGroupReferences(Aws::Map<Aws::String, Aws::String>&& value) { m_logGroupReferences.push_back(std::move(value)); return *this; }
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline GetServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline GetServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline GetServiceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Service m_service;
110
111 Aws::Utils::DateTime m_startTime;
112
113 Aws::Utils::DateTime m_endTime;
114
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace ApplicationSignals
122} // namespace Aws
GetServiceResult & WithLogGroupReferences(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
void SetLogGroupReferences(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetLogGroupReferences(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
const Aws::Utils::DateTime & GetStartTime() const
GetServiceResult & AddLogGroupReferences(const Aws::Map< Aws::String, Aws::String > &value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetServiceResult & AddLogGroupReferences(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APPLICATIONSIGNALS_API GetServiceResult()
GetServiceResult & WithEndTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetServiceResult & WithLogGroupReferences(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
GetServiceResult & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_APPLICATIONSIGNALS_API GetServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetServiceResult & WithEndTime(const Aws::Utils::DateTime &value)
GetServiceResult & WithRequestId(const char *value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetLogGroupReferences() const
GetServiceResult & WithService(const Service &value)
GetServiceResult & WithRequestId(Aws::String &&value)
AWS_APPLICATIONSIGNALS_API GetServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStartTime(Aws::Utils::DateTime &&value)
GetServiceResult & WithRequestId(const Aws::String &value)
GetServiceResult & WithStartTime(const Aws::Utils::DateTime &value)
GetServiceResult & WithService(Service &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue