AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeployedVersionSummary.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/model/DeploymentLifecycle.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MainframeModernization
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MAINFRAMEMODERNIZATION_API DeployedVersionSummary();
36 AWS_MAINFRAMEMODERNIZATION_API DeployedVersionSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API DeployedVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetApplicationVersion() const{ return m_applicationVersion; }
46 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
47 inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
48 inline DeployedVersionSummary& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;}
50
52
55 inline const DeploymentLifecycle& GetStatus() const{ return m_status; }
56 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
57 inline void SetStatus(const DeploymentLifecycle& value) { m_statusHasBeenSet = true; m_status = value; }
58 inline void SetStatus(DeploymentLifecycle&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
59 inline DeployedVersionSummary& WithStatus(const DeploymentLifecycle& value) { SetStatus(value); return *this;}
60 inline DeployedVersionSummary& WithStatus(DeploymentLifecycle&& value) { SetStatus(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
68 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
69 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
70 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
71 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
72 inline DeployedVersionSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
73 inline DeployedVersionSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
74 inline DeployedVersionSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
76 private:
77
78 int m_applicationVersion;
79 bool m_applicationVersionHasBeenSet = false;
80
81 DeploymentLifecycle m_status;
82 bool m_statusHasBeenSet = false;
83
84 Aws::String m_statusReason;
85 bool m_statusReasonHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace MainframeModernization
90} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API DeployedVersionSummary(Aws::Utils::Json::JsonView jsonValue)
DeployedVersionSummary & WithStatus(DeploymentLifecycle &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MAINFRAMEMODERNIZATION_API DeployedVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API DeployedVersionSummary()
DeployedVersionSummary & WithStatusReason(const char *value)
DeployedVersionSummary & WithStatusReason(Aws::String &&value)
DeployedVersionSummary & WithStatusReason(const Aws::String &value)
DeployedVersionSummary & WithStatus(const DeploymentLifecycle &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue