AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ChannelEngineVersionResponse.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIALIVE_API ChannelEngineVersionResponse() = default;
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
47 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
48 template<typename ExpirationDateT = Aws::Utils::DateTime>
49 void SetExpirationDate(ExpirationDateT&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::forward<ExpirationDateT>(value); }
50 template<typename ExpirationDateT = Aws::Utils::DateTime>
51 ChannelEngineVersionResponse& WithExpirationDate(ExpirationDateT&& value) { SetExpirationDate(std::forward<ExpirationDateT>(value)); return *this;}
53
55
58 inline const Aws::String& GetVersion() const { return m_version; }
59 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
60 template<typename VersionT = Aws::String>
61 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
62 template<typename VersionT = Aws::String>
63 ChannelEngineVersionResponse& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
65 private:
66
67 Aws::Utils::DateTime m_expirationDate{};
68 bool m_expirationDateHasBeenSet = false;
69
70 Aws::String m_version;
71 bool m_versionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MediaLive
76} // namespace Aws
ChannelEngineVersionResponse & WithVersion(VersionT &&value)
ChannelEngineVersionResponse & WithExpirationDate(ExpirationDateT &&value)
AWS_MEDIALIVE_API ChannelEngineVersionResponse()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API ChannelEngineVersionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API ChannelEngineVersionResponse(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue