AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartMonitorDeploymentRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace MediaLive
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_MEDIALIVE_API StartMonitorDeploymentRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartMonitorDeployment"; }
35
36 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
37
38
40
41 inline bool GetDryRun() const { return m_dryRun; }
42 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
43 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
44 inline StartMonitorDeploymentRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
46
48
51 inline const Aws::String& GetIdentifier() const { return m_identifier; }
52 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
53 template<typename IdentifierT = Aws::String>
54 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
55 template<typename IdentifierT = Aws::String>
56 StartMonitorDeploymentRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
58 private:
59
60 bool m_dryRun{false};
61 bool m_dryRunHasBeenSet = false;
62
63 Aws::String m_identifier;
64 bool m_identifierHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace MediaLive
69} // namespace Aws
AWS_MEDIALIVE_API StartMonitorDeploymentRequest()=default
StartMonitorDeploymentRequest & WithIdentifier(IdentifierT &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String