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/ce/CostExplorer_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <aws/ce/model/InstanceDetails.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Utils 15 { 16 namespace Json 17 { 18 class JsonValue; 19 class JsonView; 20 } // namespace Json 21 } // namespace Utils 22 namespace CostExplorer 23 { 24 namespace Model 25 { 26 27 /** 28 * <p>Details about your recommended reservation purchase.</p><p><h3>See Also:</h3> 29 * <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationPurchaseRecommendationDetail">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_COSTEXPLORER_API ReservationPurchaseRecommendationDetail 34 { 35 public: 36 ReservationPurchaseRecommendationDetail(); 37 ReservationPurchaseRecommendationDetail(Aws::Utils::Json::JsonView jsonValue); 38 ReservationPurchaseRecommendationDetail& operator=(Aws::Utils::Json::JsonView jsonValue); 39 Aws::Utils::Json::JsonValue Jsonize() const; 40 41 42 /** 43 * <p>The account that this RI recommendation is for.</p> 44 */ GetAccountId()45 inline const Aws::String& GetAccountId() const{ return m_accountId; } 46 47 /** 48 * <p>The account that this RI recommendation is for.</p> 49 */ AccountIdHasBeenSet()50 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } 51 52 /** 53 * <p>The account that this RI recommendation is for.</p> 54 */ SetAccountId(const Aws::String & value)55 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } 56 57 /** 58 * <p>The account that this RI recommendation is for.</p> 59 */ SetAccountId(Aws::String && value)60 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } 61 62 /** 63 * <p>The account that this RI recommendation is for.</p> 64 */ SetAccountId(const char * value)65 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } 66 67 /** 68 * <p>The account that this RI recommendation is for.</p> 69 */ WithAccountId(const Aws::String & value)70 inline ReservationPurchaseRecommendationDetail& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} 71 72 /** 73 * <p>The account that this RI recommendation is for.</p> 74 */ WithAccountId(Aws::String && value)75 inline ReservationPurchaseRecommendationDetail& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} 76 77 /** 78 * <p>The account that this RI recommendation is for.</p> 79 */ WithAccountId(const char * value)80 inline ReservationPurchaseRecommendationDetail& WithAccountId(const char* value) { SetAccountId(value); return *this;} 81 82 83 /** 84 * <p>Details about the instances that Amazon Web Services recommends that you 85 * purchase.</p> 86 */ GetInstanceDetails()87 inline const InstanceDetails& GetInstanceDetails() const{ return m_instanceDetails; } 88 89 /** 90 * <p>Details about the instances that Amazon Web Services recommends that you 91 * purchase.</p> 92 */ InstanceDetailsHasBeenSet()93 inline bool InstanceDetailsHasBeenSet() const { return m_instanceDetailsHasBeenSet; } 94 95 /** 96 * <p>Details about the instances that Amazon Web Services recommends that you 97 * purchase.</p> 98 */ SetInstanceDetails(const InstanceDetails & value)99 inline void SetInstanceDetails(const InstanceDetails& value) { m_instanceDetailsHasBeenSet = true; m_instanceDetails = value; } 100 101 /** 102 * <p>Details about the instances that Amazon Web Services recommends that you 103 * purchase.</p> 104 */ SetInstanceDetails(InstanceDetails && value)105 inline void SetInstanceDetails(InstanceDetails&& value) { m_instanceDetailsHasBeenSet = true; m_instanceDetails = std::move(value); } 106 107 /** 108 * <p>Details about the instances that Amazon Web Services recommends that you 109 * purchase.</p> 110 */ WithInstanceDetails(const InstanceDetails & value)111 inline ReservationPurchaseRecommendationDetail& WithInstanceDetails(const InstanceDetails& value) { SetInstanceDetails(value); return *this;} 112 113 /** 114 * <p>Details about the instances that Amazon Web Services recommends that you 115 * purchase.</p> 116 */ WithInstanceDetails(InstanceDetails && value)117 inline ReservationPurchaseRecommendationDetail& WithInstanceDetails(InstanceDetails&& value) { SetInstanceDetails(std::move(value)); return *this;} 118 119 120 /** 121 * <p>The number of instances that Amazon Web Services recommends that you 122 * purchase.</p> 123 */ GetRecommendedNumberOfInstancesToPurchase()124 inline const Aws::String& GetRecommendedNumberOfInstancesToPurchase() const{ return m_recommendedNumberOfInstancesToPurchase; } 125 126 /** 127 * <p>The number of instances that Amazon Web Services recommends that you 128 * purchase.</p> 129 */ RecommendedNumberOfInstancesToPurchaseHasBeenSet()130 inline bool RecommendedNumberOfInstancesToPurchaseHasBeenSet() const { return m_recommendedNumberOfInstancesToPurchaseHasBeenSet; } 131 132 /** 133 * <p>The number of instances that Amazon Web Services recommends that you 134 * purchase.</p> 135 */ SetRecommendedNumberOfInstancesToPurchase(const Aws::String & value)136 inline void SetRecommendedNumberOfInstancesToPurchase(const Aws::String& value) { m_recommendedNumberOfInstancesToPurchaseHasBeenSet = true; m_recommendedNumberOfInstancesToPurchase = value; } 137 138 /** 139 * <p>The number of instances that Amazon Web Services recommends that you 140 * purchase.</p> 141 */ SetRecommendedNumberOfInstancesToPurchase(Aws::String && value)142 inline void SetRecommendedNumberOfInstancesToPurchase(Aws::String&& value) { m_recommendedNumberOfInstancesToPurchaseHasBeenSet = true; m_recommendedNumberOfInstancesToPurchase = std::move(value); } 143 144 /** 145 * <p>The number of instances that Amazon Web Services recommends that you 146 * purchase.</p> 147 */ SetRecommendedNumberOfInstancesToPurchase(const char * value)148 inline void SetRecommendedNumberOfInstancesToPurchase(const char* value) { m_recommendedNumberOfInstancesToPurchaseHasBeenSet = true; m_recommendedNumberOfInstancesToPurchase.assign(value); } 149 150 /** 151 * <p>The number of instances that Amazon Web Services recommends that you 152 * purchase.</p> 153 */ WithRecommendedNumberOfInstancesToPurchase(const Aws::String & value)154 inline ReservationPurchaseRecommendationDetail& WithRecommendedNumberOfInstancesToPurchase(const Aws::String& value) { SetRecommendedNumberOfInstancesToPurchase(value); return *this;} 155 156 /** 157 * <p>The number of instances that Amazon Web Services recommends that you 158 * purchase.</p> 159 */ WithRecommendedNumberOfInstancesToPurchase(Aws::String && value)160 inline ReservationPurchaseRecommendationDetail& WithRecommendedNumberOfInstancesToPurchase(Aws::String&& value) { SetRecommendedNumberOfInstancesToPurchase(std::move(value)); return *this;} 161 162 /** 163 * <p>The number of instances that Amazon Web Services recommends that you 164 * purchase.</p> 165 */ WithRecommendedNumberOfInstancesToPurchase(const char * value)166 inline ReservationPurchaseRecommendationDetail& WithRecommendedNumberOfInstancesToPurchase(const char* value) { SetRecommendedNumberOfInstancesToPurchase(value); return *this;} 167 168 169 /** 170 * <p>The number of normalized units that Amazon Web Services recommends that you 171 * purchase.</p> 172 */ GetRecommendedNormalizedUnitsToPurchase()173 inline const Aws::String& GetRecommendedNormalizedUnitsToPurchase() const{ return m_recommendedNormalizedUnitsToPurchase; } 174 175 /** 176 * <p>The number of normalized units that Amazon Web Services recommends that you 177 * purchase.</p> 178 */ RecommendedNormalizedUnitsToPurchaseHasBeenSet()179 inline bool RecommendedNormalizedUnitsToPurchaseHasBeenSet() const { return m_recommendedNormalizedUnitsToPurchaseHasBeenSet; } 180 181 /** 182 * <p>The number of normalized units that Amazon Web Services recommends that you 183 * purchase.</p> 184 */ SetRecommendedNormalizedUnitsToPurchase(const Aws::String & value)185 inline void SetRecommendedNormalizedUnitsToPurchase(const Aws::String& value) { m_recommendedNormalizedUnitsToPurchaseHasBeenSet = true; m_recommendedNormalizedUnitsToPurchase = value; } 186 187 /** 188 * <p>The number of normalized units that Amazon Web Services recommends that you 189 * purchase.</p> 190 */ SetRecommendedNormalizedUnitsToPurchase(Aws::String && value)191 inline void SetRecommendedNormalizedUnitsToPurchase(Aws::String&& value) { m_recommendedNormalizedUnitsToPurchaseHasBeenSet = true; m_recommendedNormalizedUnitsToPurchase = std::move(value); } 192 193 /** 194 * <p>The number of normalized units that Amazon Web Services recommends that you 195 * purchase.</p> 196 */ SetRecommendedNormalizedUnitsToPurchase(const char * value)197 inline void SetRecommendedNormalizedUnitsToPurchase(const char* value) { m_recommendedNormalizedUnitsToPurchaseHasBeenSet = true; m_recommendedNormalizedUnitsToPurchase.assign(value); } 198 199 /** 200 * <p>The number of normalized units that Amazon Web Services recommends that you 201 * purchase.</p> 202 */ WithRecommendedNormalizedUnitsToPurchase(const Aws::String & value)203 inline ReservationPurchaseRecommendationDetail& WithRecommendedNormalizedUnitsToPurchase(const Aws::String& value) { SetRecommendedNormalizedUnitsToPurchase(value); return *this;} 204 205 /** 206 * <p>The number of normalized units that Amazon Web Services recommends that you 207 * purchase.</p> 208 */ WithRecommendedNormalizedUnitsToPurchase(Aws::String && value)209 inline ReservationPurchaseRecommendationDetail& WithRecommendedNormalizedUnitsToPurchase(Aws::String&& value) { SetRecommendedNormalizedUnitsToPurchase(std::move(value)); return *this;} 210 211 /** 212 * <p>The number of normalized units that Amazon Web Services recommends that you 213 * purchase.</p> 214 */ WithRecommendedNormalizedUnitsToPurchase(const char * value)215 inline ReservationPurchaseRecommendationDetail& WithRecommendedNormalizedUnitsToPurchase(const char* value) { SetRecommendedNormalizedUnitsToPurchase(value); return *this;} 216 217 218 /** 219 * <p>The minimum number of instances that you used in an hour during the 220 * historical period. Amazon Web Services uses this to calculate your recommended 221 * reservation purchases.</p> 222 */ GetMinimumNumberOfInstancesUsedPerHour()223 inline const Aws::String& GetMinimumNumberOfInstancesUsedPerHour() const{ return m_minimumNumberOfInstancesUsedPerHour; } 224 225 /** 226 * <p>The minimum number of instances that you used in an hour during the 227 * historical period. Amazon Web Services uses this to calculate your recommended 228 * reservation purchases.</p> 229 */ MinimumNumberOfInstancesUsedPerHourHasBeenSet()230 inline bool MinimumNumberOfInstancesUsedPerHourHasBeenSet() const { return m_minimumNumberOfInstancesUsedPerHourHasBeenSet; } 231 232 /** 233 * <p>The minimum number of instances that you used in an hour during the 234 * historical period. Amazon Web Services uses this to calculate your recommended 235 * reservation purchases.</p> 236 */ SetMinimumNumberOfInstancesUsedPerHour(const Aws::String & value)237 inline void SetMinimumNumberOfInstancesUsedPerHour(const Aws::String& value) { m_minimumNumberOfInstancesUsedPerHourHasBeenSet = true; m_minimumNumberOfInstancesUsedPerHour = value; } 238 239 /** 240 * <p>The minimum number of instances that you used in an hour during the 241 * historical period. Amazon Web Services uses this to calculate your recommended 242 * reservation purchases.</p> 243 */ SetMinimumNumberOfInstancesUsedPerHour(Aws::String && value)244 inline void SetMinimumNumberOfInstancesUsedPerHour(Aws::String&& value) { m_minimumNumberOfInstancesUsedPerHourHasBeenSet = true; m_minimumNumberOfInstancesUsedPerHour = std::move(value); } 245 246 /** 247 * <p>The minimum number of instances that you used in an hour during the 248 * historical period. Amazon Web Services uses this to calculate your recommended 249 * reservation purchases.</p> 250 */ SetMinimumNumberOfInstancesUsedPerHour(const char * value)251 inline void SetMinimumNumberOfInstancesUsedPerHour(const char* value) { m_minimumNumberOfInstancesUsedPerHourHasBeenSet = true; m_minimumNumberOfInstancesUsedPerHour.assign(value); } 252 253 /** 254 * <p>The minimum number of instances that you used in an hour during the 255 * historical period. Amazon Web Services uses this to calculate your recommended 256 * reservation purchases.</p> 257 */ WithMinimumNumberOfInstancesUsedPerHour(const Aws::String & value)258 inline ReservationPurchaseRecommendationDetail& WithMinimumNumberOfInstancesUsedPerHour(const Aws::String& value) { SetMinimumNumberOfInstancesUsedPerHour(value); return *this;} 259 260 /** 261 * <p>The minimum number of instances that you used in an hour during the 262 * historical period. Amazon Web Services uses this to calculate your recommended 263 * reservation purchases.</p> 264 */ WithMinimumNumberOfInstancesUsedPerHour(Aws::String && value)265 inline ReservationPurchaseRecommendationDetail& WithMinimumNumberOfInstancesUsedPerHour(Aws::String&& value) { SetMinimumNumberOfInstancesUsedPerHour(std::move(value)); return *this;} 266 267 /** 268 * <p>The minimum number of instances that you used in an hour during the 269 * historical period. Amazon Web Services uses this to calculate your recommended 270 * reservation purchases.</p> 271 */ WithMinimumNumberOfInstancesUsedPerHour(const char * value)272 inline ReservationPurchaseRecommendationDetail& WithMinimumNumberOfInstancesUsedPerHour(const char* value) { SetMinimumNumberOfInstancesUsedPerHour(value); return *this;} 273 274 275 /** 276 * <p>The minimum number of normalized units that you used in an hour during the 277 * historical period. Amazon Web Services uses this to calculate your recommended 278 * reservation purchases.</p> 279 */ GetMinimumNormalizedUnitsUsedPerHour()280 inline const Aws::String& GetMinimumNormalizedUnitsUsedPerHour() const{ return m_minimumNormalizedUnitsUsedPerHour; } 281 282 /** 283 * <p>The minimum number of normalized units that you used in an hour during the 284 * historical period. Amazon Web Services uses this to calculate your recommended 285 * reservation purchases.</p> 286 */ MinimumNormalizedUnitsUsedPerHourHasBeenSet()287 inline bool MinimumNormalizedUnitsUsedPerHourHasBeenSet() const { return m_minimumNormalizedUnitsUsedPerHourHasBeenSet; } 288 289 /** 290 * <p>The minimum number of normalized units that you used in an hour during the 291 * historical period. Amazon Web Services uses this to calculate your recommended 292 * reservation purchases.</p> 293 */ SetMinimumNormalizedUnitsUsedPerHour(const Aws::String & value)294 inline void SetMinimumNormalizedUnitsUsedPerHour(const Aws::String& value) { m_minimumNormalizedUnitsUsedPerHourHasBeenSet = true; m_minimumNormalizedUnitsUsedPerHour = value; } 295 296 /** 297 * <p>The minimum number of normalized units that you used in an hour during the 298 * historical period. Amazon Web Services uses this to calculate your recommended 299 * reservation purchases.</p> 300 */ SetMinimumNormalizedUnitsUsedPerHour(Aws::String && value)301 inline void SetMinimumNormalizedUnitsUsedPerHour(Aws::String&& value) { m_minimumNormalizedUnitsUsedPerHourHasBeenSet = true; m_minimumNormalizedUnitsUsedPerHour = std::move(value); } 302 303 /** 304 * <p>The minimum number of normalized units that you used in an hour during the 305 * historical period. Amazon Web Services uses this to calculate your recommended 306 * reservation purchases.</p> 307 */ SetMinimumNormalizedUnitsUsedPerHour(const char * value)308 inline void SetMinimumNormalizedUnitsUsedPerHour(const char* value) { m_minimumNormalizedUnitsUsedPerHourHasBeenSet = true; m_minimumNormalizedUnitsUsedPerHour.assign(value); } 309 310 /** 311 * <p>The minimum number of normalized units that you used in an hour during the 312 * historical period. Amazon Web Services uses this to calculate your recommended 313 * reservation purchases.</p> 314 */ WithMinimumNormalizedUnitsUsedPerHour(const Aws::String & value)315 inline ReservationPurchaseRecommendationDetail& WithMinimumNormalizedUnitsUsedPerHour(const Aws::String& value) { SetMinimumNormalizedUnitsUsedPerHour(value); return *this;} 316 317 /** 318 * <p>The minimum number of normalized units that you used in an hour during the 319 * historical period. Amazon Web Services uses this to calculate your recommended 320 * reservation purchases.</p> 321 */ WithMinimumNormalizedUnitsUsedPerHour(Aws::String && value)322 inline ReservationPurchaseRecommendationDetail& WithMinimumNormalizedUnitsUsedPerHour(Aws::String&& value) { SetMinimumNormalizedUnitsUsedPerHour(std::move(value)); return *this;} 323 324 /** 325 * <p>The minimum number of normalized units that you used in an hour during the 326 * historical period. Amazon Web Services uses this to calculate your recommended 327 * reservation purchases.</p> 328 */ WithMinimumNormalizedUnitsUsedPerHour(const char * value)329 inline ReservationPurchaseRecommendationDetail& WithMinimumNormalizedUnitsUsedPerHour(const char* value) { SetMinimumNormalizedUnitsUsedPerHour(value); return *this;} 330 331 332 /** 333 * <p>The maximum number of instances that you used in an hour during the 334 * historical period. Amazon Web Services uses this to calculate your recommended 335 * reservation purchases.</p> 336 */ GetMaximumNumberOfInstancesUsedPerHour()337 inline const Aws::String& GetMaximumNumberOfInstancesUsedPerHour() const{ return m_maximumNumberOfInstancesUsedPerHour; } 338 339 /** 340 * <p>The maximum number of instances that you used in an hour during the 341 * historical period. Amazon Web Services uses this to calculate your recommended 342 * reservation purchases.</p> 343 */ MaximumNumberOfInstancesUsedPerHourHasBeenSet()344 inline bool MaximumNumberOfInstancesUsedPerHourHasBeenSet() const { return m_maximumNumberOfInstancesUsedPerHourHasBeenSet; } 345 346 /** 347 * <p>The maximum number of instances that you used in an hour during the 348 * historical period. Amazon Web Services uses this to calculate your recommended 349 * reservation purchases.</p> 350 */ SetMaximumNumberOfInstancesUsedPerHour(const Aws::String & value)351 inline void SetMaximumNumberOfInstancesUsedPerHour(const Aws::String& value) { m_maximumNumberOfInstancesUsedPerHourHasBeenSet = true; m_maximumNumberOfInstancesUsedPerHour = value; } 352 353 /** 354 * <p>The maximum number of instances that you used in an hour during the 355 * historical period. Amazon Web Services uses this to calculate your recommended 356 * reservation purchases.</p> 357 */ SetMaximumNumberOfInstancesUsedPerHour(Aws::String && value)358 inline void SetMaximumNumberOfInstancesUsedPerHour(Aws::String&& value) { m_maximumNumberOfInstancesUsedPerHourHasBeenSet = true; m_maximumNumberOfInstancesUsedPerHour = std::move(value); } 359 360 /** 361 * <p>The maximum number of instances that you used in an hour during the 362 * historical period. Amazon Web Services uses this to calculate your recommended 363 * reservation purchases.</p> 364 */ SetMaximumNumberOfInstancesUsedPerHour(const char * value)365 inline void SetMaximumNumberOfInstancesUsedPerHour(const char* value) { m_maximumNumberOfInstancesUsedPerHourHasBeenSet = true; m_maximumNumberOfInstancesUsedPerHour.assign(value); } 366 367 /** 368 * <p>The maximum number of instances that you used in an hour during the 369 * historical period. Amazon Web Services uses this to calculate your recommended 370 * reservation purchases.</p> 371 */ WithMaximumNumberOfInstancesUsedPerHour(const Aws::String & value)372 inline ReservationPurchaseRecommendationDetail& WithMaximumNumberOfInstancesUsedPerHour(const Aws::String& value) { SetMaximumNumberOfInstancesUsedPerHour(value); return *this;} 373 374 /** 375 * <p>The maximum number of instances that you used in an hour during the 376 * historical period. Amazon Web Services uses this to calculate your recommended 377 * reservation purchases.</p> 378 */ WithMaximumNumberOfInstancesUsedPerHour(Aws::String && value)379 inline ReservationPurchaseRecommendationDetail& WithMaximumNumberOfInstancesUsedPerHour(Aws::String&& value) { SetMaximumNumberOfInstancesUsedPerHour(std::move(value)); return *this;} 380 381 /** 382 * <p>The maximum number of instances that you used in an hour during the 383 * historical period. Amazon Web Services uses this to calculate your recommended 384 * reservation purchases.</p> 385 */ WithMaximumNumberOfInstancesUsedPerHour(const char * value)386 inline ReservationPurchaseRecommendationDetail& WithMaximumNumberOfInstancesUsedPerHour(const char* value) { SetMaximumNumberOfInstancesUsedPerHour(value); return *this;} 387 388 389 /** 390 * <p>The maximum number of normalized units that you used in an hour during the 391 * historical period. Amazon Web Services uses this to calculate your recommended 392 * reservation purchases.</p> 393 */ GetMaximumNormalizedUnitsUsedPerHour()394 inline const Aws::String& GetMaximumNormalizedUnitsUsedPerHour() const{ return m_maximumNormalizedUnitsUsedPerHour; } 395 396 /** 397 * <p>The maximum number of normalized units that you used in an hour during the 398 * historical period. Amazon Web Services uses this to calculate your recommended 399 * reservation purchases.</p> 400 */ MaximumNormalizedUnitsUsedPerHourHasBeenSet()401 inline bool MaximumNormalizedUnitsUsedPerHourHasBeenSet() const { return m_maximumNormalizedUnitsUsedPerHourHasBeenSet; } 402 403 /** 404 * <p>The maximum number of normalized units that you used in an hour during the 405 * historical period. Amazon Web Services uses this to calculate your recommended 406 * reservation purchases.</p> 407 */ SetMaximumNormalizedUnitsUsedPerHour(const Aws::String & value)408 inline void SetMaximumNormalizedUnitsUsedPerHour(const Aws::String& value) { m_maximumNormalizedUnitsUsedPerHourHasBeenSet = true; m_maximumNormalizedUnitsUsedPerHour = value; } 409 410 /** 411 * <p>The maximum number of normalized units that you used in an hour during the 412 * historical period. Amazon Web Services uses this to calculate your recommended 413 * reservation purchases.</p> 414 */ SetMaximumNormalizedUnitsUsedPerHour(Aws::String && value)415 inline void SetMaximumNormalizedUnitsUsedPerHour(Aws::String&& value) { m_maximumNormalizedUnitsUsedPerHourHasBeenSet = true; m_maximumNormalizedUnitsUsedPerHour = std::move(value); } 416 417 /** 418 * <p>The maximum number of normalized units that you used in an hour during the 419 * historical period. Amazon Web Services uses this to calculate your recommended 420 * reservation purchases.</p> 421 */ SetMaximumNormalizedUnitsUsedPerHour(const char * value)422 inline void SetMaximumNormalizedUnitsUsedPerHour(const char* value) { m_maximumNormalizedUnitsUsedPerHourHasBeenSet = true; m_maximumNormalizedUnitsUsedPerHour.assign(value); } 423 424 /** 425 * <p>The maximum number of normalized units that you used in an hour during the 426 * historical period. Amazon Web Services uses this to calculate your recommended 427 * reservation purchases.</p> 428 */ WithMaximumNormalizedUnitsUsedPerHour(const Aws::String & value)429 inline ReservationPurchaseRecommendationDetail& WithMaximumNormalizedUnitsUsedPerHour(const Aws::String& value) { SetMaximumNormalizedUnitsUsedPerHour(value); return *this;} 430 431 /** 432 * <p>The maximum number of normalized units that you used in an hour during the 433 * historical period. Amazon Web Services uses this to calculate your recommended 434 * reservation purchases.</p> 435 */ WithMaximumNormalizedUnitsUsedPerHour(Aws::String && value)436 inline ReservationPurchaseRecommendationDetail& WithMaximumNormalizedUnitsUsedPerHour(Aws::String&& value) { SetMaximumNormalizedUnitsUsedPerHour(std::move(value)); return *this;} 437 438 /** 439 * <p>The maximum number of normalized units that you used in an hour during the 440 * historical period. Amazon Web Services uses this to calculate your recommended 441 * reservation purchases.</p> 442 */ WithMaximumNormalizedUnitsUsedPerHour(const char * value)443 inline ReservationPurchaseRecommendationDetail& WithMaximumNormalizedUnitsUsedPerHour(const char* value) { SetMaximumNormalizedUnitsUsedPerHour(value); return *this;} 444 445 446 /** 447 * <p>The average number of instances that you used in an hour during the 448 * historical period. Amazon Web Services uses this to calculate your recommended 449 * reservation purchases.</p> 450 */ GetAverageNumberOfInstancesUsedPerHour()451 inline const Aws::String& GetAverageNumberOfInstancesUsedPerHour() const{ return m_averageNumberOfInstancesUsedPerHour; } 452 453 /** 454 * <p>The average number of instances that you used in an hour during the 455 * historical period. Amazon Web Services uses this to calculate your recommended 456 * reservation purchases.</p> 457 */ AverageNumberOfInstancesUsedPerHourHasBeenSet()458 inline bool AverageNumberOfInstancesUsedPerHourHasBeenSet() const { return m_averageNumberOfInstancesUsedPerHourHasBeenSet; } 459 460 /** 461 * <p>The average number of instances that you used in an hour during the 462 * historical period. Amazon Web Services uses this to calculate your recommended 463 * reservation purchases.</p> 464 */ SetAverageNumberOfInstancesUsedPerHour(const Aws::String & value)465 inline void SetAverageNumberOfInstancesUsedPerHour(const Aws::String& value) { m_averageNumberOfInstancesUsedPerHourHasBeenSet = true; m_averageNumberOfInstancesUsedPerHour = value; } 466 467 /** 468 * <p>The average number of instances that you used in an hour during the 469 * historical period. Amazon Web Services uses this to calculate your recommended 470 * reservation purchases.</p> 471 */ SetAverageNumberOfInstancesUsedPerHour(Aws::String && value)472 inline void SetAverageNumberOfInstancesUsedPerHour(Aws::String&& value) { m_averageNumberOfInstancesUsedPerHourHasBeenSet = true; m_averageNumberOfInstancesUsedPerHour = std::move(value); } 473 474 /** 475 * <p>The average number of instances that you used in an hour during the 476 * historical period. Amazon Web Services uses this to calculate your recommended 477 * reservation purchases.</p> 478 */ SetAverageNumberOfInstancesUsedPerHour(const char * value)479 inline void SetAverageNumberOfInstancesUsedPerHour(const char* value) { m_averageNumberOfInstancesUsedPerHourHasBeenSet = true; m_averageNumberOfInstancesUsedPerHour.assign(value); } 480 481 /** 482 * <p>The average number of instances that you used in an hour during the 483 * historical period. Amazon Web Services uses this to calculate your recommended 484 * reservation purchases.</p> 485 */ WithAverageNumberOfInstancesUsedPerHour(const Aws::String & value)486 inline ReservationPurchaseRecommendationDetail& WithAverageNumberOfInstancesUsedPerHour(const Aws::String& value) { SetAverageNumberOfInstancesUsedPerHour(value); return *this;} 487 488 /** 489 * <p>The average number of instances that you used in an hour during the 490 * historical period. Amazon Web Services uses this to calculate your recommended 491 * reservation purchases.</p> 492 */ WithAverageNumberOfInstancesUsedPerHour(Aws::String && value)493 inline ReservationPurchaseRecommendationDetail& WithAverageNumberOfInstancesUsedPerHour(Aws::String&& value) { SetAverageNumberOfInstancesUsedPerHour(std::move(value)); return *this;} 494 495 /** 496 * <p>The average number of instances that you used in an hour during the 497 * historical period. Amazon Web Services uses this to calculate your recommended 498 * reservation purchases.</p> 499 */ WithAverageNumberOfInstancesUsedPerHour(const char * value)500 inline ReservationPurchaseRecommendationDetail& WithAverageNumberOfInstancesUsedPerHour(const char* value) { SetAverageNumberOfInstancesUsedPerHour(value); return *this;} 501 502 503 /** 504 * <p>The average number of normalized units that you used in an hour during the 505 * historical period. Amazon Web Services uses this to calculate your recommended 506 * reservation purchases.</p> 507 */ GetAverageNormalizedUnitsUsedPerHour()508 inline const Aws::String& GetAverageNormalizedUnitsUsedPerHour() const{ return m_averageNormalizedUnitsUsedPerHour; } 509 510 /** 511 * <p>The average number of normalized units that you used in an hour during the 512 * historical period. Amazon Web Services uses this to calculate your recommended 513 * reservation purchases.</p> 514 */ AverageNormalizedUnitsUsedPerHourHasBeenSet()515 inline bool AverageNormalizedUnitsUsedPerHourHasBeenSet() const { return m_averageNormalizedUnitsUsedPerHourHasBeenSet; } 516 517 /** 518 * <p>The average number of normalized units that you used in an hour during the 519 * historical period. Amazon Web Services uses this to calculate your recommended 520 * reservation purchases.</p> 521 */ SetAverageNormalizedUnitsUsedPerHour(const Aws::String & value)522 inline void SetAverageNormalizedUnitsUsedPerHour(const Aws::String& value) { m_averageNormalizedUnitsUsedPerHourHasBeenSet = true; m_averageNormalizedUnitsUsedPerHour = value; } 523 524 /** 525 * <p>The average number of normalized units that you used in an hour during the 526 * historical period. Amazon Web Services uses this to calculate your recommended 527 * reservation purchases.</p> 528 */ SetAverageNormalizedUnitsUsedPerHour(Aws::String && value)529 inline void SetAverageNormalizedUnitsUsedPerHour(Aws::String&& value) { m_averageNormalizedUnitsUsedPerHourHasBeenSet = true; m_averageNormalizedUnitsUsedPerHour = std::move(value); } 530 531 /** 532 * <p>The average number of normalized units that you used in an hour during the 533 * historical period. Amazon Web Services uses this to calculate your recommended 534 * reservation purchases.</p> 535 */ SetAverageNormalizedUnitsUsedPerHour(const char * value)536 inline void SetAverageNormalizedUnitsUsedPerHour(const char* value) { m_averageNormalizedUnitsUsedPerHourHasBeenSet = true; m_averageNormalizedUnitsUsedPerHour.assign(value); } 537 538 /** 539 * <p>The average number of normalized units that you used in an hour during the 540 * historical period. Amazon Web Services uses this to calculate your recommended 541 * reservation purchases.</p> 542 */ WithAverageNormalizedUnitsUsedPerHour(const Aws::String & value)543 inline ReservationPurchaseRecommendationDetail& WithAverageNormalizedUnitsUsedPerHour(const Aws::String& value) { SetAverageNormalizedUnitsUsedPerHour(value); return *this;} 544 545 /** 546 * <p>The average number of normalized units that you used in an hour during the 547 * historical period. Amazon Web Services uses this to calculate your recommended 548 * reservation purchases.</p> 549 */ WithAverageNormalizedUnitsUsedPerHour(Aws::String && value)550 inline ReservationPurchaseRecommendationDetail& WithAverageNormalizedUnitsUsedPerHour(Aws::String&& value) { SetAverageNormalizedUnitsUsedPerHour(std::move(value)); return *this;} 551 552 /** 553 * <p>The average number of normalized units that you used in an hour during the 554 * historical period. Amazon Web Services uses this to calculate your recommended 555 * reservation purchases.</p> 556 */ WithAverageNormalizedUnitsUsedPerHour(const char * value)557 inline ReservationPurchaseRecommendationDetail& WithAverageNormalizedUnitsUsedPerHour(const char* value) { SetAverageNormalizedUnitsUsedPerHour(value); return *this;} 558 559 560 /** 561 * <p>The average utilization of your instances. Amazon Web Services uses this to 562 * calculate your recommended reservation purchases.</p> 563 */ GetAverageUtilization()564 inline const Aws::String& GetAverageUtilization() const{ return m_averageUtilization; } 565 566 /** 567 * <p>The average utilization of your instances. Amazon Web Services uses this to 568 * calculate your recommended reservation purchases.</p> 569 */ AverageUtilizationHasBeenSet()570 inline bool AverageUtilizationHasBeenSet() const { return m_averageUtilizationHasBeenSet; } 571 572 /** 573 * <p>The average utilization of your instances. Amazon Web Services uses this to 574 * calculate your recommended reservation purchases.</p> 575 */ SetAverageUtilization(const Aws::String & value)576 inline void SetAverageUtilization(const Aws::String& value) { m_averageUtilizationHasBeenSet = true; m_averageUtilization = value; } 577 578 /** 579 * <p>The average utilization of your instances. Amazon Web Services uses this to 580 * calculate your recommended reservation purchases.</p> 581 */ SetAverageUtilization(Aws::String && value)582 inline void SetAverageUtilization(Aws::String&& value) { m_averageUtilizationHasBeenSet = true; m_averageUtilization = std::move(value); } 583 584 /** 585 * <p>The average utilization of your instances. Amazon Web Services uses this to 586 * calculate your recommended reservation purchases.</p> 587 */ SetAverageUtilization(const char * value)588 inline void SetAverageUtilization(const char* value) { m_averageUtilizationHasBeenSet = true; m_averageUtilization.assign(value); } 589 590 /** 591 * <p>The average utilization of your instances. Amazon Web Services uses this to 592 * calculate your recommended reservation purchases.</p> 593 */ WithAverageUtilization(const Aws::String & value)594 inline ReservationPurchaseRecommendationDetail& WithAverageUtilization(const Aws::String& value) { SetAverageUtilization(value); return *this;} 595 596 /** 597 * <p>The average utilization of your instances. Amazon Web Services uses this to 598 * calculate your recommended reservation purchases.</p> 599 */ WithAverageUtilization(Aws::String && value)600 inline ReservationPurchaseRecommendationDetail& WithAverageUtilization(Aws::String&& value) { SetAverageUtilization(std::move(value)); return *this;} 601 602 /** 603 * <p>The average utilization of your instances. Amazon Web Services uses this to 604 * calculate your recommended reservation purchases.</p> 605 */ WithAverageUtilization(const char * value)606 inline ReservationPurchaseRecommendationDetail& WithAverageUtilization(const char* value) { SetAverageUtilization(value); return *this;} 607 608 609 /** 610 * <p>How long Amazon Web Services estimates that it takes for this instance to 611 * start saving you money, in months.</p> 612 */ GetEstimatedBreakEvenInMonths()613 inline const Aws::String& GetEstimatedBreakEvenInMonths() const{ return m_estimatedBreakEvenInMonths; } 614 615 /** 616 * <p>How long Amazon Web Services estimates that it takes for this instance to 617 * start saving you money, in months.</p> 618 */ EstimatedBreakEvenInMonthsHasBeenSet()619 inline bool EstimatedBreakEvenInMonthsHasBeenSet() const { return m_estimatedBreakEvenInMonthsHasBeenSet; } 620 621 /** 622 * <p>How long Amazon Web Services estimates that it takes for this instance to 623 * start saving you money, in months.</p> 624 */ SetEstimatedBreakEvenInMonths(const Aws::String & value)625 inline void SetEstimatedBreakEvenInMonths(const Aws::String& value) { m_estimatedBreakEvenInMonthsHasBeenSet = true; m_estimatedBreakEvenInMonths = value; } 626 627 /** 628 * <p>How long Amazon Web Services estimates that it takes for this instance to 629 * start saving you money, in months.</p> 630 */ SetEstimatedBreakEvenInMonths(Aws::String && value)631 inline void SetEstimatedBreakEvenInMonths(Aws::String&& value) { m_estimatedBreakEvenInMonthsHasBeenSet = true; m_estimatedBreakEvenInMonths = std::move(value); } 632 633 /** 634 * <p>How long Amazon Web Services estimates that it takes for this instance to 635 * start saving you money, in months.</p> 636 */ SetEstimatedBreakEvenInMonths(const char * value)637 inline void SetEstimatedBreakEvenInMonths(const char* value) { m_estimatedBreakEvenInMonthsHasBeenSet = true; m_estimatedBreakEvenInMonths.assign(value); } 638 639 /** 640 * <p>How long Amazon Web Services estimates that it takes for this instance to 641 * start saving you money, in months.</p> 642 */ WithEstimatedBreakEvenInMonths(const Aws::String & value)643 inline ReservationPurchaseRecommendationDetail& WithEstimatedBreakEvenInMonths(const Aws::String& value) { SetEstimatedBreakEvenInMonths(value); return *this;} 644 645 /** 646 * <p>How long Amazon Web Services estimates that it takes for this instance to 647 * start saving you money, in months.</p> 648 */ WithEstimatedBreakEvenInMonths(Aws::String && value)649 inline ReservationPurchaseRecommendationDetail& WithEstimatedBreakEvenInMonths(Aws::String&& value) { SetEstimatedBreakEvenInMonths(std::move(value)); return *this;} 650 651 /** 652 * <p>How long Amazon Web Services estimates that it takes for this instance to 653 * start saving you money, in months.</p> 654 */ WithEstimatedBreakEvenInMonths(const char * value)655 inline ReservationPurchaseRecommendationDetail& WithEstimatedBreakEvenInMonths(const char* value) { SetEstimatedBreakEvenInMonths(value); return *this;} 656 657 658 /** 659 * <p>The currency code that Amazon Web Services used to calculate the costs for 660 * this instance.</p> 661 */ GetCurrencyCode()662 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; } 663 664 /** 665 * <p>The currency code that Amazon Web Services used to calculate the costs for 666 * this instance.</p> 667 */ CurrencyCodeHasBeenSet()668 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; } 669 670 /** 671 * <p>The currency code that Amazon Web Services used to calculate the costs for 672 * this instance.</p> 673 */ SetCurrencyCode(const Aws::String & value)674 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; } 675 676 /** 677 * <p>The currency code that Amazon Web Services used to calculate the costs for 678 * this instance.</p> 679 */ SetCurrencyCode(Aws::String && value)680 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); } 681 682 /** 683 * <p>The currency code that Amazon Web Services used to calculate the costs for 684 * this instance.</p> 685 */ SetCurrencyCode(const char * value)686 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); } 687 688 /** 689 * <p>The currency code that Amazon Web Services used to calculate the costs for 690 * this instance.</p> 691 */ WithCurrencyCode(const Aws::String & value)692 inline ReservationPurchaseRecommendationDetail& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;} 693 694 /** 695 * <p>The currency code that Amazon Web Services used to calculate the costs for 696 * this instance.</p> 697 */ WithCurrencyCode(Aws::String && value)698 inline ReservationPurchaseRecommendationDetail& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;} 699 700 /** 701 * <p>The currency code that Amazon Web Services used to calculate the costs for 702 * this instance.</p> 703 */ WithCurrencyCode(const char * value)704 inline ReservationPurchaseRecommendationDetail& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;} 705 706 707 /** 708 * <p>How much Amazon Web Services estimates that this specific recommendation 709 * could save you in a month.</p> 710 */ GetEstimatedMonthlySavingsAmount()711 inline const Aws::String& GetEstimatedMonthlySavingsAmount() const{ return m_estimatedMonthlySavingsAmount; } 712 713 /** 714 * <p>How much Amazon Web Services estimates that this specific recommendation 715 * could save you in a month.</p> 716 */ EstimatedMonthlySavingsAmountHasBeenSet()717 inline bool EstimatedMonthlySavingsAmountHasBeenSet() const { return m_estimatedMonthlySavingsAmountHasBeenSet; } 718 719 /** 720 * <p>How much Amazon Web Services estimates that this specific recommendation 721 * could save you in a month.</p> 722 */ SetEstimatedMonthlySavingsAmount(const Aws::String & value)723 inline void SetEstimatedMonthlySavingsAmount(const Aws::String& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = value; } 724 725 /** 726 * <p>How much Amazon Web Services estimates that this specific recommendation 727 * could save you in a month.</p> 728 */ SetEstimatedMonthlySavingsAmount(Aws::String && value)729 inline void SetEstimatedMonthlySavingsAmount(Aws::String&& value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount = std::move(value); } 730 731 /** 732 * <p>How much Amazon Web Services estimates that this specific recommendation 733 * could save you in a month.</p> 734 */ SetEstimatedMonthlySavingsAmount(const char * value)735 inline void SetEstimatedMonthlySavingsAmount(const char* value) { m_estimatedMonthlySavingsAmountHasBeenSet = true; m_estimatedMonthlySavingsAmount.assign(value); } 736 737 /** 738 * <p>How much Amazon Web Services estimates that this specific recommendation 739 * could save you in a month.</p> 740 */ WithEstimatedMonthlySavingsAmount(const Aws::String & value)741 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsAmount(const Aws::String& value) { SetEstimatedMonthlySavingsAmount(value); return *this;} 742 743 /** 744 * <p>How much Amazon Web Services estimates that this specific recommendation 745 * could save you in a month.</p> 746 */ WithEstimatedMonthlySavingsAmount(Aws::String && value)747 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsAmount(Aws::String&& value) { SetEstimatedMonthlySavingsAmount(std::move(value)); return *this;} 748 749 /** 750 * <p>How much Amazon Web Services estimates that this specific recommendation 751 * could save you in a month.</p> 752 */ WithEstimatedMonthlySavingsAmount(const char * value)753 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsAmount(const char* value) { SetEstimatedMonthlySavingsAmount(value); return *this;} 754 755 756 /** 757 * <p>How much Amazon Web Services estimates that this specific recommendation 758 * could save you in a month, as a percentage of your overall costs.</p> 759 */ GetEstimatedMonthlySavingsPercentage()760 inline const Aws::String& GetEstimatedMonthlySavingsPercentage() const{ return m_estimatedMonthlySavingsPercentage; } 761 762 /** 763 * <p>How much Amazon Web Services estimates that this specific recommendation 764 * could save you in a month, as a percentage of your overall costs.</p> 765 */ EstimatedMonthlySavingsPercentageHasBeenSet()766 inline bool EstimatedMonthlySavingsPercentageHasBeenSet() const { return m_estimatedMonthlySavingsPercentageHasBeenSet; } 767 768 /** 769 * <p>How much Amazon Web Services estimates that this specific recommendation 770 * could save you in a month, as a percentage of your overall costs.</p> 771 */ SetEstimatedMonthlySavingsPercentage(const Aws::String & value)772 inline void SetEstimatedMonthlySavingsPercentage(const Aws::String& value) { m_estimatedMonthlySavingsPercentageHasBeenSet = true; m_estimatedMonthlySavingsPercentage = value; } 773 774 /** 775 * <p>How much Amazon Web Services estimates that this specific recommendation 776 * could save you in a month, as a percentage of your overall costs.</p> 777 */ SetEstimatedMonthlySavingsPercentage(Aws::String && value)778 inline void SetEstimatedMonthlySavingsPercentage(Aws::String&& value) { m_estimatedMonthlySavingsPercentageHasBeenSet = true; m_estimatedMonthlySavingsPercentage = std::move(value); } 779 780 /** 781 * <p>How much Amazon Web Services estimates that this specific recommendation 782 * could save you in a month, as a percentage of your overall costs.</p> 783 */ SetEstimatedMonthlySavingsPercentage(const char * value)784 inline void SetEstimatedMonthlySavingsPercentage(const char* value) { m_estimatedMonthlySavingsPercentageHasBeenSet = true; m_estimatedMonthlySavingsPercentage.assign(value); } 785 786 /** 787 * <p>How much Amazon Web Services estimates that this specific recommendation 788 * could save you in a month, as a percentage of your overall costs.</p> 789 */ WithEstimatedMonthlySavingsPercentage(const Aws::String & value)790 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsPercentage(const Aws::String& value) { SetEstimatedMonthlySavingsPercentage(value); return *this;} 791 792 /** 793 * <p>How much Amazon Web Services estimates that this specific recommendation 794 * could save you in a month, as a percentage of your overall costs.</p> 795 */ WithEstimatedMonthlySavingsPercentage(Aws::String && value)796 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsPercentage(Aws::String&& value) { SetEstimatedMonthlySavingsPercentage(std::move(value)); return *this;} 797 798 /** 799 * <p>How much Amazon Web Services estimates that this specific recommendation 800 * could save you in a month, as a percentage of your overall costs.</p> 801 */ WithEstimatedMonthlySavingsPercentage(const char * value)802 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlySavingsPercentage(const char* value) { SetEstimatedMonthlySavingsPercentage(value); return *this;} 803 804 805 /** 806 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 807 * in a month.</p> 808 */ GetEstimatedMonthlyOnDemandCost()809 inline const Aws::String& GetEstimatedMonthlyOnDemandCost() const{ return m_estimatedMonthlyOnDemandCost; } 810 811 /** 812 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 813 * in a month.</p> 814 */ EstimatedMonthlyOnDemandCostHasBeenSet()815 inline bool EstimatedMonthlyOnDemandCostHasBeenSet() const { return m_estimatedMonthlyOnDemandCostHasBeenSet; } 816 817 /** 818 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 819 * in a month.</p> 820 */ SetEstimatedMonthlyOnDemandCost(const Aws::String & value)821 inline void SetEstimatedMonthlyOnDemandCost(const Aws::String& value) { m_estimatedMonthlyOnDemandCostHasBeenSet = true; m_estimatedMonthlyOnDemandCost = value; } 822 823 /** 824 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 825 * in a month.</p> 826 */ SetEstimatedMonthlyOnDemandCost(Aws::String && value)827 inline void SetEstimatedMonthlyOnDemandCost(Aws::String&& value) { m_estimatedMonthlyOnDemandCostHasBeenSet = true; m_estimatedMonthlyOnDemandCost = std::move(value); } 828 829 /** 830 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 831 * in a month.</p> 832 */ SetEstimatedMonthlyOnDemandCost(const char * value)833 inline void SetEstimatedMonthlyOnDemandCost(const char* value) { m_estimatedMonthlyOnDemandCostHasBeenSet = true; m_estimatedMonthlyOnDemandCost.assign(value); } 834 835 /** 836 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 837 * in a month.</p> 838 */ WithEstimatedMonthlyOnDemandCost(const Aws::String & value)839 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlyOnDemandCost(const Aws::String& value) { SetEstimatedMonthlyOnDemandCost(value); return *this;} 840 841 /** 842 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 843 * in a month.</p> 844 */ WithEstimatedMonthlyOnDemandCost(Aws::String && value)845 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlyOnDemandCost(Aws::String&& value) { SetEstimatedMonthlyOnDemandCost(std::move(value)); return *this;} 846 847 /** 848 * <p>How much Amazon Web Services estimates that you spend on On-Demand Instances 849 * in a month.</p> 850 */ WithEstimatedMonthlyOnDemandCost(const char * value)851 inline ReservationPurchaseRecommendationDetail& WithEstimatedMonthlyOnDemandCost(const char* value) { SetEstimatedMonthlyOnDemandCost(value); return *this;} 852 853 854 /** 855 * <p>How much Amazon Web Services estimates that you would have spent for all 856 * usage during the specified historical period if you had a reservation.</p> 857 */ GetEstimatedReservationCostForLookbackPeriod()858 inline const Aws::String& GetEstimatedReservationCostForLookbackPeriod() const{ return m_estimatedReservationCostForLookbackPeriod; } 859 860 /** 861 * <p>How much Amazon Web Services estimates that you would have spent for all 862 * usage during the specified historical period if you had a reservation.</p> 863 */ EstimatedReservationCostForLookbackPeriodHasBeenSet()864 inline bool EstimatedReservationCostForLookbackPeriodHasBeenSet() const { return m_estimatedReservationCostForLookbackPeriodHasBeenSet; } 865 866 /** 867 * <p>How much Amazon Web Services estimates that you would have spent for all 868 * usage during the specified historical period if you had a reservation.</p> 869 */ SetEstimatedReservationCostForLookbackPeriod(const Aws::String & value)870 inline void SetEstimatedReservationCostForLookbackPeriod(const Aws::String& value) { m_estimatedReservationCostForLookbackPeriodHasBeenSet = true; m_estimatedReservationCostForLookbackPeriod = value; } 871 872 /** 873 * <p>How much Amazon Web Services estimates that you would have spent for all 874 * usage during the specified historical period if you had a reservation.</p> 875 */ SetEstimatedReservationCostForLookbackPeriod(Aws::String && value)876 inline void SetEstimatedReservationCostForLookbackPeriod(Aws::String&& value) { m_estimatedReservationCostForLookbackPeriodHasBeenSet = true; m_estimatedReservationCostForLookbackPeriod = std::move(value); } 877 878 /** 879 * <p>How much Amazon Web Services estimates that you would have spent for all 880 * usage during the specified historical period if you had a reservation.</p> 881 */ SetEstimatedReservationCostForLookbackPeriod(const char * value)882 inline void SetEstimatedReservationCostForLookbackPeriod(const char* value) { m_estimatedReservationCostForLookbackPeriodHasBeenSet = true; m_estimatedReservationCostForLookbackPeriod.assign(value); } 883 884 /** 885 * <p>How much Amazon Web Services estimates that you would have spent for all 886 * usage during the specified historical period if you had a reservation.</p> 887 */ WithEstimatedReservationCostForLookbackPeriod(const Aws::String & value)888 inline ReservationPurchaseRecommendationDetail& WithEstimatedReservationCostForLookbackPeriod(const Aws::String& value) { SetEstimatedReservationCostForLookbackPeriod(value); return *this;} 889 890 /** 891 * <p>How much Amazon Web Services estimates that you would have spent for all 892 * usage during the specified historical period if you had a reservation.</p> 893 */ WithEstimatedReservationCostForLookbackPeriod(Aws::String && value)894 inline ReservationPurchaseRecommendationDetail& WithEstimatedReservationCostForLookbackPeriod(Aws::String&& value) { SetEstimatedReservationCostForLookbackPeriod(std::move(value)); return *this;} 895 896 /** 897 * <p>How much Amazon Web Services estimates that you would have spent for all 898 * usage during the specified historical period if you had a reservation.</p> 899 */ WithEstimatedReservationCostForLookbackPeriod(const char * value)900 inline ReservationPurchaseRecommendationDetail& WithEstimatedReservationCostForLookbackPeriod(const char* value) { SetEstimatedReservationCostForLookbackPeriod(value); return *this;} 901 902 903 /** 904 * <p>How much purchasing this instance costs you upfront.</p> 905 */ GetUpfrontCost()906 inline const Aws::String& GetUpfrontCost() const{ return m_upfrontCost; } 907 908 /** 909 * <p>How much purchasing this instance costs you upfront.</p> 910 */ UpfrontCostHasBeenSet()911 inline bool UpfrontCostHasBeenSet() const { return m_upfrontCostHasBeenSet; } 912 913 /** 914 * <p>How much purchasing this instance costs you upfront.</p> 915 */ SetUpfrontCost(const Aws::String & value)916 inline void SetUpfrontCost(const Aws::String& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = value; } 917 918 /** 919 * <p>How much purchasing this instance costs you upfront.</p> 920 */ SetUpfrontCost(Aws::String && value)921 inline void SetUpfrontCost(Aws::String&& value) { m_upfrontCostHasBeenSet = true; m_upfrontCost = std::move(value); } 922 923 /** 924 * <p>How much purchasing this instance costs you upfront.</p> 925 */ SetUpfrontCost(const char * value)926 inline void SetUpfrontCost(const char* value) { m_upfrontCostHasBeenSet = true; m_upfrontCost.assign(value); } 927 928 /** 929 * <p>How much purchasing this instance costs you upfront.</p> 930 */ WithUpfrontCost(const Aws::String & value)931 inline ReservationPurchaseRecommendationDetail& WithUpfrontCost(const Aws::String& value) { SetUpfrontCost(value); return *this;} 932 933 /** 934 * <p>How much purchasing this instance costs you upfront.</p> 935 */ WithUpfrontCost(Aws::String && value)936 inline ReservationPurchaseRecommendationDetail& WithUpfrontCost(Aws::String&& value) { SetUpfrontCost(std::move(value)); return *this;} 937 938 /** 939 * <p>How much purchasing this instance costs you upfront.</p> 940 */ WithUpfrontCost(const char * value)941 inline ReservationPurchaseRecommendationDetail& WithUpfrontCost(const char* value) { SetUpfrontCost(value); return *this;} 942 943 944 /** 945 * <p>How much purchasing this instance costs you on a monthly basis.</p> 946 */ GetRecurringStandardMonthlyCost()947 inline const Aws::String& GetRecurringStandardMonthlyCost() const{ return m_recurringStandardMonthlyCost; } 948 949 /** 950 * <p>How much purchasing this instance costs you on a monthly basis.</p> 951 */ RecurringStandardMonthlyCostHasBeenSet()952 inline bool RecurringStandardMonthlyCostHasBeenSet() const { return m_recurringStandardMonthlyCostHasBeenSet; } 953 954 /** 955 * <p>How much purchasing this instance costs you on a monthly basis.</p> 956 */ SetRecurringStandardMonthlyCost(const Aws::String & value)957 inline void SetRecurringStandardMonthlyCost(const Aws::String& value) { m_recurringStandardMonthlyCostHasBeenSet = true; m_recurringStandardMonthlyCost = value; } 958 959 /** 960 * <p>How much purchasing this instance costs you on a monthly basis.</p> 961 */ SetRecurringStandardMonthlyCost(Aws::String && value)962 inline void SetRecurringStandardMonthlyCost(Aws::String&& value) { m_recurringStandardMonthlyCostHasBeenSet = true; m_recurringStandardMonthlyCost = std::move(value); } 963 964 /** 965 * <p>How much purchasing this instance costs you on a monthly basis.</p> 966 */ SetRecurringStandardMonthlyCost(const char * value)967 inline void SetRecurringStandardMonthlyCost(const char* value) { m_recurringStandardMonthlyCostHasBeenSet = true; m_recurringStandardMonthlyCost.assign(value); } 968 969 /** 970 * <p>How much purchasing this instance costs you on a monthly basis.</p> 971 */ WithRecurringStandardMonthlyCost(const Aws::String & value)972 inline ReservationPurchaseRecommendationDetail& WithRecurringStandardMonthlyCost(const Aws::String& value) { SetRecurringStandardMonthlyCost(value); return *this;} 973 974 /** 975 * <p>How much purchasing this instance costs you on a monthly basis.</p> 976 */ WithRecurringStandardMonthlyCost(Aws::String && value)977 inline ReservationPurchaseRecommendationDetail& WithRecurringStandardMonthlyCost(Aws::String&& value) { SetRecurringStandardMonthlyCost(std::move(value)); return *this;} 978 979 /** 980 * <p>How much purchasing this instance costs you on a monthly basis.</p> 981 */ WithRecurringStandardMonthlyCost(const char * value)982 inline ReservationPurchaseRecommendationDetail& WithRecurringStandardMonthlyCost(const char* value) { SetRecurringStandardMonthlyCost(value); return *this;} 983 984 private: 985 986 Aws::String m_accountId; 987 bool m_accountIdHasBeenSet; 988 989 InstanceDetails m_instanceDetails; 990 bool m_instanceDetailsHasBeenSet; 991 992 Aws::String m_recommendedNumberOfInstancesToPurchase; 993 bool m_recommendedNumberOfInstancesToPurchaseHasBeenSet; 994 995 Aws::String m_recommendedNormalizedUnitsToPurchase; 996 bool m_recommendedNormalizedUnitsToPurchaseHasBeenSet; 997 998 Aws::String m_minimumNumberOfInstancesUsedPerHour; 999 bool m_minimumNumberOfInstancesUsedPerHourHasBeenSet; 1000 1001 Aws::String m_minimumNormalizedUnitsUsedPerHour; 1002 bool m_minimumNormalizedUnitsUsedPerHourHasBeenSet; 1003 1004 Aws::String m_maximumNumberOfInstancesUsedPerHour; 1005 bool m_maximumNumberOfInstancesUsedPerHourHasBeenSet; 1006 1007 Aws::String m_maximumNormalizedUnitsUsedPerHour; 1008 bool m_maximumNormalizedUnitsUsedPerHourHasBeenSet; 1009 1010 Aws::String m_averageNumberOfInstancesUsedPerHour; 1011 bool m_averageNumberOfInstancesUsedPerHourHasBeenSet; 1012 1013 Aws::String m_averageNormalizedUnitsUsedPerHour; 1014 bool m_averageNormalizedUnitsUsedPerHourHasBeenSet; 1015 1016 Aws::String m_averageUtilization; 1017 bool m_averageUtilizationHasBeenSet; 1018 1019 Aws::String m_estimatedBreakEvenInMonths; 1020 bool m_estimatedBreakEvenInMonthsHasBeenSet; 1021 1022 Aws::String m_currencyCode; 1023 bool m_currencyCodeHasBeenSet; 1024 1025 Aws::String m_estimatedMonthlySavingsAmount; 1026 bool m_estimatedMonthlySavingsAmountHasBeenSet; 1027 1028 Aws::String m_estimatedMonthlySavingsPercentage; 1029 bool m_estimatedMonthlySavingsPercentageHasBeenSet; 1030 1031 Aws::String m_estimatedMonthlyOnDemandCost; 1032 bool m_estimatedMonthlyOnDemandCostHasBeenSet; 1033 1034 Aws::String m_estimatedReservationCostForLookbackPeriod; 1035 bool m_estimatedReservationCostForLookbackPeriodHasBeenSet; 1036 1037 Aws::String m_upfrontCost; 1038 bool m_upfrontCostHasBeenSet; 1039 1040 Aws::String m_recurringStandardMonthlyCost; 1041 bool m_recurringStandardMonthlyCostHasBeenSet; 1042 }; 1043 1044 } // namespace Model 1045 } // namespace CostExplorer 1046 } // namespace Aws 1047