AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfileNotificationSummary.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/model/ProfileNotificationType.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 WellArchitected
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WELLARCHITECTED_API ProfileNotificationSummary();
36 AWS_WELLARCHITECTED_API ProfileNotificationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCurrentProfileVersion() const{ return m_currentProfileVersion; }
46 inline bool CurrentProfileVersionHasBeenSet() const { return m_currentProfileVersionHasBeenSet; }
47 inline void SetCurrentProfileVersion(const Aws::String& value) { m_currentProfileVersionHasBeenSet = true; m_currentProfileVersion = value; }
48 inline void SetCurrentProfileVersion(Aws::String&& value) { m_currentProfileVersionHasBeenSet = true; m_currentProfileVersion = std::move(value); }
49 inline void SetCurrentProfileVersion(const char* value) { m_currentProfileVersionHasBeenSet = true; m_currentProfileVersion.assign(value); }
52 inline ProfileNotificationSummary& WithCurrentProfileVersion(const char* value) { SetCurrentProfileVersion(value); return *this;}
54
56
59 inline const Aws::String& GetLatestProfileVersion() const{ return m_latestProfileVersion; }
60 inline bool LatestProfileVersionHasBeenSet() const { return m_latestProfileVersionHasBeenSet; }
61 inline void SetLatestProfileVersion(const Aws::String& value) { m_latestProfileVersionHasBeenSet = true; m_latestProfileVersion = value; }
62 inline void SetLatestProfileVersion(Aws::String&& value) { m_latestProfileVersionHasBeenSet = true; m_latestProfileVersion = std::move(value); }
63 inline void SetLatestProfileVersion(const char* value) { m_latestProfileVersionHasBeenSet = true; m_latestProfileVersion.assign(value); }
66 inline ProfileNotificationSummary& WithLatestProfileVersion(const char* value) { SetLatestProfileVersion(value); return *this;}
68
70
73 inline const ProfileNotificationType& GetType() const{ return m_type; }
74 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
75 inline void SetType(const ProfileNotificationType& value) { m_typeHasBeenSet = true; m_type = value; }
76 inline void SetType(ProfileNotificationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
77 inline ProfileNotificationSummary& WithType(const ProfileNotificationType& value) { SetType(value); return *this;}
78 inline ProfileNotificationSummary& WithType(ProfileNotificationType&& value) { SetType(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetProfileArn() const{ return m_profileArn; }
86 inline bool ProfileArnHasBeenSet() const { return m_profileArnHasBeenSet; }
87 inline void SetProfileArn(const Aws::String& value) { m_profileArnHasBeenSet = true; m_profileArn = value; }
88 inline void SetProfileArn(Aws::String&& value) { m_profileArnHasBeenSet = true; m_profileArn = std::move(value); }
89 inline void SetProfileArn(const char* value) { m_profileArnHasBeenSet = true; m_profileArn.assign(value); }
90 inline ProfileNotificationSummary& WithProfileArn(const Aws::String& value) { SetProfileArn(value); return *this;}
91 inline ProfileNotificationSummary& WithProfileArn(Aws::String&& value) { SetProfileArn(std::move(value)); return *this;}
92 inline ProfileNotificationSummary& WithProfileArn(const char* value) { SetProfileArn(value); return *this;}
94
96
99 inline const Aws::String& GetProfileName() const{ return m_profileName; }
100 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
101 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
102 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
103 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
104 inline ProfileNotificationSummary& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
105 inline ProfileNotificationSummary& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
106 inline ProfileNotificationSummary& WithProfileName(const char* value) { SetProfileName(value); return *this;}
108
110
111 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
112 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
113 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
114 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
115 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
116 inline ProfileNotificationSummary& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
117 inline ProfileNotificationSummary& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
118 inline ProfileNotificationSummary& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
120
122
123 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
124 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
125 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
126 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
127 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
128 inline ProfileNotificationSummary& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
129 inline ProfileNotificationSummary& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
130 inline ProfileNotificationSummary& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
132 private:
133
134 Aws::String m_currentProfileVersion;
135 bool m_currentProfileVersionHasBeenSet = false;
136
137 Aws::String m_latestProfileVersion;
138 bool m_latestProfileVersionHasBeenSet = false;
139
141 bool m_typeHasBeenSet = false;
142
143 Aws::String m_profileArn;
144 bool m_profileArnHasBeenSet = false;
145
146 Aws::String m_profileName;
147 bool m_profileNameHasBeenSet = false;
148
149 Aws::String m_workloadId;
150 bool m_workloadIdHasBeenSet = false;
151
152 Aws::String m_workloadName;
153 bool m_workloadNameHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace WellArchitected
158} // namespace Aws
ProfileNotificationSummary & WithProfileName(Aws::String &&value)
ProfileNotificationSummary & WithType(ProfileNotificationType &&value)
ProfileNotificationSummary & WithCurrentProfileVersion(const char *value)
ProfileNotificationSummary & WithProfileArn(const char *value)
ProfileNotificationSummary & WithWorkloadId(const char *value)
ProfileNotificationSummary & WithLatestProfileVersion(Aws::String &&value)
ProfileNotificationSummary & WithProfileName(const char *value)
ProfileNotificationSummary & WithProfileArn(Aws::String &&value)
ProfileNotificationSummary & WithLatestProfileVersion(const char *value)
ProfileNotificationSummary & WithLatestProfileVersion(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
ProfileNotificationSummary & WithCurrentProfileVersion(const Aws::String &value)
ProfileNotificationSummary & WithProfileArn(const Aws::String &value)
AWS_WELLARCHITECTED_API ProfileNotificationSummary(Aws::Utils::Json::JsonView jsonValue)
ProfileNotificationSummary & WithWorkloadName(const char *value)
ProfileNotificationSummary & WithWorkloadId(const Aws::String &value)
ProfileNotificationSummary & WithCurrentProfileVersion(Aws::String &&value)
ProfileNotificationSummary & WithWorkloadId(Aws::String &&value)
ProfileNotificationSummary & WithType(const ProfileNotificationType &value)
ProfileNotificationSummary & WithWorkloadName(const Aws::String &value)
ProfileNotificationSummary & WithWorkloadName(Aws::String &&value)
ProfileNotificationSummary & WithProfileName(const Aws::String &value)
AWS_WELLARCHITECTED_API ProfileNotificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue