AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StartMonitorDeploymentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MediaLive {
15namespace Model {
16
24 public:
25 AWS_MEDIALIVE_API StartMonitorDeploymentRequest() = 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 "StartMonitorDeployment"; }
32
33 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
34
36
37 inline bool GetDryRun() const { return m_dryRun; }
38 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
39 inline void SetDryRun(bool value) {
40 m_dryRunHasBeenSet = true;
41 m_dryRun = value;
42 }
44 SetDryRun(value);
45 return *this;
46 }
48
50
53 inline const Aws::String& GetIdentifier() const { return m_identifier; }
54 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
55 template <typename IdentifierT = Aws::String>
56 void SetIdentifier(IdentifierT&& value) {
57 m_identifierHasBeenSet = true;
58 m_identifier = std::forward<IdentifierT>(value);
59 }
60 template <typename IdentifierT = Aws::String>
62 SetIdentifier(std::forward<IdentifierT>(value));
63 return *this;
64 }
66 private:
67 bool m_dryRun{false};
68
69 Aws::String m_identifier;
70 bool m_dryRunHasBeenSet = false;
71 bool m_identifierHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace MediaLive
76} // 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