AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCalendarStateResult.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/CalendarState.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 SSM
25{
26namespace Model
27{
29 {
30 public:
34
35
37
42 inline const CalendarState& GetState() const{ return m_state; }
43 inline void SetState(const CalendarState& value) { m_state = value; }
44 inline void SetState(CalendarState&& value) { m_state = std::move(value); }
45 inline GetCalendarStateResult& WithState(const CalendarState& value) { SetState(value); return *this;}
46 inline GetCalendarStateResult& WithState(CalendarState&& value) { SetState(std::move(value)); return *this;}
48
50
55 inline const Aws::String& GetAtTime() const{ return m_atTime; }
56 inline void SetAtTime(const Aws::String& value) { m_atTime = value; }
57 inline void SetAtTime(Aws::String&& value) { m_atTime = std::move(value); }
58 inline void SetAtTime(const char* value) { m_atTime.assign(value); }
59 inline GetCalendarStateResult& WithAtTime(const Aws::String& value) { SetAtTime(value); return *this;}
60 inline GetCalendarStateResult& WithAtTime(Aws::String&& value) { SetAtTime(std::move(value)); return *this;}
61 inline GetCalendarStateResult& WithAtTime(const char* value) { SetAtTime(value); return *this;}
63
65
71 inline const Aws::String& GetNextTransitionTime() const{ return m_nextTransitionTime; }
72 inline void SetNextTransitionTime(const Aws::String& value) { m_nextTransitionTime = value; }
73 inline void SetNextTransitionTime(Aws::String&& value) { m_nextTransitionTime = std::move(value); }
74 inline void SetNextTransitionTime(const char* value) { m_nextTransitionTime.assign(value); }
76 inline GetCalendarStateResult& WithNextTransitionTime(Aws::String&& value) { SetNextTransitionTime(std::move(value)); return *this;}
77 inline GetCalendarStateResult& WithNextTransitionTime(const char* value) { SetNextTransitionTime(value); return *this;}
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline GetCalendarStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline GetCalendarStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline GetCalendarStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 CalendarState m_state;
93
94 Aws::String m_atTime;
95
96 Aws::String m_nextTransitionTime;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace SSM
103} // namespace Aws
AWS_SSM_API GetCalendarStateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalendarStateResult & WithState(CalendarState &&value)
GetCalendarStateResult & WithAtTime(const Aws::String &value)
GetCalendarStateResult & WithRequestId(Aws::String &&value)
GetCalendarStateResult & WithState(const CalendarState &value)
GetCalendarStateResult & WithRequestId(const char *value)
GetCalendarStateResult & WithNextTransitionTime(Aws::String &&value)
GetCalendarStateResult & WithNextTransitionTime(const Aws::String &value)
GetCalendarStateResult & WithRequestId(const Aws::String &value)
void SetState(const CalendarState &value)
GetCalendarStateResult & WithAtTime(const char *value)
AWS_SSM_API GetCalendarStateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalendarStateResult & WithAtTime(Aws::String &&value)
void SetRequestId(const Aws::String &value)
void SetNextTransitionTime(const Aws::String &value)
const Aws::String & GetNextTransitionTime() const
GetCalendarStateResult & WithNextTransitionTime(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue