AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReleaseSummary.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 WAFV2
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WAFV2_API ReleaseSummary() = default;
38 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetReleaseVersion() const { return m_releaseVersion; }
46 inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; }
47 template<typename ReleaseVersionT = Aws::String>
48 void SetReleaseVersion(ReleaseVersionT&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::forward<ReleaseVersionT>(value); }
49 template<typename ReleaseVersionT = Aws::String>
50 ReleaseSummary& WithReleaseVersion(ReleaseVersionT&& value) { SetReleaseVersion(std::forward<ReleaseVersionT>(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
58 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
59 template<typename TimestampT = Aws::Utils::DateTime>
60 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
61 template<typename TimestampT = Aws::Utils::DateTime>
62 ReleaseSummary& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
64 private:
65
66 Aws::String m_releaseVersion;
67 bool m_releaseVersionHasBeenSet = false;
68
69 Aws::Utils::DateTime m_timestamp{};
70 bool m_timestampHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WAFV2
75} // namespace Aws
AWS_WAFV2_API ReleaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReleaseSummary & WithTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetReleaseVersion(ReleaseVersionT &&value)
const Aws::String & GetReleaseVersion() const
AWS_WAFV2_API ReleaseSummary()=default
AWS_WAFV2_API ReleaseSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ReleaseSummary & WithReleaseVersion(ReleaseVersionT &&value)
void SetTimestamp(TimestampT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue