AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReleaseVersion(const Aws::String& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = value; }
56 inline void SetReleaseVersion(Aws::String&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::move(value); }
57 inline void SetReleaseVersion(const char* value) { m_releaseVersionHasBeenSet = true; m_releaseVersion.assign(value); }
58 inline MobileSdkRelease& WithReleaseVersion(const Aws::String& value) { SetReleaseVersion(value); return *this;}
59 inline MobileSdkRelease& WithReleaseVersion(Aws::String&& value) { SetReleaseVersion(std::move(value)); return *this;}
60 inline MobileSdkRelease& WithReleaseVersion(const char* value) { SetReleaseVersion(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
68 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
69 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
70 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
71 inline MobileSdkRelease& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
72 inline MobileSdkRelease& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetReleaseNotes() const{ return m_releaseNotes; }
80 inline bool ReleaseNotesHasBeenSet() const { return m_releaseNotesHasBeenSet; }
81 inline void SetReleaseNotes(const Aws::String& value) { m_releaseNotesHasBeenSet = true; m_releaseNotes = value; }
82 inline void SetReleaseNotes(Aws::String&& value) { m_releaseNotesHasBeenSet = true; m_releaseNotes = std::move(value); }
83 inline void SetReleaseNotes(const char* value) { m_releaseNotesHasBeenSet = true; m_releaseNotes.assign(value); }
84 inline MobileSdkRelease& WithReleaseNotes(const Aws::String& value) { SetReleaseNotes(value); return *this;}
85 inline MobileSdkRelease& WithReleaseNotes(Aws::String&& value) { SetReleaseNotes(std::move(value)); return *this;}
86 inline MobileSdkRelease& WithReleaseNotes(const char* value) { SetReleaseNotes(value); return *this;}
88
90
93 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
94 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
95 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
96 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
97 inline MobileSdkRelease& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
98 inline MobileSdkRelease& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
99 inline MobileSdkRelease& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
100 inline MobileSdkRelease& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
102 private:
103
104 Aws::String m_releaseVersion;
105 bool m_releaseVersionHasBeenSet = false;
106
107 Aws::Utils::DateTime m_timestamp;
108 bool m_timestampHasBeenSet = false;
109
110 Aws::String m_releaseNotes;
111 bool m_releaseNotesHasBeenSet = false;
112
113 Aws::Vector<Tag> m_tags;
114 bool m_tagsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace WAFV2
119} // namespace Aws
MobileSdkRelease & AddTags(Tag &&value)
MobileSdkRelease & WithReleaseVersion(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
MobileSdkRelease & WithReleaseNotes(const char *value)
MobileSdkRelease & WithTags(Aws::Vector< Tag > &&value)
void SetReleaseVersion(const Aws::String &value)
void SetTimestamp(Aws::Utils::DateTime &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
MobileSdkRelease & WithReleaseVersion(const char *value)
void SetReleaseNotes(const char *value)
AWS_WAFV2_API MobileSdkRelease & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReleaseNotes(const Aws::String &value)
const Aws::String & GetReleaseVersion() const
MobileSdkRelease & WithTags(const Aws::Vector< Tag > &value)
AWS_WAFV2_API MobileSdkRelease(Aws::Utils::Json::JsonView jsonValue)
MobileSdkRelease & WithReleaseVersion(const Aws::String &value)
MobileSdkRelease & WithTimestamp(Aws::Utils::DateTime &&value)
void SetTags(Aws::Vector< Tag > &&value)
MobileSdkRelease & WithReleaseNotes(const Aws::String &value)
MobileSdkRelease & AddTags(const Tag &value)
void SetReleaseNotes(Aws::String &&value)
void SetReleaseVersion(Aws::String &&value)
MobileSdkRelease & WithReleaseNotes(Aws::String &&value)
MobileSdkRelease & WithTimestamp(const Aws::Utils::DateTime &value)
void SetReleaseVersion(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetReleaseNotes() const
const Aws::Utils::DateTime & GetTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue