AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
54 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
55 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
56 inline StartMonitorDeploymentRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
57 inline StartMonitorDeploymentRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
58 inline StartMonitorDeploymentRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
60 private:
61
62 bool m_dryRun;
63 bool m_dryRunHasBeenSet = false;
64
65 Aws::String m_identifier;
66 bool m_identifierHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace MediaLive
71} // namespace Aws
StartMonitorDeploymentRequest & WithIdentifier(Aws::String &&value)
StartMonitorDeploymentRequest & WithIdentifier(const Aws::String &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
StartMonitorDeploymentRequest & WithIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String