AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationVersionSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/m2/model/ApplicationVersionLifecycle.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MainframeModernization
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MAINFRAMEMODERNIZATION_API ApplicationVersionSummary();
37 AWS_MAINFRAMEMODERNIZATION_API ApplicationVersionSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API ApplicationVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetApplicationVersion() const{ return m_applicationVersion; }
47 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
48 inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
51
53
56 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
57 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
58 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
59 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
61 inline ApplicationVersionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
63
65
68 inline const ApplicationVersionLifecycle& GetStatus() const{ return m_status; }
69 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
70 inline void SetStatus(const ApplicationVersionLifecycle& value) { m_statusHasBeenSet = true; m_status = value; }
71 inline void SetStatus(ApplicationVersionLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
72 inline ApplicationVersionSummary& WithStatus(const ApplicationVersionLifecycle& value) { SetStatus(value); return *this;}
73 inline ApplicationVersionSummary& WithStatus(ApplicationVersionLifecycle&& value) { SetStatus(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
81 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
82 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
83 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
84 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
85 inline ApplicationVersionSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
86 inline ApplicationVersionSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
87 inline ApplicationVersionSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
89 private:
90
91 int m_applicationVersion;
92 bool m_applicationVersionHasBeenSet = false;
93
94 Aws::Utils::DateTime m_creationTime;
95 bool m_creationTimeHasBeenSet = false;
96
98 bool m_statusHasBeenSet = false;
99
100 Aws::String m_statusReason;
101 bool m_statusReasonHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace MainframeModernization
106} // namespace Aws
ApplicationVersionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ApplicationVersionSummary & WithStatus(const ApplicationVersionLifecycle &value)
ApplicationVersionSummary & WithStatus(ApplicationVersionLifecycle &&value)
ApplicationVersionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ApplicationVersionSummary & WithStatusReason(const char *value)
ApplicationVersionSummary & WithStatusReason(const Aws::String &value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationVersionSummary & WithStatusReason(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API ApplicationVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API ApplicationVersionSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue