AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DeleteProgressUpdateStreamRequest.h
1
6#pragma once
7#include <aws/AWSMigrationHub/MigrationHubRequest.h>
8#include <aws/AWSMigrationHub/MigrationHub_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MigrationHub {
15namespace Model {
16
20 public:
21 AWS_MIGRATIONHUB_API DeleteProgressUpdateStreamRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteProgressUpdateStream"; }
28
29 AWS_MIGRATIONHUB_API Aws::String SerializePayload() const override;
30
31 AWS_MIGRATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
38 inline const Aws::String& GetProgressUpdateStreamName() const { return m_progressUpdateStreamName; }
39 inline bool ProgressUpdateStreamNameHasBeenSet() const { return m_progressUpdateStreamNameHasBeenSet; }
40 template <typename ProgressUpdateStreamNameT = Aws::String>
41 void SetProgressUpdateStreamName(ProgressUpdateStreamNameT&& value) {
42 m_progressUpdateStreamNameHasBeenSet = true;
43 m_progressUpdateStreamName = std::forward<ProgressUpdateStreamNameT>(value);
44 }
45 template <typename ProgressUpdateStreamNameT = Aws::String>
47 SetProgressUpdateStreamName(std::forward<ProgressUpdateStreamNameT>(value));
48 return *this;
49 }
51
53
57 inline bool GetDryRun() const { return m_dryRun; }
58 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
59 inline void SetDryRun(bool value) {
60 m_dryRunHasBeenSet = true;
61 m_dryRun = value;
62 }
64 SetDryRun(value);
65 return *this;
66 }
68 private:
69 Aws::String m_progressUpdateStreamName;
70
71 bool m_dryRun{false};
72 bool m_progressUpdateStreamNameHasBeenSet = false;
73 bool m_dryRunHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace MigrationHub
78} // namespace Aws
AWS_MIGRATIONHUB_API DeleteProgressUpdateStreamRequest()=default
DeleteProgressUpdateStreamRequest & WithProgressUpdateStreamName(ProgressUpdateStreamNameT &&value)
AWS_MIGRATIONHUB_API Aws::String SerializePayload() const override
AWS_MIGRATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String