7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/AssertionSource.h>
21namespace resiliencehubv2 {
41 template <
typename ServiceArnT = Aws::String>
43 m_serviceArnHasBeenSet =
true;
44 m_serviceArn = std::forward<ServiceArnT>(value);
46 template <
typename ServiceArnT = Aws::String>
59 template <
typename AssertionIdT = Aws::String>
61 m_assertionIdHasBeenSet =
true;
62 m_assertionId = std::forward<AssertionIdT>(value);
64 template <
typename AssertionIdT = Aws::String>
77 template <
typename TextT = Aws::String>
79 m_textHasBeenSet =
true;
80 m_text = std::forward<TextT>(value);
82 template <
typename TextT = Aws::String>
84 SetText(std::forward<TextT>(value));
97 m_sourceHasBeenSet =
true;
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
114 m_createdAtHasBeenSet =
true;
115 m_createdAt = std::forward<CreatedAtT>(value);
117 template <
typename CreatedAtT = Aws::Utils::DateTime>
130 template <
typename UpdatedAtT = Aws::Utils::DateTime>
132 m_updatedAtHasBeenSet =
true;
133 m_updatedAt = std::forward<UpdatedAtT>(value);
135 template <
typename UpdatedAtT = Aws::Utils::DateTime>
153 bool m_serviceArnHasBeenSet =
false;
154 bool m_assertionIdHasBeenSet =
false;
155 bool m_textHasBeenSet =
false;
156 bool m_sourceHasBeenSet =
false;
157 bool m_createdAtHasBeenSet =
false;
158 bool m_updatedAtHasBeenSet =
false;
bool SourceHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
Assertion & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
Assertion & WithText(TextT &&value)
const Aws::String & GetServiceArn() const
AWS_RESILIENCEHUBV2_API Assertion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Assertion()=default
Assertion & WithSource(AssertionSource value)
void SetText(TextT &&value)
bool CreatedAtHasBeenSet() const
Assertion & WithServiceArn(ServiceArnT &&value)
void SetAssertionId(AssertionIdT &&value)
Assertion & WithUpdatedAt(UpdatedAtT &&value)
bool TextHasBeenSet() const
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetUpdatedAt() const
bool UpdatedAtHasBeenSet() const
AWS_RESILIENCEHUBV2_API Assertion(Aws::Utils::Json::JsonView jsonValue)
void SetSource(AssertionSource value)
bool ServiceArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetText() const
void SetServiceArn(ServiceArnT &&value)
bool AssertionIdHasBeenSet() const
const Aws::String & GetAssertionId() const
Assertion & WithAssertionId(AssertionIdT &&value)
AssertionSource GetSource() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue