AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MobileSdkRelease.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wafv2/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace WAFV2
25{
26namespace Model
27{
28
41 {
42 public:
43 AWS_WAFV2_API MobileSdkRelease() = default;
46 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetReleaseVersion() const { return m_releaseVersion; }
54 inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; }
55 template<typename ReleaseVersionT = Aws::String>
56 void SetReleaseVersion(ReleaseVersionT&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::forward<ReleaseVersionT>(value); }
57 template<typename ReleaseVersionT = Aws::String>
58 MobileSdkRelease& WithReleaseVersion(ReleaseVersionT&& value) { SetReleaseVersion(std::forward<ReleaseVersionT>(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
66 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
67 template<typename TimestampT = Aws::Utils::DateTime>
68 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
69 template<typename TimestampT = Aws::Utils::DateTime>
70 MobileSdkRelease& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
72
74
77 inline const Aws::String& GetReleaseNotes() const { return m_releaseNotes; }
78 inline bool ReleaseNotesHasBeenSet() const { return m_releaseNotesHasBeenSet; }
79 template<typename ReleaseNotesT = Aws::String>
80 void SetReleaseNotes(ReleaseNotesT&& value) { m_releaseNotesHasBeenSet = true; m_releaseNotes = std::forward<ReleaseNotesT>(value); }
81 template<typename ReleaseNotesT = Aws::String>
82 MobileSdkRelease& WithReleaseNotes(ReleaseNotesT&& value) { SetReleaseNotes(std::forward<ReleaseNotesT>(value)); return *this;}
84
86
89 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
90 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
91 template<typename TagsT = Aws::Vector<Tag>>
92 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
93 template<typename TagsT = Aws::Vector<Tag>>
94 MobileSdkRelease& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
95 template<typename TagsT = Tag>
96 MobileSdkRelease& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
98 private:
99
100 Aws::String m_releaseVersion;
101 bool m_releaseVersionHasBeenSet = false;
102
103 Aws::Utils::DateTime m_timestamp{};
104 bool m_timestampHasBeenSet = false;
105
106 Aws::String m_releaseNotes;
107 bool m_releaseNotesHasBeenSet = false;
108
109 Aws::Vector<Tag> m_tags;
110 bool m_tagsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace WAFV2
115} // namespace Aws
const Aws::Vector< Tag > & GetTags() const
MobileSdkRelease & WithReleaseNotes(ReleaseNotesT &&value)
void SetReleaseNotes(ReleaseNotesT &&value)
MobileSdkRelease & WithTimestamp(TimestampT &&value)
MobileSdkRelease & WithTags(TagsT &&value)
AWS_WAFV2_API MobileSdkRelease()=default
AWS_WAFV2_API MobileSdkRelease & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReleaseVersion() const
AWS_WAFV2_API MobileSdkRelease(Aws::Utils::Json::JsonView jsonValue)
MobileSdkRelease & AddTags(TagsT &&value)
void SetReleaseVersion(ReleaseVersionT &&value)
MobileSdkRelease & WithReleaseVersion(ReleaseVersionT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestamp(TimestampT &&value)
const Aws::String & GetReleaseNotes() const
const Aws::Utils::DateTime & GetTimestamp() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue