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/marketplace-catalog/MarketplaceCatalog_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace MarketplaceCatalog 24 { 25 namespace Model 26 { 27 class AWS_MARKETPLACECATALOG_API DescribeEntityResult 28 { 29 public: 30 DescribeEntityResult(); 31 DescribeEntityResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DescribeEntityResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The named type of the entity, in the format of 37 * <code>EntityType@Version</code>.</p> 38 */ GetEntityType()39 inline const Aws::String& GetEntityType() const{ return m_entityType; } 40 41 /** 42 * <p>The named type of the entity, in the format of 43 * <code>EntityType@Version</code>.</p> 44 */ SetEntityType(const Aws::String & value)45 inline void SetEntityType(const Aws::String& value) { m_entityType = value; } 46 47 /** 48 * <p>The named type of the entity, in the format of 49 * <code>EntityType@Version</code>.</p> 50 */ SetEntityType(Aws::String && value)51 inline void SetEntityType(Aws::String&& value) { m_entityType = std::move(value); } 52 53 /** 54 * <p>The named type of the entity, in the format of 55 * <code>EntityType@Version</code>.</p> 56 */ SetEntityType(const char * value)57 inline void SetEntityType(const char* value) { m_entityType.assign(value); } 58 59 /** 60 * <p>The named type of the entity, in the format of 61 * <code>EntityType@Version</code>.</p> 62 */ WithEntityType(const Aws::String & value)63 inline DescribeEntityResult& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;} 64 65 /** 66 * <p>The named type of the entity, in the format of 67 * <code>EntityType@Version</code>.</p> 68 */ WithEntityType(Aws::String && value)69 inline DescribeEntityResult& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;} 70 71 /** 72 * <p>The named type of the entity, in the format of 73 * <code>EntityType@Version</code>.</p> 74 */ WithEntityType(const char * value)75 inline DescribeEntityResult& WithEntityType(const char* value) { SetEntityType(value); return *this;} 76 77 78 /** 79 * <p>The identifier of the entity, in the format of 80 * <code>EntityId@RevisionId</code>.</p> 81 */ GetEntityIdentifier()82 inline const Aws::String& GetEntityIdentifier() const{ return m_entityIdentifier; } 83 84 /** 85 * <p>The identifier of the entity, in the format of 86 * <code>EntityId@RevisionId</code>.</p> 87 */ SetEntityIdentifier(const Aws::String & value)88 inline void SetEntityIdentifier(const Aws::String& value) { m_entityIdentifier = value; } 89 90 /** 91 * <p>The identifier of the entity, in the format of 92 * <code>EntityId@RevisionId</code>.</p> 93 */ SetEntityIdentifier(Aws::String && value)94 inline void SetEntityIdentifier(Aws::String&& value) { m_entityIdentifier = std::move(value); } 95 96 /** 97 * <p>The identifier of the entity, in the format of 98 * <code>EntityId@RevisionId</code>.</p> 99 */ SetEntityIdentifier(const char * value)100 inline void SetEntityIdentifier(const char* value) { m_entityIdentifier.assign(value); } 101 102 /** 103 * <p>The identifier of the entity, in the format of 104 * <code>EntityId@RevisionId</code>.</p> 105 */ WithEntityIdentifier(const Aws::String & value)106 inline DescribeEntityResult& WithEntityIdentifier(const Aws::String& value) { SetEntityIdentifier(value); return *this;} 107 108 /** 109 * <p>The identifier of the entity, in the format of 110 * <code>EntityId@RevisionId</code>.</p> 111 */ WithEntityIdentifier(Aws::String && value)112 inline DescribeEntityResult& WithEntityIdentifier(Aws::String&& value) { SetEntityIdentifier(std::move(value)); return *this;} 113 114 /** 115 * <p>The identifier of the entity, in the format of 116 * <code>EntityId@RevisionId</code>.</p> 117 */ WithEntityIdentifier(const char * value)118 inline DescribeEntityResult& WithEntityIdentifier(const char* value) { SetEntityIdentifier(value); return *this;} 119 120 121 /** 122 * <p>The ARN associated to the unique identifier for the change set referenced in 123 * this request.</p> 124 */ GetEntityArn()125 inline const Aws::String& GetEntityArn() const{ return m_entityArn; } 126 127 /** 128 * <p>The ARN associated to the unique identifier for the change set referenced in 129 * this request.</p> 130 */ SetEntityArn(const Aws::String & value)131 inline void SetEntityArn(const Aws::String& value) { m_entityArn = value; } 132 133 /** 134 * <p>The ARN associated to the unique identifier for the change set referenced in 135 * this request.</p> 136 */ SetEntityArn(Aws::String && value)137 inline void SetEntityArn(Aws::String&& value) { m_entityArn = std::move(value); } 138 139 /** 140 * <p>The ARN associated to the unique identifier for the change set referenced in 141 * this request.</p> 142 */ SetEntityArn(const char * value)143 inline void SetEntityArn(const char* value) { m_entityArn.assign(value); } 144 145 /** 146 * <p>The ARN associated to the unique identifier for the change set referenced in 147 * this request.</p> 148 */ WithEntityArn(const Aws::String & value)149 inline DescribeEntityResult& WithEntityArn(const Aws::String& value) { SetEntityArn(value); return *this;} 150 151 /** 152 * <p>The ARN associated to the unique identifier for the change set referenced in 153 * this request.</p> 154 */ WithEntityArn(Aws::String && value)155 inline DescribeEntityResult& WithEntityArn(Aws::String&& value) { SetEntityArn(std::move(value)); return *this;} 156 157 /** 158 * <p>The ARN associated to the unique identifier for the change set referenced in 159 * this request.</p> 160 */ WithEntityArn(const char * value)161 inline DescribeEntityResult& WithEntityArn(const char* value) { SetEntityArn(value); return *this;} 162 163 164 /** 165 * <p>The last modified date of the entity, in ISO 8601 format 166 * (2018-02-27T13:45:22Z).</p> 167 */ GetLastModifiedDate()168 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; } 169 170 /** 171 * <p>The last modified date of the entity, in ISO 8601 format 172 * (2018-02-27T13:45:22Z).</p> 173 */ SetLastModifiedDate(const Aws::String & value)174 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDate = value; } 175 176 /** 177 * <p>The last modified date of the entity, in ISO 8601 format 178 * (2018-02-27T13:45:22Z).</p> 179 */ SetLastModifiedDate(Aws::String && value)180 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDate = std::move(value); } 181 182 /** 183 * <p>The last modified date of the entity, in ISO 8601 format 184 * (2018-02-27T13:45:22Z).</p> 185 */ SetLastModifiedDate(const char * value)186 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDate.assign(value); } 187 188 /** 189 * <p>The last modified date of the entity, in ISO 8601 format 190 * (2018-02-27T13:45:22Z).</p> 191 */ WithLastModifiedDate(const Aws::String & value)192 inline DescribeEntityResult& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;} 193 194 /** 195 * <p>The last modified date of the entity, in ISO 8601 format 196 * (2018-02-27T13:45:22Z).</p> 197 */ WithLastModifiedDate(Aws::String && value)198 inline DescribeEntityResult& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;} 199 200 /** 201 * <p>The last modified date of the entity, in ISO 8601 format 202 * (2018-02-27T13:45:22Z).</p> 203 */ WithLastModifiedDate(const char * value)204 inline DescribeEntityResult& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;} 205 206 207 /** 208 * <p>This stringified JSON object includes the details of the entity.</p> 209 */ GetDetails()210 inline const Aws::String& GetDetails() const{ return m_details; } 211 212 /** 213 * <p>This stringified JSON object includes the details of the entity.</p> 214 */ SetDetails(const Aws::String & value)215 inline void SetDetails(const Aws::String& value) { m_details = value; } 216 217 /** 218 * <p>This stringified JSON object includes the details of the entity.</p> 219 */ SetDetails(Aws::String && value)220 inline void SetDetails(Aws::String&& value) { m_details = std::move(value); } 221 222 /** 223 * <p>This stringified JSON object includes the details of the entity.</p> 224 */ SetDetails(const char * value)225 inline void SetDetails(const char* value) { m_details.assign(value); } 226 227 /** 228 * <p>This stringified JSON object includes the details of the entity.</p> 229 */ WithDetails(const Aws::String & value)230 inline DescribeEntityResult& WithDetails(const Aws::String& value) { SetDetails(value); return *this;} 231 232 /** 233 * <p>This stringified JSON object includes the details of the entity.</p> 234 */ WithDetails(Aws::String && value)235 inline DescribeEntityResult& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;} 236 237 /** 238 * <p>This stringified JSON object includes the details of the entity.</p> 239 */ WithDetails(const char * value)240 inline DescribeEntityResult& WithDetails(const char* value) { SetDetails(value); return *this;} 241 242 private: 243 244 Aws::String m_entityType; 245 246 Aws::String m_entityIdentifier; 247 248 Aws::String m_entityArn; 249 250 Aws::String m_lastModifiedDate; 251 252 Aws::String m_details; 253 }; 254 255 } // namespace Model 256 } // namespace MarketplaceCatalog 257 } // namespace Aws 258