7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10#include <aws/sesv2/model/RecommendationImpact.h>
11#include <aws/sesv2/model/RecommendationStatus.h>
12#include <aws/sesv2/model/RecommendationType.h>
45 template <
typename ResourceArnT = Aws::String>
47 m_resourceArnHasBeenSet =
true;
48 m_resourceArn = std::forward<ResourceArnT>(value);
50 template <
typename ResourceArnT = Aws::String>
66 m_typeHasBeenSet =
true;
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
102 m_statusHasBeenSet =
true;
118 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
120 m_createdTimestampHasBeenSet =
true;
121 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
123 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
136 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
138 m_lastUpdatedTimestampHasBeenSet =
true;
139 m_lastUpdatedTimestamp = std::forward<LastUpdatedTimestampT>(value);
141 template <
typename LastUpdatedTimestampT = Aws::Utils::DateTime>
156 m_impactHasBeenSet =
true;
178 bool m_resourceArnHasBeenSet =
false;
179 bool m_typeHasBeenSet =
false;
180 bool m_descriptionHasBeenSet =
false;
181 bool m_statusHasBeenSet =
false;
182 bool m_createdTimestampHasBeenSet =
false;
183 bool m_lastUpdatedTimestampHasBeenSet =
false;
184 bool m_impactHasBeenSet =
false;
Recommendation & WithImpact(RecommendationImpact value)
void SetLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
Recommendation & WithResourceArn(ResourceArnT &&value)
bool LastUpdatedTimestampHasBeenSet() const
bool CreatedTimestampHasBeenSet() const
bool ResourceArnHasBeenSet() const
bool TypeHasBeenSet() const
bool StatusHasBeenSet() const
void SetType(RecommendationType value)
RecommendationImpact GetImpact() const
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
bool ImpactHasBeenSet() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
RecommendationType GetType() const
const Aws::String & GetDescription() const
void SetStatus(RecommendationStatus value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationStatus GetStatus() const
AWS_SESV2_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Recommendation()=default
AWS_SESV2_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetResourceArn() const
Recommendation & WithType(RecommendationType value)
Recommendation & WithLastUpdatedTimestamp(LastUpdatedTimestampT &&value)
void SetImpact(RecommendationImpact value)
Recommendation & WithStatus(RecommendationStatus value)
bool DescriptionHasBeenSet() const
void SetResourceArn(ResourceArnT &&value)
Recommendation & WithCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue