1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
/// <p>When you update status for a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdatePipelineStatusOutput {
/// <p>A section of the response body that provides information about the pipeline.</p>
#[doc(hidden)]
pub pipeline: std::option::Option<crate::model::Pipeline>,
}
impl UpdatePipelineStatusOutput {
/// <p>A section of the response body that provides information about the pipeline.</p>
pub fn pipeline(&self) -> std::option::Option<&crate::model::Pipeline> {
self.pipeline.as_ref()
}
}
/// See [`UpdatePipelineStatusOutput`](crate::output::UpdatePipelineStatusOutput).
pub mod update_pipeline_status_output {
/// A builder for [`UpdatePipelineStatusOutput`](crate::output::UpdatePipelineStatusOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) pipeline: std::option::Option<crate::model::Pipeline>,
}
impl Builder {
/// <p>A section of the response body that provides information about the pipeline.</p>
pub fn pipeline(mut self, input: crate::model::Pipeline) -> Self {
self.pipeline = Some(input);
self
}
/// <p>A section of the response body that provides information about the pipeline.</p>
pub fn set_pipeline(mut self, input: std::option::Option<crate::model::Pipeline>) -> Self {
self.pipeline = input;
self
}
/// Consumes the builder and constructs a [`UpdatePipelineStatusOutput`](crate::output::UpdatePipelineStatusOutput).
pub fn build(self) -> crate::output::UpdatePipelineStatusOutput {
crate::output::UpdatePipelineStatusOutput {
pipeline: self.pipeline,
}
}
}
}
impl UpdatePipelineStatusOutput {
/// Creates a new builder-style object to manufacture [`UpdatePipelineStatusOutput`](crate::output::UpdatePipelineStatusOutput).
pub fn builder() -> crate::output::update_pipeline_status_output::Builder {
crate::output::update_pipeline_status_output::Builder::default()
}
}
/// <p>The <code>UpdatePipelineNotificationsResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdatePipelineNotificationsOutput {
/// <p>A section of the response body that provides information about the pipeline associated with this notification.</p>
#[doc(hidden)]
pub pipeline: std::option::Option<crate::model::Pipeline>,
}
impl UpdatePipelineNotificationsOutput {
/// <p>A section of the response body that provides information about the pipeline associated with this notification.</p>
pub fn pipeline(&self) -> std::option::Option<&crate::model::Pipeline> {
self.pipeline.as_ref()
}
}
/// See [`UpdatePipelineNotificationsOutput`](crate::output::UpdatePipelineNotificationsOutput).
pub mod update_pipeline_notifications_output {
/// A builder for [`UpdatePipelineNotificationsOutput`](crate::output::UpdatePipelineNotificationsOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) pipeline: std::option::Option<crate::model::Pipeline>,
}
impl Builder {
/// <p>A section of the response body that provides information about the pipeline associated with this notification.</p>
pub fn pipeline(mut self, input: crate::model::Pipeline) -> Self {
self.pipeline = Some(input);
self
}
/// <p>A section of the response body that provides information about the pipeline associated with this notification.</p>
pub fn set_pipeline(mut self, input: std::option::Option<crate::model::Pipeline>) -> Self {
self.pipeline = input;
self
}
/// Consumes the builder and constructs a [`UpdatePipelineNotificationsOutput`](crate::output::UpdatePipelineNotificationsOutput).
pub fn build(self) -> crate::output::UpdatePipelineNotificationsOutput {
crate::output::UpdatePipelineNotificationsOutput {
pipeline: self.pipeline,
}
}
}
}
impl UpdatePipelineNotificationsOutput {
/// Creates a new builder-style object to manufacture [`UpdatePipelineNotificationsOutput`](crate::output::UpdatePipelineNotificationsOutput).
pub fn builder() -> crate::output::update_pipeline_notifications_output::Builder {
crate::output::update_pipeline_notifications_output::Builder::default()
}
}
/// <p>When you update a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct UpdatePipelineOutput {
/// <p>The pipeline updated by this <code>UpdatePipelineResponse</code> call.</p>
#[doc(hidden)]
pub pipeline: std::option::Option<crate::model::Pipeline>,
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
#[doc(hidden)]
pub warnings: std::option::Option<std::vec::Vec<crate::model::Warning>>,
}
impl UpdatePipelineOutput {
/// <p>The pipeline updated by this <code>UpdatePipelineResponse</code> call.</p>
pub fn pipeline(&self) -> std::option::Option<&crate::model::Pipeline> {
self.pipeline.as_ref()
}
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn warnings(&self) -> std::option::Option<&[crate::model::Warning]> {
self.warnings.as_deref()
}
}
/// See [`UpdatePipelineOutput`](crate::output::UpdatePipelineOutput).
pub mod update_pipeline_output {
/// A builder for [`UpdatePipelineOutput`](crate::output::UpdatePipelineOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) pipeline: std::option::Option<crate::model::Pipeline>,
pub(crate) warnings: std::option::Option<std::vec::Vec<crate::model::Warning>>,
}
impl Builder {
/// <p>The pipeline updated by this <code>UpdatePipelineResponse</code> call.</p>
pub fn pipeline(mut self, input: crate::model::Pipeline) -> Self {
self.pipeline = Some(input);
self
}
/// <p>The pipeline updated by this <code>UpdatePipelineResponse</code> call.</p>
pub fn set_pipeline(mut self, input: std::option::Option<crate::model::Pipeline>) -> Self {
self.pipeline = input;
self
}
/// Appends an item to `warnings`.
///
/// To override the contents of this collection use [`set_warnings`](Self::set_warnings).
///
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn warnings(mut self, input: crate::model::Warning) -> Self {
let mut v = self.warnings.unwrap_or_default();
v.push(input);
self.warnings = Some(v);
self
}
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn set_warnings(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Warning>>,
) -> Self {
self.warnings = input;
self
}
/// Consumes the builder and constructs a [`UpdatePipelineOutput`](crate::output::UpdatePipelineOutput).
pub fn build(self) -> crate::output::UpdatePipelineOutput {
crate::output::UpdatePipelineOutput {
pipeline: self.pipeline,
warnings: self.warnings,
}
}
}
}
impl UpdatePipelineOutput {
/// Creates a new builder-style object to manufacture [`UpdatePipelineOutput`](crate::output::UpdatePipelineOutput).
pub fn builder() -> crate::output::update_pipeline_output::Builder {
crate::output::update_pipeline_output::Builder::default()
}
}
/// <p>The <code>TestRoleResponse</code> structure.</p>
#[deprecated]
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct TestRoleOutput {
/// <p>If the operation is successful, this value is <code>true</code>; otherwise, the value is <code>false</code>.</p>
#[doc(hidden)]
pub success: std::option::Option<std::string::String>,
/// <p>If the <code>Success</code> element contains <code>false</code>, this value is an array of one or more error messages that were generated during the test process.</p>
#[doc(hidden)]
pub messages: std::option::Option<std::vec::Vec<std::string::String>>,
}
impl TestRoleOutput {
/// <p>If the operation is successful, this value is <code>true</code>; otherwise, the value is <code>false</code>.</p>
pub fn success(&self) -> std::option::Option<&str> {
self.success.as_deref()
}
/// <p>If the <code>Success</code> element contains <code>false</code>, this value is an array of one or more error messages that were generated during the test process.</p>
pub fn messages(&self) -> std::option::Option<&[std::string::String]> {
self.messages.as_deref()
}
}
/// See [`TestRoleOutput`](crate::output::TestRoleOutput).
pub mod test_role_output {
/// A builder for [`TestRoleOutput`](crate::output::TestRoleOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) success: std::option::Option<std::string::String>,
pub(crate) messages: std::option::Option<std::vec::Vec<std::string::String>>,
}
impl Builder {
/// <p>If the operation is successful, this value is <code>true</code>; otherwise, the value is <code>false</code>.</p>
pub fn success(mut self, input: impl Into<std::string::String>) -> Self {
self.success = Some(input.into());
self
}
/// <p>If the operation is successful, this value is <code>true</code>; otherwise, the value is <code>false</code>.</p>
pub fn set_success(mut self, input: std::option::Option<std::string::String>) -> Self {
self.success = input;
self
}
/// Appends an item to `messages`.
///
/// To override the contents of this collection use [`set_messages`](Self::set_messages).
///
/// <p>If the <code>Success</code> element contains <code>false</code>, this value is an array of one or more error messages that were generated during the test process.</p>
pub fn messages(mut self, input: impl Into<std::string::String>) -> Self {
let mut v = self.messages.unwrap_or_default();
v.push(input.into());
self.messages = Some(v);
self
}
/// <p>If the <code>Success</code> element contains <code>false</code>, this value is an array of one or more error messages that were generated during the test process.</p>
pub fn set_messages(
mut self,
input: std::option::Option<std::vec::Vec<std::string::String>>,
) -> Self {
self.messages = input;
self
}
/// Consumes the builder and constructs a [`TestRoleOutput`](crate::output::TestRoleOutput).
pub fn build(self) -> crate::output::TestRoleOutput {
crate::output::TestRoleOutput {
success: self.success,
messages: self.messages,
}
}
}
}
impl TestRoleOutput {
/// Creates a new builder-style object to manufacture [`TestRoleOutput`](crate::output::TestRoleOutput).
pub fn builder() -> crate::output::test_role_output::Builder {
crate::output::test_role_output::Builder::default()
}
}
/// <p>The <code>ReadPresetResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ReadPresetOutput {
/// <p>A section of the response body that provides information about the preset.</p>
#[doc(hidden)]
pub preset: std::option::Option<crate::model::Preset>,
}
impl ReadPresetOutput {
/// <p>A section of the response body that provides information about the preset.</p>
pub fn preset(&self) -> std::option::Option<&crate::model::Preset> {
self.preset.as_ref()
}
}
/// See [`ReadPresetOutput`](crate::output::ReadPresetOutput).
pub mod read_preset_output {
/// A builder for [`ReadPresetOutput`](crate::output::ReadPresetOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) preset: std::option::Option<crate::model::Preset>,
}
impl Builder {
/// <p>A section of the response body that provides information about the preset.</p>
pub fn preset(mut self, input: crate::model::Preset) -> Self {
self.preset = Some(input);
self
}
/// <p>A section of the response body that provides information about the preset.</p>
pub fn set_preset(mut self, input: std::option::Option<crate::model::Preset>) -> Self {
self.preset = input;
self
}
/// Consumes the builder and constructs a [`ReadPresetOutput`](crate::output::ReadPresetOutput).
pub fn build(self) -> crate::output::ReadPresetOutput {
crate::output::ReadPresetOutput {
preset: self.preset,
}
}
}
}
impl ReadPresetOutput {
/// Creates a new builder-style object to manufacture [`ReadPresetOutput`](crate::output::ReadPresetOutput).
pub fn builder() -> crate::output::read_preset_output::Builder {
crate::output::read_preset_output::Builder::default()
}
}
/// <p>The <code>ReadPipelineResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ReadPipelineOutput {
/// <p>A section of the response body that provides information about the pipeline.</p>
#[doc(hidden)]
pub pipeline: std::option::Option<crate::model::Pipeline>,
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
#[doc(hidden)]
pub warnings: std::option::Option<std::vec::Vec<crate::model::Warning>>,
}
impl ReadPipelineOutput {
/// <p>A section of the response body that provides information about the pipeline.</p>
pub fn pipeline(&self) -> std::option::Option<&crate::model::Pipeline> {
self.pipeline.as_ref()
}
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn warnings(&self) -> std::option::Option<&[crate::model::Warning]> {
self.warnings.as_deref()
}
}
/// See [`ReadPipelineOutput`](crate::output::ReadPipelineOutput).
pub mod read_pipeline_output {
/// A builder for [`ReadPipelineOutput`](crate::output::ReadPipelineOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) pipeline: std::option::Option<crate::model::Pipeline>,
pub(crate) warnings: std::option::Option<std::vec::Vec<crate::model::Warning>>,
}
impl Builder {
/// <p>A section of the response body that provides information about the pipeline.</p>
pub fn pipeline(mut self, input: crate::model::Pipeline) -> Self {
self.pipeline = Some(input);
self
}
/// <p>A section of the response body that provides information about the pipeline.</p>
pub fn set_pipeline(mut self, input: std::option::Option<crate::model::Pipeline>) -> Self {
self.pipeline = input;
self
}
/// Appends an item to `warnings`.
///
/// To override the contents of this collection use [`set_warnings`](Self::set_warnings).
///
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn warnings(mut self, input: crate::model::Warning) -> Self {
let mut v = self.warnings.unwrap_or_default();
v.push(input);
self.warnings = Some(v);
self
}
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn set_warnings(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Warning>>,
) -> Self {
self.warnings = input;
self
}
/// Consumes the builder and constructs a [`ReadPipelineOutput`](crate::output::ReadPipelineOutput).
pub fn build(self) -> crate::output::ReadPipelineOutput {
crate::output::ReadPipelineOutput {
pipeline: self.pipeline,
warnings: self.warnings,
}
}
}
}
impl ReadPipelineOutput {
/// Creates a new builder-style object to manufacture [`ReadPipelineOutput`](crate::output::ReadPipelineOutput).
pub fn builder() -> crate::output::read_pipeline_output::Builder {
crate::output::read_pipeline_output::Builder::default()
}
}
/// <p>The <code>ReadJobResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ReadJobOutput {
/// <p>A section of the response body that provides information about the job.</p>
#[doc(hidden)]
pub job: std::option::Option<crate::model::Job>,
}
impl ReadJobOutput {
/// <p>A section of the response body that provides information about the job.</p>
pub fn job(&self) -> std::option::Option<&crate::model::Job> {
self.job.as_ref()
}
}
/// See [`ReadJobOutput`](crate::output::ReadJobOutput).
pub mod read_job_output {
/// A builder for [`ReadJobOutput`](crate::output::ReadJobOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) job: std::option::Option<crate::model::Job>,
}
impl Builder {
/// <p>A section of the response body that provides information about the job.</p>
pub fn job(mut self, input: crate::model::Job) -> Self {
self.job = Some(input);
self
}
/// <p>A section of the response body that provides information about the job.</p>
pub fn set_job(mut self, input: std::option::Option<crate::model::Job>) -> Self {
self.job = input;
self
}
/// Consumes the builder and constructs a [`ReadJobOutput`](crate::output::ReadJobOutput).
pub fn build(self) -> crate::output::ReadJobOutput {
crate::output::ReadJobOutput { job: self.job }
}
}
}
impl ReadJobOutput {
/// Creates a new builder-style object to manufacture [`ReadJobOutput`](crate::output::ReadJobOutput).
pub fn builder() -> crate::output::read_job_output::Builder {
crate::output::read_job_output::Builder::default()
}
}
/// <p>The <code>ListPresetsResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListPresetsOutput {
/// <p>An array of <code>Preset</code> objects.</p>
#[doc(hidden)]
pub presets: std::option::Option<std::vec::Vec<crate::model::Preset>>,
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
#[doc(hidden)]
pub next_page_token: std::option::Option<std::string::String>,
}
impl ListPresetsOutput {
/// <p>An array of <code>Preset</code> objects.</p>
pub fn presets(&self) -> std::option::Option<&[crate::model::Preset]> {
self.presets.as_deref()
}
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
pub fn next_page_token(&self) -> std::option::Option<&str> {
self.next_page_token.as_deref()
}
}
/// See [`ListPresetsOutput`](crate::output::ListPresetsOutput).
pub mod list_presets_output {
/// A builder for [`ListPresetsOutput`](crate::output::ListPresetsOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) presets: std::option::Option<std::vec::Vec<crate::model::Preset>>,
pub(crate) next_page_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `presets`.
///
/// To override the contents of this collection use [`set_presets`](Self::set_presets).
///
/// <p>An array of <code>Preset</code> objects.</p>
pub fn presets(mut self, input: crate::model::Preset) -> Self {
let mut v = self.presets.unwrap_or_default();
v.push(input);
self.presets = Some(v);
self
}
/// <p>An array of <code>Preset</code> objects.</p>
pub fn set_presets(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Preset>>,
) -> Self {
self.presets = input;
self
}
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
pub fn next_page_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_page_token = Some(input.into());
self
}
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
pub fn set_next_page_token(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.next_page_token = input;
self
}
/// Consumes the builder and constructs a [`ListPresetsOutput`](crate::output::ListPresetsOutput).
pub fn build(self) -> crate::output::ListPresetsOutput {
crate::output::ListPresetsOutput {
presets: self.presets,
next_page_token: self.next_page_token,
}
}
}
}
impl ListPresetsOutput {
/// Creates a new builder-style object to manufacture [`ListPresetsOutput`](crate::output::ListPresetsOutput).
pub fn builder() -> crate::output::list_presets_output::Builder {
crate::output::list_presets_output::Builder::default()
}
}
/// <p>A list of the pipelines associated with the current AWS account.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListPipelinesOutput {
/// <p>An array of <code>Pipeline</code> objects.</p>
#[doc(hidden)]
pub pipelines: std::option::Option<std::vec::Vec<crate::model::Pipeline>>,
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the pipelines fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
#[doc(hidden)]
pub next_page_token: std::option::Option<std::string::String>,
}
impl ListPipelinesOutput {
/// <p>An array of <code>Pipeline</code> objects.</p>
pub fn pipelines(&self) -> std::option::Option<&[crate::model::Pipeline]> {
self.pipelines.as_deref()
}
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the pipelines fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
pub fn next_page_token(&self) -> std::option::Option<&str> {
self.next_page_token.as_deref()
}
}
/// See [`ListPipelinesOutput`](crate::output::ListPipelinesOutput).
pub mod list_pipelines_output {
/// A builder for [`ListPipelinesOutput`](crate::output::ListPipelinesOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) pipelines: std::option::Option<std::vec::Vec<crate::model::Pipeline>>,
pub(crate) next_page_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `pipelines`.
///
/// To override the contents of this collection use [`set_pipelines`](Self::set_pipelines).
///
/// <p>An array of <code>Pipeline</code> objects.</p>
pub fn pipelines(mut self, input: crate::model::Pipeline) -> Self {
let mut v = self.pipelines.unwrap_or_default();
v.push(input);
self.pipelines = Some(v);
self
}
/// <p>An array of <code>Pipeline</code> objects.</p>
pub fn set_pipelines(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Pipeline>>,
) -> Self {
self.pipelines = input;
self
}
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the pipelines fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
pub fn next_page_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_page_token = Some(input.into());
self
}
/// <p>A value that you use to access the second and subsequent pages of results, if any. When the pipelines fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>.</p>
pub fn set_next_page_token(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.next_page_token = input;
self
}
/// Consumes the builder and constructs a [`ListPipelinesOutput`](crate::output::ListPipelinesOutput).
pub fn build(self) -> crate::output::ListPipelinesOutput {
crate::output::ListPipelinesOutput {
pipelines: self.pipelines,
next_page_token: self.next_page_token,
}
}
}
}
impl ListPipelinesOutput {
/// Creates a new builder-style object to manufacture [`ListPipelinesOutput`](crate::output::ListPipelinesOutput).
pub fn builder() -> crate::output::list_pipelines_output::Builder {
crate::output::list_pipelines_output::Builder::default()
}
}
/// <p> The <code>ListJobsByStatusResponse</code> structure. </p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListJobsByStatusOutput {
/// <p>An array of <code>Job</code> objects that have the specified status.</p>
#[doc(hidden)]
pub jobs: std::option::Option<std::vec::Vec<crate::model::Job>>,
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
#[doc(hidden)]
pub next_page_token: std::option::Option<std::string::String>,
}
impl ListJobsByStatusOutput {
/// <p>An array of <code>Job</code> objects that have the specified status.</p>
pub fn jobs(&self) -> std::option::Option<&[crate::model::Job]> {
self.jobs.as_deref()
}
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
pub fn next_page_token(&self) -> std::option::Option<&str> {
self.next_page_token.as_deref()
}
}
/// See [`ListJobsByStatusOutput`](crate::output::ListJobsByStatusOutput).
pub mod list_jobs_by_status_output {
/// A builder for [`ListJobsByStatusOutput`](crate::output::ListJobsByStatusOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) jobs: std::option::Option<std::vec::Vec<crate::model::Job>>,
pub(crate) next_page_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `jobs`.
///
/// To override the contents of this collection use [`set_jobs`](Self::set_jobs).
///
/// <p>An array of <code>Job</code> objects that have the specified status.</p>
pub fn jobs(mut self, input: crate::model::Job) -> Self {
let mut v = self.jobs.unwrap_or_default();
v.push(input);
self.jobs = Some(v);
self
}
/// <p>An array of <code>Job</code> objects that have the specified status.</p>
pub fn set_jobs(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Job>>,
) -> Self {
self.jobs = input;
self
}
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
pub fn next_page_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_page_token = Some(input.into());
self
}
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
pub fn set_next_page_token(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.next_page_token = input;
self
}
/// Consumes the builder and constructs a [`ListJobsByStatusOutput`](crate::output::ListJobsByStatusOutput).
pub fn build(self) -> crate::output::ListJobsByStatusOutput {
crate::output::ListJobsByStatusOutput {
jobs: self.jobs,
next_page_token: self.next_page_token,
}
}
}
}
impl ListJobsByStatusOutput {
/// Creates a new builder-style object to manufacture [`ListJobsByStatusOutput`](crate::output::ListJobsByStatusOutput).
pub fn builder() -> crate::output::list_jobs_by_status_output::Builder {
crate::output::list_jobs_by_status_output::Builder::default()
}
}
/// <p>The <code>ListJobsByPipelineResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct ListJobsByPipelineOutput {
/// <p>An array of <code>Job</code> objects that are in the specified pipeline.</p>
#[doc(hidden)]
pub jobs: std::option::Option<std::vec::Vec<crate::model::Job>>,
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
#[doc(hidden)]
pub next_page_token: std::option::Option<std::string::String>,
}
impl ListJobsByPipelineOutput {
/// <p>An array of <code>Job</code> objects that are in the specified pipeline.</p>
pub fn jobs(&self) -> std::option::Option<&[crate::model::Job]> {
self.jobs.as_deref()
}
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
pub fn next_page_token(&self) -> std::option::Option<&str> {
self.next_page_token.as_deref()
}
}
/// See [`ListJobsByPipelineOutput`](crate::output::ListJobsByPipelineOutput).
pub mod list_jobs_by_pipeline_output {
/// A builder for [`ListJobsByPipelineOutput`](crate::output::ListJobsByPipelineOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) jobs: std::option::Option<std::vec::Vec<crate::model::Job>>,
pub(crate) next_page_token: std::option::Option<std::string::String>,
}
impl Builder {
/// Appends an item to `jobs`.
///
/// To override the contents of this collection use [`set_jobs`](Self::set_jobs).
///
/// <p>An array of <code>Job</code> objects that are in the specified pipeline.</p>
pub fn jobs(mut self, input: crate::model::Job) -> Self {
let mut v = self.jobs.unwrap_or_default();
v.push(input);
self.jobs = Some(v);
self
}
/// <p>An array of <code>Job</code> objects that are in the specified pipeline.</p>
pub fn set_jobs(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Job>>,
) -> Self {
self.jobs = input;
self
}
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
pub fn next_page_token(mut self, input: impl Into<std::string::String>) -> Self {
self.next_page_token = Some(input.into());
self
}
/// <p> A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of <code>NextPageToken</code> is <code>null</code>. </p>
pub fn set_next_page_token(
mut self,
input: std::option::Option<std::string::String>,
) -> Self {
self.next_page_token = input;
self
}
/// Consumes the builder and constructs a [`ListJobsByPipelineOutput`](crate::output::ListJobsByPipelineOutput).
pub fn build(self) -> crate::output::ListJobsByPipelineOutput {
crate::output::ListJobsByPipelineOutput {
jobs: self.jobs,
next_page_token: self.next_page_token,
}
}
}
}
impl ListJobsByPipelineOutput {
/// Creates a new builder-style object to manufacture [`ListJobsByPipelineOutput`](crate::output::ListJobsByPipelineOutput).
pub fn builder() -> crate::output::list_jobs_by_pipeline_output::Builder {
crate::output::list_jobs_by_pipeline_output::Builder::default()
}
}
/// <p>The <code>DeletePresetResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeletePresetOutput {}
/// See [`DeletePresetOutput`](crate::output::DeletePresetOutput).
pub mod delete_preset_output {
/// A builder for [`DeletePresetOutput`](crate::output::DeletePresetOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeletePresetOutput`](crate::output::DeletePresetOutput).
pub fn build(self) -> crate::output::DeletePresetOutput {
crate::output::DeletePresetOutput {}
}
}
}
impl DeletePresetOutput {
/// Creates a new builder-style object to manufacture [`DeletePresetOutput`](crate::output::DeletePresetOutput).
pub fn builder() -> crate::output::delete_preset_output::Builder {
crate::output::delete_preset_output::Builder::default()
}
}
/// <p>The <code>DeletePipelineResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct DeletePipelineOutput {}
/// See [`DeletePipelineOutput`](crate::output::DeletePipelineOutput).
pub mod delete_pipeline_output {
/// A builder for [`DeletePipelineOutput`](crate::output::DeletePipelineOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`DeletePipelineOutput`](crate::output::DeletePipelineOutput).
pub fn build(self) -> crate::output::DeletePipelineOutput {
crate::output::DeletePipelineOutput {}
}
}
}
impl DeletePipelineOutput {
/// Creates a new builder-style object to manufacture [`DeletePipelineOutput`](crate::output::DeletePipelineOutput).
pub fn builder() -> crate::output::delete_pipeline_output::Builder {
crate::output::delete_pipeline_output::Builder::default()
}
}
/// <p>The <code>CreatePresetResponse</code> structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreatePresetOutput {
/// <p>A section of the response body that provides information about the preset that is created.</p>
#[doc(hidden)]
pub preset: std::option::Option<crate::model::Preset>,
/// <p>If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.</p>
#[doc(hidden)]
pub warning: std::option::Option<std::string::String>,
}
impl CreatePresetOutput {
/// <p>A section of the response body that provides information about the preset that is created.</p>
pub fn preset(&self) -> std::option::Option<&crate::model::Preset> {
self.preset.as_ref()
}
/// <p>If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.</p>
pub fn warning(&self) -> std::option::Option<&str> {
self.warning.as_deref()
}
}
/// See [`CreatePresetOutput`](crate::output::CreatePresetOutput).
pub mod create_preset_output {
/// A builder for [`CreatePresetOutput`](crate::output::CreatePresetOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) preset: std::option::Option<crate::model::Preset>,
pub(crate) warning: std::option::Option<std::string::String>,
}
impl Builder {
/// <p>A section of the response body that provides information about the preset that is created.</p>
pub fn preset(mut self, input: crate::model::Preset) -> Self {
self.preset = Some(input);
self
}
/// <p>A section of the response body that provides information about the preset that is created.</p>
pub fn set_preset(mut self, input: std::option::Option<crate::model::Preset>) -> Self {
self.preset = input;
self
}
/// <p>If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.</p>
pub fn warning(mut self, input: impl Into<std::string::String>) -> Self {
self.warning = Some(input.into());
self
}
/// <p>If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.</p>
pub fn set_warning(mut self, input: std::option::Option<std::string::String>) -> Self {
self.warning = input;
self
}
/// Consumes the builder and constructs a [`CreatePresetOutput`](crate::output::CreatePresetOutput).
pub fn build(self) -> crate::output::CreatePresetOutput {
crate::output::CreatePresetOutput {
preset: self.preset,
warning: self.warning,
}
}
}
}
impl CreatePresetOutput {
/// Creates a new builder-style object to manufacture [`CreatePresetOutput`](crate::output::CreatePresetOutput).
pub fn builder() -> crate::output::create_preset_output::Builder {
crate::output::create_preset_output::Builder::default()
}
}
/// <p>When you create a pipeline, Elastic Transcoder returns the values that you specified in the request.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreatePipelineOutput {
/// <p>A section of the response body that provides information about the pipeline that is created.</p>
#[doc(hidden)]
pub pipeline: std::option::Option<crate::model::Pipeline>,
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
#[doc(hidden)]
pub warnings: std::option::Option<std::vec::Vec<crate::model::Warning>>,
}
impl CreatePipelineOutput {
/// <p>A section of the response body that provides information about the pipeline that is created.</p>
pub fn pipeline(&self) -> std::option::Option<&crate::model::Pipeline> {
self.pipeline.as_ref()
}
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn warnings(&self) -> std::option::Option<&[crate::model::Warning]> {
self.warnings.as_deref()
}
}
/// See [`CreatePipelineOutput`](crate::output::CreatePipelineOutput).
pub mod create_pipeline_output {
/// A builder for [`CreatePipelineOutput`](crate::output::CreatePipelineOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) pipeline: std::option::Option<crate::model::Pipeline>,
pub(crate) warnings: std::option::Option<std::vec::Vec<crate::model::Warning>>,
}
impl Builder {
/// <p>A section of the response body that provides information about the pipeline that is created.</p>
pub fn pipeline(mut self, input: crate::model::Pipeline) -> Self {
self.pipeline = Some(input);
self
}
/// <p>A section of the response body that provides information about the pipeline that is created.</p>
pub fn set_pipeline(mut self, input: std::option::Option<crate::model::Pipeline>) -> Self {
self.pipeline = input;
self
}
/// Appends an item to `warnings`.
///
/// To override the contents of this collection use [`set_warnings`](Self::set_warnings).
///
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn warnings(mut self, input: crate::model::Warning) -> Self {
let mut v = self.warnings.unwrap_or_default();
v.push(input);
self.warnings = Some(v);
self
}
/// <p>Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.</p>
/// <p>Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.</p>
pub fn set_warnings(
mut self,
input: std::option::Option<std::vec::Vec<crate::model::Warning>>,
) -> Self {
self.warnings = input;
self
}
/// Consumes the builder and constructs a [`CreatePipelineOutput`](crate::output::CreatePipelineOutput).
pub fn build(self) -> crate::output::CreatePipelineOutput {
crate::output::CreatePipelineOutput {
pipeline: self.pipeline,
warnings: self.warnings,
}
}
}
}
impl CreatePipelineOutput {
/// Creates a new builder-style object to manufacture [`CreatePipelineOutput`](crate::output::CreatePipelineOutput).
pub fn builder() -> crate::output::create_pipeline_output::Builder {
crate::output::create_pipeline_output::Builder::default()
}
}
/// <p>The CreateJobResponse structure.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CreateJobOutput {
/// <p>A section of the response body that provides information about the job that is created.</p>
#[doc(hidden)]
pub job: std::option::Option<crate::model::Job>,
}
impl CreateJobOutput {
/// <p>A section of the response body that provides information about the job that is created.</p>
pub fn job(&self) -> std::option::Option<&crate::model::Job> {
self.job.as_ref()
}
}
/// See [`CreateJobOutput`](crate::output::CreateJobOutput).
pub mod create_job_output {
/// A builder for [`CreateJobOutput`](crate::output::CreateJobOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {
pub(crate) job: std::option::Option<crate::model::Job>,
}
impl Builder {
/// <p>A section of the response body that provides information about the job that is created.</p>
pub fn job(mut self, input: crate::model::Job) -> Self {
self.job = Some(input);
self
}
/// <p>A section of the response body that provides information about the job that is created.</p>
pub fn set_job(mut self, input: std::option::Option<crate::model::Job>) -> Self {
self.job = input;
self
}
/// Consumes the builder and constructs a [`CreateJobOutput`](crate::output::CreateJobOutput).
pub fn build(self) -> crate::output::CreateJobOutput {
crate::output::CreateJobOutput { job: self.job }
}
}
}
impl CreateJobOutput {
/// Creates a new builder-style object to manufacture [`CreateJobOutput`](crate::output::CreateJobOutput).
pub fn builder() -> crate::output::create_job_output::Builder {
crate::output::create_job_output::Builder::default()
}
}
/// <p>The response body contains a JSON object. If the job is successfully canceled, the value of <code>Success</code> is <code>true</code>.</p>
#[non_exhaustive]
#[derive(std::clone::Clone, std::cmp::PartialEq, std::fmt::Debug)]
pub struct CancelJobOutput {}
/// See [`CancelJobOutput`](crate::output::CancelJobOutput).
pub mod cancel_job_output {
/// A builder for [`CancelJobOutput`](crate::output::CancelJobOutput).
#[derive(std::clone::Clone, std::cmp::PartialEq, std::default::Default, std::fmt::Debug)]
pub struct Builder {}
impl Builder {
/// Consumes the builder and constructs a [`CancelJobOutput`](crate::output::CancelJobOutput).
pub fn build(self) -> crate::output::CancelJobOutput {
crate::output::CancelJobOutput {}
}
}
}
impl CancelJobOutput {
/// Creates a new builder-style object to manufacture [`CancelJobOutput`](crate::output::CancelJobOutput).
pub fn builder() -> crate::output::cancel_job_output::Builder {
crate::output::cancel_job_output::Builder::default()
}
}