AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigureLogsRequest.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/mediapackage-vod/MediaPackageVodRequest.h>
9#include <aws/mediapackage-vod/model/EgressAccessLogs.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaPackageVod
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIAPACKAGEVOD_API ConfigureLogsRequest();
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 "ConfigureLogs"; }
35
36 AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override;
37
38
40
41 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
42 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
43 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = value; }
44 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::move(value); }
46 inline ConfigureLogsRequest& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetId() const{ return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
58 inline ConfigureLogsRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline ConfigureLogsRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline ConfigureLogsRequest& WithId(const char* value) { SetId(value); return *this;}
62 private:
63
64 EgressAccessLogs m_egressAccessLogs;
65 bool m_egressAccessLogsHasBeenSet = false;
66
67 Aws::String m_id;
68 bool m_idHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MediaPackageVod
73} // namespace Aws
ConfigureLogsRequest & WithEgressAccessLogs(const EgressAccessLogs &value)
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
ConfigureLogsRequest & WithEgressAccessLogs(EgressAccessLogs &&value)
ConfigureLogsRequest & WithId(Aws::String &&value)
ConfigureLogsRequest & WithId(const char *value)
ConfigureLogsRequest & WithId(const Aws::String &value)
void SetEgressAccessLogs(const EgressAccessLogs &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String