AWS SDK for C++  1.9.110
AWS SDK for C++
DeploymentEvent.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppConfig
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
48  inline const DeploymentEventType& GetEventType() const{ return m_eventType; }
49 
55  inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; }
56 
62  inline void SetEventType(const DeploymentEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; }
63 
69  inline void SetEventType(DeploymentEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); }
70 
76  inline DeploymentEvent& WithEventType(const DeploymentEventType& value) { SetEventType(value); return *this;}
77 
83  inline DeploymentEvent& WithEventType(DeploymentEventType&& value) { SetEventType(std::move(value)); return *this;}
84 
85 
90  inline const TriggeredBy& GetTriggeredBy() const{ return m_triggeredBy; }
91 
96  inline bool TriggeredByHasBeenSet() const { return m_triggeredByHasBeenSet; }
97 
102  inline void SetTriggeredBy(const TriggeredBy& value) { m_triggeredByHasBeenSet = true; m_triggeredBy = value; }
103 
108  inline void SetTriggeredBy(TriggeredBy&& value) { m_triggeredByHasBeenSet = true; m_triggeredBy = std::move(value); }
109 
114  inline DeploymentEvent& WithTriggeredBy(const TriggeredBy& value) { SetTriggeredBy(value); return *this;}
115 
120  inline DeploymentEvent& WithTriggeredBy(TriggeredBy&& value) { SetTriggeredBy(std::move(value)); return *this;}
121 
122 
129  inline const Aws::String& GetDescription() const{ return m_description; }
130 
137  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 
145  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
146 
153  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
154 
161  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
162 
169  inline DeploymentEvent& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
170 
177  inline DeploymentEvent& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
178 
185  inline DeploymentEvent& WithDescription(const char* value) { SetDescription(value); return *this;}
186 
187 
191  inline const Aws::Utils::DateTime& GetOccurredAt() const{ return m_occurredAt; }
192 
196  inline bool OccurredAtHasBeenSet() const { return m_occurredAtHasBeenSet; }
197 
201  inline void SetOccurredAt(const Aws::Utils::DateTime& value) { m_occurredAtHasBeenSet = true; m_occurredAt = value; }
202 
206  inline void SetOccurredAt(Aws::Utils::DateTime&& value) { m_occurredAtHasBeenSet = true; m_occurredAt = std::move(value); }
207 
211  inline DeploymentEvent& WithOccurredAt(const Aws::Utils::DateTime& value) { SetOccurredAt(value); return *this;}
212 
216  inline DeploymentEvent& WithOccurredAt(Aws::Utils::DateTime&& value) { SetOccurredAt(std::move(value)); return *this;}
217 
218  private:
219 
220  DeploymentEventType m_eventType;
221  bool m_eventTypeHasBeenSet;
222 
223  TriggeredBy m_triggeredBy;
224  bool m_triggeredByHasBeenSet;
225 
226  Aws::String m_description;
227  bool m_descriptionHasBeenSet;
228 
229  Aws::Utils::DateTime m_occurredAt;
230  bool m_occurredAtHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace AppConfig
235 } // namespace Aws
Aws::AppConfig::Model::DeploymentEvent::SetOccurredAt
void SetOccurredAt(const Aws::Utils::DateTime &value)
Definition: DeploymentEvent.h:201
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AppConfig::Model::DeploymentEvent::GetTriggeredBy
const TriggeredBy & GetTriggeredBy() const
Definition: DeploymentEvent.h:90
Aws::AppConfig::Model::DeploymentEvent::WithDescription
DeploymentEvent & WithDescription(const Aws::String &value)
Definition: DeploymentEvent.h:169
Aws::AppConfig::Model::DeploymentEvent::GetDescription
const Aws::String & GetDescription() const
Definition: DeploymentEvent.h:129
Aws::AppConfig::Model::DeploymentEvent::SetDescription
void SetDescription(Aws::String &&value)
Definition: DeploymentEvent.h:153
Aws::AppConfig::Model::DeploymentEvent::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
TriggeredBy.h
Aws::AppConfig::Model::DeploymentEvent::OccurredAtHasBeenSet
bool OccurredAtHasBeenSet() const
Definition: DeploymentEvent.h:196
DateTime.h
Aws::AppConfig::Model::DeploymentEvent
Definition: DeploymentEvent.h:35
Aws::AppConfig::Model::DeploymentEvent::DeploymentEvent
DeploymentEvent()
Aws::AppConfig::Model::DeploymentEvent::SetOccurredAt
void SetOccurredAt(Aws::Utils::DateTime &&value)
Definition: DeploymentEvent.h:206
AppConfig_EXPORTS.h
Aws::AppConfig::Model::DeploymentEvent::WithTriggeredBy
DeploymentEvent & WithTriggeredBy(TriggeredBy &&value)
Definition: DeploymentEvent.h:120
Aws::AppConfig::Model::DeploymentEvent::SetTriggeredBy
void SetTriggeredBy(const TriggeredBy &value)
Definition: DeploymentEvent.h:102
Aws::AppConfig::Model::DeploymentEvent::WithTriggeredBy
DeploymentEvent & WithTriggeredBy(const TriggeredBy &value)
Definition: DeploymentEvent.h:114
Aws::AppConfig::Model::DeploymentEvent::SetTriggeredBy
void SetTriggeredBy(TriggeredBy &&value)
Definition: DeploymentEvent.h:108
Aws::AppConfig::Model::DeploymentEvent::WithOccurredAt
DeploymentEvent & WithOccurredAt(const Aws::Utils::DateTime &value)
Definition: DeploymentEvent.h:211
Aws::AppConfig::Model::DeploymentEventType
DeploymentEventType
Definition: DeploymentEventType.h:17
Aws::AppConfig::Model::DeploymentEvent::DeploymentEvent
DeploymentEvent(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::DeploymentEvent::GetEventType
const DeploymentEventType & GetEventType() const
Definition: DeploymentEvent.h:48
Aws::AppConfig::Model::DeploymentEvent::SetEventType
void SetEventType(const DeploymentEventType &value)
Definition: DeploymentEvent.h:62
Aws::AppConfig::Model::TriggeredBy
TriggeredBy
Definition: TriggeredBy.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::AppConfig::Model::DeploymentEvent::WithEventType
DeploymentEvent & WithEventType(const DeploymentEventType &value)
Definition: DeploymentEvent.h:76
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::DeploymentEvent::WithDescription
DeploymentEvent & WithDescription(Aws::String &&value)
Definition: DeploymentEvent.h:177
Aws::AppConfig::Model::DeploymentEvent::SetDescription
void SetDescription(const Aws::String &value)
Definition: DeploymentEvent.h:145
Aws::AppConfig::Model::DeploymentEvent::GetOccurredAt
const Aws::Utils::DateTime & GetOccurredAt() const
Definition: DeploymentEvent.h:191
Aws::AppConfig::Model::DeploymentEvent::operator=
DeploymentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::DeploymentEvent::EventTypeHasBeenSet
bool EventTypeHasBeenSet() const
Definition: DeploymentEvent.h:55
Aws::AppConfig::Model::DeploymentEvent::WithOccurredAt
DeploymentEvent & WithOccurredAt(Aws::Utils::DateTime &&value)
Definition: DeploymentEvent.h:216
Aws::AppConfig::Model::DeploymentEvent::WithDescription
DeploymentEvent & WithDescription(const char *value)
Definition: DeploymentEvent.h:185
Aws
Definition: AccessManagementClient.h:15
DeploymentEventType.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::DeploymentEvent::WithEventType
DeploymentEvent & WithEventType(DeploymentEventType &&value)
Definition: DeploymentEvent.h:83
Aws::AppConfig::Model::DeploymentEvent::SetDescription
void SetDescription(const char *value)
Definition: DeploymentEvent.h:161
Aws::AppConfig::Model::DeploymentEvent::TriggeredByHasBeenSet
bool TriggeredByHasBeenSet() const
Definition: DeploymentEvent.h:96
Aws::AppConfig::Model::DeploymentEvent::SetEventType
void SetEventType(DeploymentEventType &&value)
Definition: DeploymentEvent.h:69
Aws::AppConfig::Model::DeploymentEvent::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DeploymentEvent.h:137