AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AppVersionSummary.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_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 ResilienceHub
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_RESILIENCEHUB_API AppVersionSummary() = default;
36 AWS_RESILIENCEHUB_API AppVersionSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_RESILIENCEHUB_API AppVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
46 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
47 template<typename AppVersionT = Aws::String>
48 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
49 template<typename AppVersionT = Aws::String>
50 AppVersionSummary& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
58 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
59 template<typename CreationTimeT = Aws::Utils::DateTime>
60 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
61 template<typename CreationTimeT = Aws::Utils::DateTime>
62 AppVersionSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
64
66
69 inline long long GetIdentifier() const { return m_identifier; }
70 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
71 inline void SetIdentifier(long long value) { m_identifierHasBeenSet = true; m_identifier = value; }
72 inline AppVersionSummary& WithIdentifier(long long value) { SetIdentifier(value); return *this;}
74
76
79 inline const Aws::String& GetVersionName() const { return m_versionName; }
80 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
81 template<typename VersionNameT = Aws::String>
82 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
83 template<typename VersionNameT = Aws::String>
84 AppVersionSummary& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
86 private:
87
88 Aws::String m_appVersion;
89 bool m_appVersionHasBeenSet = false;
90
91 Aws::Utils::DateTime m_creationTime{};
92 bool m_creationTimeHasBeenSet = false;
93
94 long long m_identifier{0};
95 bool m_identifierHasBeenSet = false;
96
97 Aws::String m_versionName;
98 bool m_versionNameHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ResilienceHub
103} // namespace Aws
AWS_RESILIENCEHUB_API AppVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUB_API AppVersionSummary()=default
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AppVersionSummary & WithAppVersion(AppVersionT &&value)
AppVersionSummary & WithCreationTime(CreationTimeT &&value)
AWS_RESILIENCEHUB_API AppVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
AppVersionSummary & WithIdentifier(long long value)
AppVersionSummary & WithVersionName(VersionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue