AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
AssociateCreatedArtifactRequest.h
1
6#pragma once
7#include <aws/AWSMigrationHub/MigrationHubRequest.h>
8#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
9#include <aws/AWSMigrationHub/model/CreatedArtifact.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MigrationHub {
16namespace Model {
17
21 public:
22 AWS_MIGRATIONHUB_API AssociateCreatedArtifactRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "AssociateCreatedArtifact"; }
29
30 AWS_MIGRATIONHUB_API Aws::String SerializePayload() const override;
31
32 AWS_MIGRATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetProgressUpdateStream() const { return m_progressUpdateStream; }
39 inline bool ProgressUpdateStreamHasBeenSet() const { return m_progressUpdateStreamHasBeenSet; }
40 template <typename ProgressUpdateStreamT = Aws::String>
41 void SetProgressUpdateStream(ProgressUpdateStreamT&& value) {
42 m_progressUpdateStreamHasBeenSet = true;
43 m_progressUpdateStream = std::forward<ProgressUpdateStreamT>(value);
44 }
45 template <typename ProgressUpdateStreamT = Aws::String>
47 SetProgressUpdateStream(std::forward<ProgressUpdateStreamT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetMigrationTaskName() const { return m_migrationTaskName; }
58 inline bool MigrationTaskNameHasBeenSet() const { return m_migrationTaskNameHasBeenSet; }
59 template <typename MigrationTaskNameT = Aws::String>
60 void SetMigrationTaskName(MigrationTaskNameT&& value) {
61 m_migrationTaskNameHasBeenSet = true;
62 m_migrationTaskName = std::forward<MigrationTaskNameT>(value);
63 }
64 template <typename MigrationTaskNameT = Aws::String>
66 SetMigrationTaskName(std::forward<MigrationTaskNameT>(value));
67 return *this;
68 }
70
72
76 inline const CreatedArtifact& GetCreatedArtifact() const { return m_createdArtifact; }
77 inline bool CreatedArtifactHasBeenSet() const { return m_createdArtifactHasBeenSet; }
78 template <typename CreatedArtifactT = CreatedArtifact>
79 void SetCreatedArtifact(CreatedArtifactT&& value) {
80 m_createdArtifactHasBeenSet = true;
81 m_createdArtifact = std::forward<CreatedArtifactT>(value);
82 }
83 template <typename CreatedArtifactT = CreatedArtifact>
85 SetCreatedArtifact(std::forward<CreatedArtifactT>(value));
86 return *this;
87 }
89
91
95 inline bool GetDryRun() const { return m_dryRun; }
96 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
97 inline void SetDryRun(bool value) {
98 m_dryRunHasBeenSet = true;
99 m_dryRun = value;
100 }
102 SetDryRun(value);
103 return *this;
104 }
106 private:
107 Aws::String m_progressUpdateStream;
108
109 Aws::String m_migrationTaskName;
110
111 CreatedArtifact m_createdArtifact;
112
113 bool m_dryRun{false};
114 bool m_progressUpdateStreamHasBeenSet = false;
115 bool m_migrationTaskNameHasBeenSet = false;
116 bool m_createdArtifactHasBeenSet = false;
117 bool m_dryRunHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace MigrationHub
122} // 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