/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of the properties of a recommender update. For a complete
* listing, call the DescribeRecommender
* API.See Also:
AWS
* API Reference
The configuration details of the recommender update.
*/ inline const RecommenderConfig& GetRecommenderConfig() const{ return m_recommenderConfig; } /** *The configuration details of the recommender update.
*/ inline bool RecommenderConfigHasBeenSet() const { return m_recommenderConfigHasBeenSet; } /** *The configuration details of the recommender update.
*/ inline void SetRecommenderConfig(const RecommenderConfig& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = value; } /** *The configuration details of the recommender update.
*/ inline void SetRecommenderConfig(RecommenderConfig&& value) { m_recommenderConfigHasBeenSet = true; m_recommenderConfig = std::move(value); } /** *The configuration details of the recommender update.
*/ inline RecommenderUpdateSummary& WithRecommenderConfig(const RecommenderConfig& value) { SetRecommenderConfig(value); return *this;} /** *The configuration details of the recommender update.
*/ inline RecommenderUpdateSummary& WithRecommenderConfig(RecommenderConfig&& value) { SetRecommenderConfig(std::move(value)); return *this;} /** *The date and time (in Unix format) that the recommender update was * created.
*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *The date and time (in Unix format) that the recommender update was * created.
*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *The date and time (in Unix format) that the recommender update was * created.
*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *The date and time (in Unix format) that the recommender update was * created.
*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *The date and time (in Unix format) that the recommender update was * created.
*/ inline RecommenderUpdateSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *The date and time (in Unix format) that the recommender update was * created.
*/ inline RecommenderUpdateSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *The date and time (in Unix time) that the recommender update was last * updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *The date and time (in Unix time) that the recommender update was last * updated.
*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *The date and time (in Unix time) that the recommender update was last * updated.
*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *The date and time (in Unix time) that the recommender update was last * updated.
*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *The date and time (in Unix time) that the recommender update was last * updated.
*/ inline RecommenderUpdateSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *The date and time (in Unix time) that the recommender update was last * updated.
*/ inline RecommenderUpdateSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
The status of the recommender update.
A recommender can be in one of * the following states:
CREATE PENDING > CREATE IN_PROGRESS * > ACTIVE -or- CREATE FAILED
STOP PENDING > STOP * IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS > * ACTIVE
DELETE PENDING > DELETE IN_PROGRESS
If a recommender update fails, the reason behind the failure.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *If a recommender update fails, the reason behind the failure.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *If a recommender update fails, the reason behind the failure.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *If a recommender update fails, the reason behind the failure.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *If a recommender update fails, the reason behind the failure.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *If a recommender update fails, the reason behind the failure.
*/ inline RecommenderUpdateSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *If a recommender update fails, the reason behind the failure.
*/ inline RecommenderUpdateSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *If a recommender update fails, the reason behind the failure.
*/ inline RecommenderUpdateSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} private: RecommenderConfig m_recommenderConfig; bool m_recommenderConfigHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws