AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTimelineEventResult.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SSMIncidents
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SSMINCIDENTS_API CreateTimelineEventResult();
33
34
36
39 inline const Aws::String& GetEventId() const{ return m_eventId; }
40 inline void SetEventId(const Aws::String& value) { m_eventId = value; }
41 inline void SetEventId(Aws::String&& value) { m_eventId = std::move(value); }
42 inline void SetEventId(const char* value) { m_eventId.assign(value); }
43 inline CreateTimelineEventResult& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
44 inline CreateTimelineEventResult& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
45 inline CreateTimelineEventResult& WithEventId(const char* value) { SetEventId(value); return *this;}
47
49
52 inline const Aws::String& GetIncidentRecordArn() const{ return m_incidentRecordArn; }
53 inline void SetIncidentRecordArn(const Aws::String& value) { m_incidentRecordArn = value; }
54 inline void SetIncidentRecordArn(Aws::String&& value) { m_incidentRecordArn = std::move(value); }
55 inline void SetIncidentRecordArn(const char* value) { m_incidentRecordArn.assign(value); }
57 inline CreateTimelineEventResult& WithIncidentRecordArn(Aws::String&& value) { SetIncidentRecordArn(std::move(value)); return *this;}
58 inline CreateTimelineEventResult& WithIncidentRecordArn(const char* value) { SetIncidentRecordArn(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline CreateTimelineEventResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline CreateTimelineEventResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline CreateTimelineEventResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 Aws::String m_eventId;
74
75 Aws::String m_incidentRecordArn;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace SSMIncidents
82} // namespace Aws
AWS_SSMINCIDENTS_API CreateTimelineEventResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTimelineEventResult & WithEventId(Aws::String &&value)
CreateTimelineEventResult & WithEventId(const char *value)
CreateTimelineEventResult & WithEventId(const Aws::String &value)
CreateTimelineEventResult & WithIncidentRecordArn(Aws::String &&value)
AWS_SSMINCIDENTS_API CreateTimelineEventResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTimelineEventResult & WithIncidentRecordArn(const char *value)
CreateTimelineEventResult & WithRequestId(Aws::String &&value)
CreateTimelineEventResult & WithRequestId(const Aws::String &value)
CreateTimelineEventResult & WithRequestId(const char *value)
CreateTimelineEventResult & WithIncidentRecordArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue