1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/pinpoint/Pinpoint_EXPORTS.h> 8 #include <aws/pinpoint/PinpointRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Pinpoint 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_PINPOINT_API DeleteRecommenderConfigurationRequest : public PinpointRequest 22 { 23 public: 24 DeleteRecommenderConfigurationRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DeleteRecommenderConfiguration"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The unique identifier for the recommender model configuration. This 37 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 38 * console.</p> 39 */ GetRecommenderId()40 inline const Aws::String& GetRecommenderId() const{ return m_recommenderId; } 41 42 /** 43 * <p>The unique identifier for the recommender model configuration. This 44 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 45 * console.</p> 46 */ RecommenderIdHasBeenSet()47 inline bool RecommenderIdHasBeenSet() const { return m_recommenderIdHasBeenSet; } 48 49 /** 50 * <p>The unique identifier for the recommender model configuration. This 51 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 52 * console.</p> 53 */ SetRecommenderId(const Aws::String & value)54 inline void SetRecommenderId(const Aws::String& value) { m_recommenderIdHasBeenSet = true; m_recommenderId = value; } 55 56 /** 57 * <p>The unique identifier for the recommender model configuration. This 58 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 59 * console.</p> 60 */ SetRecommenderId(Aws::String && value)61 inline void SetRecommenderId(Aws::String&& value) { m_recommenderIdHasBeenSet = true; m_recommenderId = std::move(value); } 62 63 /** 64 * <p>The unique identifier for the recommender model configuration. This 65 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 66 * console.</p> 67 */ SetRecommenderId(const char * value)68 inline void SetRecommenderId(const char* value) { m_recommenderIdHasBeenSet = true; m_recommenderId.assign(value); } 69 70 /** 71 * <p>The unique identifier for the recommender model configuration. This 72 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 73 * console.</p> 74 */ WithRecommenderId(const Aws::String & value)75 inline DeleteRecommenderConfigurationRequest& WithRecommenderId(const Aws::String& value) { SetRecommenderId(value); return *this;} 76 77 /** 78 * <p>The unique identifier for the recommender model configuration. This 79 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 80 * console.</p> 81 */ WithRecommenderId(Aws::String && value)82 inline DeleteRecommenderConfigurationRequest& WithRecommenderId(Aws::String&& value) { SetRecommenderId(std::move(value)); return *this;} 83 84 /** 85 * <p>The unique identifier for the recommender model configuration. This 86 * identifier is displayed as the <b>Recommender ID</b> on the Amazon Pinpoint 87 * console.</p> 88 */ WithRecommenderId(const char * value)89 inline DeleteRecommenderConfigurationRequest& WithRecommenderId(const char* value) { SetRecommenderId(value); return *this;} 90 91 private: 92 93 Aws::String m_recommenderId; 94 bool m_recommenderIdHasBeenSet; 95 }; 96 97 } // namespace Model 98 } // namespace Pinpoint 99 } // namespace Aws 100