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/comprehend/Comprehend_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 namespace Utils 14 { 15 namespace Json 16 { 17 class JsonValue; 18 class JsonView; 19 } // namespace Json 20 } // namespace Utils 21 namespace Comprehend 22 { 23 namespace Model 24 { 25 26 /** 27 * <p>Describes the annotations associated with a entity recognizer.</p><p><h3>See 28 * Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/EntityRecognizerAnnotations">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_COMPREHEND_API EntityRecognizerAnnotations 33 { 34 public: 35 EntityRecognizerAnnotations(); 36 EntityRecognizerAnnotations(Aws::Utils::Json::JsonView jsonValue); 37 EntityRecognizerAnnotations& operator=(Aws::Utils::Json::JsonView jsonValue); 38 Aws::Utils::Json::JsonValue Jsonize() const; 39 40 41 /** 42 * <p> Specifies the Amazon S3 location where the annotations for an entity 43 * recognizer are located. The URI must be in the same region as the API endpoint 44 * that you are calling.</p> 45 */ GetS3Uri()46 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } 47 48 /** 49 * <p> Specifies the Amazon S3 location where the annotations for an entity 50 * recognizer are located. The URI must be in the same region as the API endpoint 51 * that you are calling.</p> 52 */ S3UriHasBeenSet()53 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } 54 55 /** 56 * <p> Specifies the Amazon S3 location where the annotations for an entity 57 * recognizer are located. The URI must be in the same region as the API endpoint 58 * that you are calling.</p> 59 */ SetS3Uri(const Aws::String & value)60 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } 61 62 /** 63 * <p> Specifies the Amazon S3 location where the annotations for an entity 64 * recognizer are located. The URI must be in the same region as the API endpoint 65 * that you are calling.</p> 66 */ SetS3Uri(Aws::String && value)67 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } 68 69 /** 70 * <p> Specifies the Amazon S3 location where the annotations for an entity 71 * recognizer are located. The URI must be in the same region as the API endpoint 72 * that you are calling.</p> 73 */ SetS3Uri(const char * value)74 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } 75 76 /** 77 * <p> Specifies the Amazon S3 location where the annotations for an entity 78 * recognizer are located. The URI must be in the same region as the API endpoint 79 * that you are calling.</p> 80 */ WithS3Uri(const Aws::String & value)81 inline EntityRecognizerAnnotations& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} 82 83 /** 84 * <p> Specifies the Amazon S3 location where the annotations for an entity 85 * recognizer are located. The URI must be in the same region as the API endpoint 86 * that you are calling.</p> 87 */ WithS3Uri(Aws::String && value)88 inline EntityRecognizerAnnotations& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} 89 90 /** 91 * <p> Specifies the Amazon S3 location where the annotations for an entity 92 * recognizer are located. The URI must be in the same region as the API endpoint 93 * that you are calling.</p> 94 */ WithS3Uri(const char * value)95 inline EntityRecognizerAnnotations& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} 96 97 98 /** 99 * <p>This specifies the Amazon S3 location where the test annotations for an 100 * entity recognizer are located. The URI must be in the same AWS Region as the API 101 * endpoint that you are calling.</p> 102 */ GetTestS3Uri()103 inline const Aws::String& GetTestS3Uri() const{ return m_testS3Uri; } 104 105 /** 106 * <p>This specifies the Amazon S3 location where the test annotations for an 107 * entity recognizer are located. The URI must be in the same AWS Region as the API 108 * endpoint that you are calling.</p> 109 */ TestS3UriHasBeenSet()110 inline bool TestS3UriHasBeenSet() const { return m_testS3UriHasBeenSet; } 111 112 /** 113 * <p>This specifies the Amazon S3 location where the test annotations for an 114 * entity recognizer are located. The URI must be in the same AWS Region as the API 115 * endpoint that you are calling.</p> 116 */ SetTestS3Uri(const Aws::String & value)117 inline void SetTestS3Uri(const Aws::String& value) { m_testS3UriHasBeenSet = true; m_testS3Uri = value; } 118 119 /** 120 * <p>This specifies the Amazon S3 location where the test annotations for an 121 * entity recognizer are located. The URI must be in the same AWS Region as the API 122 * endpoint that you are calling.</p> 123 */ SetTestS3Uri(Aws::String && value)124 inline void SetTestS3Uri(Aws::String&& value) { m_testS3UriHasBeenSet = true; m_testS3Uri = std::move(value); } 125 126 /** 127 * <p>This specifies the Amazon S3 location where the test annotations for an 128 * entity recognizer are located. The URI must be in the same AWS Region as the API 129 * endpoint that you are calling.</p> 130 */ SetTestS3Uri(const char * value)131 inline void SetTestS3Uri(const char* value) { m_testS3UriHasBeenSet = true; m_testS3Uri.assign(value); } 132 133 /** 134 * <p>This specifies the Amazon S3 location where the test annotations for an 135 * entity recognizer are located. The URI must be in the same AWS Region as the API 136 * endpoint that you are calling.</p> 137 */ WithTestS3Uri(const Aws::String & value)138 inline EntityRecognizerAnnotations& WithTestS3Uri(const Aws::String& value) { SetTestS3Uri(value); return *this;} 139 140 /** 141 * <p>This specifies the Amazon S3 location where the test annotations for an 142 * entity recognizer are located. The URI must be in the same AWS Region as the API 143 * endpoint that you are calling.</p> 144 */ WithTestS3Uri(Aws::String && value)145 inline EntityRecognizerAnnotations& WithTestS3Uri(Aws::String&& value) { SetTestS3Uri(std::move(value)); return *this;} 146 147 /** 148 * <p>This specifies the Amazon S3 location where the test annotations for an 149 * entity recognizer are located. The URI must be in the same AWS Region as the API 150 * endpoint that you are calling.</p> 151 */ WithTestS3Uri(const char * value)152 inline EntityRecognizerAnnotations& WithTestS3Uri(const char* value) { SetTestS3Uri(value); return *this;} 153 154 private: 155 156 Aws::String m_s3Uri; 157 bool m_s3UriHasBeenSet; 158 159 Aws::String m_testS3Uri; 160 bool m_testS3UriHasBeenSet; 161 }; 162 163 } // namespace Model 164 } // namespace Comprehend 165 } // namespace Aws 166