AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
ConfigureLogsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage-vod/MediaPackageVodRequest.h>
9#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
10#include <aws/mediapackage-vod/model/EgressAccessLogs.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaPackageVod {
16namespace Model {
17
24 public:
25 AWS_MEDIAPACKAGEVOD_API ConfigureLogsRequest() = 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 "ConfigureLogs"; }
32
33 AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override;
34
36
37 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
38 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
39 template <typename EgressAccessLogsT = EgressAccessLogs>
40 void SetEgressAccessLogs(EgressAccessLogsT&& value) {
41 m_egressAccessLogsHasBeenSet = true;
42 m_egressAccessLogs = std::forward<EgressAccessLogsT>(value);
43 }
44 template <typename EgressAccessLogsT = EgressAccessLogs>
45 ConfigureLogsRequest& WithEgressAccessLogs(EgressAccessLogsT&& value) {
46 SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetId() const { return m_id; }
56 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
57 template <typename IdT = Aws::String>
58 void SetId(IdT&& value) {
59 m_idHasBeenSet = true;
60 m_id = std::forward<IdT>(value);
61 }
62 template <typename IdT = Aws::String>
64 SetId(std::forward<IdT>(value));
65 return *this;
66 }
68 private:
69 EgressAccessLogs m_egressAccessLogs;
70
71 Aws::String m_id;
72 bool m_egressAccessLogsHasBeenSet = false;
73 bool m_idHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace MediaPackageVod
78} // namespace Aws
ConfigureLogsRequest & WithEgressAccessLogs(EgressAccessLogsT &&value)
AWS_MEDIAPACKAGEVOD_API ConfigureLogsRequest()=default
AWS_MEDIAPACKAGEVOD_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String