AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProgressUpdateStream(const Aws::String& value) { m_progressUpdateStreamHasBeenSet = true; m_progressUpdateStream = value; }
45 inline void SetProgressUpdateStream(Aws::String&& value) { m_progressUpdateStreamHasBeenSet = true; m_progressUpdateStream = std::move(value); }
46 inline void SetProgressUpdateStream(const char* value) { m_progressUpdateStreamHasBeenSet = true; m_progressUpdateStream.assign(value); }
49 inline AssociateCreatedArtifactRequest& WithProgressUpdateStream(const char* value) { SetProgressUpdateStream(value); return *this;}
51
53
57 inline const Aws::String& GetMigrationTaskName() const{ return m_migrationTaskName; }
58 inline bool MigrationTaskNameHasBeenSet() const { return m_migrationTaskNameHasBeenSet; }
59 inline void SetMigrationTaskName(const Aws::String& value) { m_migrationTaskNameHasBeenSet = true; m_migrationTaskName = value; }
60 inline void SetMigrationTaskName(Aws::String&& value) { m_migrationTaskNameHasBeenSet = true; m_migrationTaskName = std::move(value); }
61 inline void SetMigrationTaskName(const char* value) { m_migrationTaskNameHasBeenSet = true; m_migrationTaskName.assign(value); }
64 inline AssociateCreatedArtifactRequest& WithMigrationTaskName(const char* value) { SetMigrationTaskName(value); return *this;}
66
68
72 inline const CreatedArtifact& GetCreatedArtifact() const{ return m_createdArtifact; }
73 inline bool CreatedArtifactHasBeenSet() const { return m_createdArtifactHasBeenSet; }
74 inline void SetCreatedArtifact(const CreatedArtifact& value) { m_createdArtifactHasBeenSet = true; m_createdArtifact = value; }
75 inline void SetCreatedArtifact(CreatedArtifact&& value) { m_createdArtifactHasBeenSet = true; m_createdArtifact = std::move(value); }
79
81
85 inline bool GetDryRun() const{ return m_dryRun; }
86 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
87 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
88 inline AssociateCreatedArtifactRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
90 private:
91
92 Aws::String m_progressUpdateStream;
93 bool m_progressUpdateStreamHasBeenSet = false;
94
95 Aws::String m_migrationTaskName;
96 bool m_migrationTaskNameHasBeenSet = false;
97
98 CreatedArtifact m_createdArtifact;
99 bool m_createdArtifactHasBeenSet = false;
100
101 bool m_dryRun;
102 bool m_dryRunHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace MigrationHub
107} // namespace Aws
AssociateCreatedArtifactRequest & WithCreatedArtifact(CreatedArtifact &&value)
AssociateCreatedArtifactRequest & WithCreatedArtifact(const CreatedArtifact &value)
AWS_MIGRATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateCreatedArtifactRequest & WithProgressUpdateStream(const char *value)
AssociateCreatedArtifactRequest & WithMigrationTaskName(const char *value)
AWS_MIGRATIONHUB_API Aws::String SerializePayload() const override
AssociateCreatedArtifactRequest & WithMigrationTaskName(Aws::String &&value)
AssociateCreatedArtifactRequest & WithProgressUpdateStream(const Aws::String &value)
AssociateCreatedArtifactRequest & WithMigrationTaskName(const Aws::String &value)
AssociateCreatedArtifactRequest & WithProgressUpdateStream(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String