AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppVersion(const Aws::String& value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
48 inline void SetAppVersion(Aws::String&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::move(value); }
49 inline void SetAppVersion(const char* value) { m_appVersionHasBeenSet = true; m_appVersion.assign(value); }
50 inline AppVersionSummary& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
51 inline AppVersionSummary& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
52 inline AppVersionSummary& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
60 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
61 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
62 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
63 inline AppVersionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
64 inline AppVersionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
66
68
71 inline long long GetIdentifier() const{ return m_identifier; }
72 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
73 inline void SetIdentifier(long long value) { m_identifierHasBeenSet = true; m_identifier = value; }
74 inline AppVersionSummary& WithIdentifier(long long value) { SetIdentifier(value); return *this;}
76
78
81 inline const Aws::String& GetVersionName() const{ return m_versionName; }
82 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
83 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
84 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
85 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
86 inline AppVersionSummary& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
87 inline AppVersionSummary& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
88 inline AppVersionSummary& WithVersionName(const char* value) { SetVersionName(value); return *this;}
90 private:
91
92 Aws::String m_appVersion;
93 bool m_appVersionHasBeenSet = false;
94
95 Aws::Utils::DateTime m_creationTime;
96 bool m_creationTimeHasBeenSet = false;
97
98 long long m_identifier;
99 bool m_identifierHasBeenSet = false;
100
101 Aws::String m_versionName;
102 bool m_versionNameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ResilienceHub
107} // namespace Aws
AppVersionSummary & WithVersionName(Aws::String &&value)
AWS_RESILIENCEHUB_API AppVersionSummary(Aws::Utils::Json::JsonView jsonValue)
void SetVersionName(const Aws::String &value)
AWS_RESILIENCEHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AppVersionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetAppVersion(const Aws::String &value)
AWS_RESILIENCEHUB_API AppVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
AppVersionSummary & WithAppVersion(const char *value)
AppVersionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AppVersionSummary & WithVersionName(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AppVersionSummary & WithAppVersion(Aws::String &&value)
AppVersionSummary & WithVersionName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AppVersionSummary & WithIdentifier(long long value)
AppVersionSummary & WithAppVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue