AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
ChannelEngineVersionResponse.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaLive {
21namespace Model {
22
30 public:
31 AWS_MEDIALIVE_API ChannelEngineVersionResponse() = default;
34 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Utils::DateTime& GetExpirationDate() const { return m_expirationDate; }
41 inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; }
42 template <typename ExpirationDateT = Aws::Utils::DateTime>
43 void SetExpirationDate(ExpirationDateT&& value) {
44 m_expirationDateHasBeenSet = true;
45 m_expirationDate = std::forward<ExpirationDateT>(value);
46 }
47 template <typename ExpirationDateT = Aws::Utils::DateTime>
49 SetExpirationDate(std::forward<ExpirationDateT>(value));
50 return *this;
51 }
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) {
62 m_versionHasBeenSet = true;
63 m_version = std::forward<VersionT>(value);
64 }
65 template <typename VersionT = Aws::String>
67 SetVersion(std::forward<VersionT>(value));
68 return *this;
69 }
71 private:
72 Aws::Utils::DateTime m_expirationDate{};
73
74 Aws::String m_version;
75 bool m_expirationDateHasBeenSet = false;
76 bool m_versionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace MediaLive
81} // 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