AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReleaseVersion(const Aws::String& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = value; }
48 inline void SetReleaseVersion(Aws::String&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::move(value); }
49 inline void SetReleaseVersion(const char* value) { m_releaseVersionHasBeenSet = true; m_releaseVersion.assign(value); }
50 inline ReleaseSummary& WithReleaseVersion(const Aws::String& value) { SetReleaseVersion(value); return *this;}
51 inline ReleaseSummary& WithReleaseVersion(Aws::String&& value) { SetReleaseVersion(std::move(value)); return *this;}
52 inline ReleaseSummary& WithReleaseVersion(const char* value) { SetReleaseVersion(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
60 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
61 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
62 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
63 inline ReleaseSummary& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
64 inline ReleaseSummary& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_releaseVersion;
69 bool m_releaseVersionHasBeenSet = false;
70
71 Aws::Utils::DateTime m_timestamp;
72 bool m_timestampHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WAFV2
77} // namespace Aws
AWS_WAFV2_API ReleaseSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReleaseVersion(const Aws::String &value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetReleaseVersion(Aws::String &&value)
ReleaseSummary & WithTimestamp(Aws::Utils::DateTime &&value)
ReleaseSummary & WithReleaseVersion(const Aws::String &value)
ReleaseSummary & WithReleaseVersion(Aws::String &&value)
const Aws::String & GetReleaseVersion() const
void SetTimestamp(const Aws::Utils::DateTime &value)
AWS_WAFV2_API ReleaseSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReleaseVersion(const char *value)
void SetTimestamp(Aws::Utils::DateTime &&value)
ReleaseSummary & WithReleaseVersion(const char *value)
ReleaseSummary & WithTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue