AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentDataSummary.h
1
6#pragma once
7#include <aws/launch-wizard/LaunchWizard_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/launch-wizard/model/DeploymentStatus.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 LaunchWizard
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LAUNCHWIZARD_API DeploymentDataSummary();
37 AWS_LAUNCHWIZARD_API DeploymentDataSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
49 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
50 inline DeploymentDataSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
51 inline DeploymentDataSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetId() const{ return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
61 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
63 inline DeploymentDataSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
64 inline DeploymentDataSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
65 inline DeploymentDataSummary& WithId(const char* value) { SetId(value); return *this;}
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline DeploymentDataSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline DeploymentDataSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline DeploymentDataSummary& WithName(const char* value) { SetName(value); return *this;}
81
83
86 inline const Aws::String& GetPatternName() const{ return m_patternName; }
87 inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; }
88 inline void SetPatternName(const Aws::String& value) { m_patternNameHasBeenSet = true; m_patternName = value; }
89 inline void SetPatternName(Aws::String&& value) { m_patternNameHasBeenSet = true; m_patternName = std::move(value); }
90 inline void SetPatternName(const char* value) { m_patternNameHasBeenSet = true; m_patternName.assign(value); }
91 inline DeploymentDataSummary& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;}
92 inline DeploymentDataSummary& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;}
93 inline DeploymentDataSummary& WithPatternName(const char* value) { SetPatternName(value); return *this;}
95
97
100 inline const DeploymentStatus& GetStatus() const{ return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 inline void SetStatus(const DeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
103 inline void SetStatus(DeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
104 inline DeploymentDataSummary& WithStatus(const DeploymentStatus& value) { SetStatus(value); return *this;}
105 inline DeploymentDataSummary& WithStatus(DeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
107
109
112 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
113 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
114 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
115 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
116 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
117 inline DeploymentDataSummary& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
118 inline DeploymentDataSummary& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
119 inline DeploymentDataSummary& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
121 private:
122
123 Aws::Utils::DateTime m_createdAt;
124 bool m_createdAtHasBeenSet = false;
125
126 Aws::String m_id;
127 bool m_idHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 Aws::String m_patternName;
133 bool m_patternNameHasBeenSet = false;
134
135 DeploymentStatus m_status;
136 bool m_statusHasBeenSet = false;
137
138 Aws::String m_workloadName;
139 bool m_workloadNameHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace LaunchWizard
144} // namespace Aws
DeploymentDataSummary & WithPatternName(Aws::String &&value)
DeploymentDataSummary & WithPatternName(const Aws::String &value)
DeploymentDataSummary & WithStatus(const DeploymentStatus &value)
DeploymentDataSummary & WithId(const Aws::String &value)
DeploymentDataSummary & WithWorkloadName(Aws::String &&value)
DeploymentDataSummary & WithName(Aws::String &&value)
DeploymentDataSummary & WithPatternName(const char *value)
DeploymentDataSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
DeploymentDataSummary & WithStatus(DeploymentStatus &&value)
DeploymentDataSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
AWS_LAUNCHWIZARD_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_LAUNCHWIZARD_API DeploymentDataSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentDataSummary & WithWorkloadName(const char *value)
DeploymentDataSummary & WithName(const Aws::String &value)
DeploymentDataSummary & WithWorkloadName(const Aws::String &value)
DeploymentDataSummary & WithId(const char *value)
DeploymentDataSummary & WithId(Aws::String &&value)
AWS_LAUNCHWIZARD_API DeploymentDataSummary(Aws::Utils::Json::JsonView jsonValue)
DeploymentDataSummary & WithName(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue