AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssociateCreatedArtifactRequest.h
1
6#pragma once
7#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
8#include <aws/AWSMigrationHub/MigrationHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/AWSMigrationHub/model/CreatedArtifact.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MigrationHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MIGRATIONHUB_API AssociateCreatedArtifactRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateCreatedArtifact"; }
32
33 AWS_MIGRATIONHUB_API Aws::String SerializePayload() const override;
34
35 AWS_MIGRATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetProgressUpdateStream() const { return m_progressUpdateStream; }
43 inline bool ProgressUpdateStreamHasBeenSet() const { return m_progressUpdateStreamHasBeenSet; }
44 template<typename ProgressUpdateStreamT = Aws::String>
45 void SetProgressUpdateStream(ProgressUpdateStreamT&& value) { m_progressUpdateStreamHasBeenSet = true; m_progressUpdateStream = std::forward<ProgressUpdateStreamT>(value); }
46 template<typename ProgressUpdateStreamT = Aws::String>
47 AssociateCreatedArtifactRequest& WithProgressUpdateStream(ProgressUpdateStreamT&& value) { SetProgressUpdateStream(std::forward<ProgressUpdateStreamT>(value)); return *this;}
49
51
55 inline const Aws::String& GetMigrationTaskName() const { return m_migrationTaskName; }
56 inline bool MigrationTaskNameHasBeenSet() const { return m_migrationTaskNameHasBeenSet; }
57 template<typename MigrationTaskNameT = Aws::String>
58 void SetMigrationTaskName(MigrationTaskNameT&& value) { m_migrationTaskNameHasBeenSet = true; m_migrationTaskName = std::forward<MigrationTaskNameT>(value); }
59 template<typename MigrationTaskNameT = Aws::String>
60 AssociateCreatedArtifactRequest& WithMigrationTaskName(MigrationTaskNameT&& value) { SetMigrationTaskName(std::forward<MigrationTaskNameT>(value)); return *this;}
62
64
68 inline const CreatedArtifact& GetCreatedArtifact() const { return m_createdArtifact; }
69 inline bool CreatedArtifactHasBeenSet() const { return m_createdArtifactHasBeenSet; }
70 template<typename CreatedArtifactT = CreatedArtifact>
71 void SetCreatedArtifact(CreatedArtifactT&& value) { m_createdArtifactHasBeenSet = true; m_createdArtifact = std::forward<CreatedArtifactT>(value); }
72 template<typename CreatedArtifactT = CreatedArtifact>
73 AssociateCreatedArtifactRequest& WithCreatedArtifact(CreatedArtifactT&& value) { SetCreatedArtifact(std::forward<CreatedArtifactT>(value)); return *this;}
75
77
81 inline bool GetDryRun() const { return m_dryRun; }
82 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
83 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
84 inline AssociateCreatedArtifactRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
86 private:
87
88 Aws::String m_progressUpdateStream;
89 bool m_progressUpdateStreamHasBeenSet = false;
90
91 Aws::String m_migrationTaskName;
92 bool m_migrationTaskNameHasBeenSet = false;
93
94 CreatedArtifact m_createdArtifact;
95 bool m_createdArtifactHasBeenSet = false;
96
97 bool m_dryRun{false};
98 bool m_dryRunHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace MigrationHub
103} // namespace Aws
AssociateCreatedArtifactRequest & WithProgressUpdateStream(ProgressUpdateStreamT &&value)
AWS_MIGRATIONHUB_API AssociateCreatedArtifactRequest()=default
AssociateCreatedArtifactRequest & WithMigrationTaskName(MigrationTaskNameT &&value)
AWS_MIGRATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_MIGRATIONHUB_API Aws::String SerializePayload() const override
AssociateCreatedArtifactRequest & WithCreatedArtifact(CreatedArtifactT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String