7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
49 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
59 template<
typename LastChangedByT = Aws::String>
60 void SetLastChangedBy(LastChangedByT&& value) { m_lastChangedByHasBeenSet =
true; m_lastChangedBy = std::forward<LastChangedByT>(value); }
61 template<
typename LastChangedByT = Aws::String>
71 template<
typename LastChangedAtT = Aws::Utils::DateTime>
72 void SetLastChangedAt(LastChangedAtT&& value) { m_lastChangedAtHasBeenSet =
true; m_lastChangedAt = std::forward<LastChangedAtT>(value); }
73 template<
typename LastChangedAtT = Aws::Utils::DateTime>
84 template<
typename DisabledReasonT = Aws::String>
85 void SetDisabledReason(DisabledReasonT&& value) { m_disabledReasonHasBeenSet =
true; m_disabledReason = std::forward<DisabledReasonT>(value); }
86 template<
typename DisabledReasonT = Aws::String>
91 bool m_enabled{
false};
92 bool m_enabledHasBeenSet =
false;
95 bool m_lastChangedByHasBeenSet =
false;
98 bool m_lastChangedAtHasBeenSet =
false;
101 bool m_disabledReasonHasBeenSet =
false;
void SetLastChangedAt(LastChangedAtT &&value)
TransitionState & WithDisabledReason(DisabledReasonT &&value)
AWS_CODEPIPELINE_API TransitionState(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLastChangedBy() const
const Aws::String & GetDisabledReason() const
TransitionState & WithLastChangedBy(LastChangedByT &&value)
bool DisabledReasonHasBeenSet() const
bool LastChangedByHasBeenSet() const
AWS_CODEPIPELINE_API TransitionState & operator=(Aws::Utils::Json::JsonView jsonValue)
TransitionState & WithLastChangedAt(LastChangedAtT &&value)
bool EnabledHasBeenSet() const
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
TransitionState & WithEnabled(bool value)
bool LastChangedAtHasBeenSet() const
AWS_CODEPIPELINE_API TransitionState()=default
const Aws::Utils::DateTime & GetLastChangedAt() const
void SetDisabledReason(DisabledReasonT &&value)
void SetLastChangedBy(LastChangedByT &&value)
void SetEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue