7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/DeploymentEventType.h>
9#include <aws/appconfig/model/TriggeredBy.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/appconfig/model/ActionInvocation.h>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 template<
typename DescriptionT = Aws::String>
91 template<
typename ActionInvocationsT = Aws::Vector<ActionInvocation>>
92 void SetActionInvocations(ActionInvocationsT&& value) { m_actionInvocationsHasBeenSet =
true; m_actionInvocations = std::forward<ActionInvocationsT>(value); }
93 template<
typename ActionInvocationsT = Aws::Vector<ActionInvocation>>
95 template<
typename ActionInvocationsT = ActionInvocation>
96 DeploymentEvent&
AddActionInvocations(ActionInvocationsT&& value) { m_actionInvocationsHasBeenSet =
true; m_actionInvocations.emplace_back(std::forward<ActionInvocationsT>(value));
return *
this; }
105 template<
typename OccurredAtT = Aws::Utils::DateTime>
106 void SetOccurredAt(OccurredAtT&& value) { m_occurredAtHasBeenSet =
true; m_occurredAt = std::forward<OccurredAtT>(value); }
107 template<
typename OccurredAtT = Aws::Utils::DateTime>
113 bool m_eventTypeHasBeenSet =
false;
116 bool m_triggeredByHasBeenSet =
false;
119 bool m_descriptionHasBeenSet =
false;
122 bool m_actionInvocationsHasBeenSet =
false;
125 bool m_occurredAtHasBeenSet =
false;
AWS_APPCONFIG_API DeploymentEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
DeploymentEvent & WithEventType(DeploymentEventType value)
void SetTriggeredBy(TriggeredBy value)
DeploymentEvent & AddActionInvocations(ActionInvocationsT &&value)
TriggeredBy GetTriggeredBy() const
DeploymentEvent & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetOccurredAt() const
bool TriggeredByHasBeenSet() const
void SetActionInvocations(ActionInvocationsT &&value)
const Aws::Vector< ActionInvocation > & GetActionInvocations() const
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
bool DescriptionHasBeenSet() const
bool ActionInvocationsHasBeenSet() const
DeploymentEventType GetEventType() const
AWS_APPCONFIG_API DeploymentEvent()=default
bool EventTypeHasBeenSet() const
bool OccurredAtHasBeenSet() const
void SetEventType(DeploymentEventType value)
AWS_APPCONFIG_API DeploymentEvent(Aws::Utils::Json::JsonView jsonValue)
DeploymentEvent & WithTriggeredBy(TriggeredBy value)
void SetOccurredAt(OccurredAtT &&value)
const Aws::String & GetDescription() const
DeploymentEvent & WithActionInvocations(ActionInvocationsT &&value)
DeploymentEvent & WithOccurredAt(OccurredAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue