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/MediaPackage_EXPORTS.h>
8#include <aws/mediapackage/MediaPackageRequest.h>
9#include <aws/mediapackage/model/EgressAccessLogs.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediapackage/model/IngressAccessLogs.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaPackage
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_MEDIAPACKAGE_API ConfigureLogsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ConfigureLogs"; }
36
37 AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override;
38
39
41
42 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
43 inline bool EgressAccessLogsHasBeenSet() const { return m_egressAccessLogsHasBeenSet; }
44 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = value; }
45 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::move(value); }
47 inline ConfigureLogsRequest& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
59 inline ConfigureLogsRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
60 inline ConfigureLogsRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
61 inline ConfigureLogsRequest& WithId(const char* value) { SetId(value); return *this;}
63
65
66 inline const IngressAccessLogs& GetIngressAccessLogs() const{ return m_ingressAccessLogs; }
67 inline bool IngressAccessLogsHasBeenSet() const { return m_ingressAccessLogsHasBeenSet; }
68 inline void SetIngressAccessLogs(const IngressAccessLogs& value) { m_ingressAccessLogsHasBeenSet = true; m_ingressAccessLogs = value; }
69 inline void SetIngressAccessLogs(IngressAccessLogs&& value) { m_ingressAccessLogsHasBeenSet = true; m_ingressAccessLogs = std::move(value); }
71 inline ConfigureLogsRequest& WithIngressAccessLogs(IngressAccessLogs&& value) { SetIngressAccessLogs(std::move(value)); return *this;}
73 private:
74
75 EgressAccessLogs m_egressAccessLogs;
76 bool m_egressAccessLogsHasBeenSet = false;
77
78 Aws::String m_id;
79 bool m_idHasBeenSet = false;
80
81 IngressAccessLogs m_ingressAccessLogs;
82 bool m_ingressAccessLogsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace MediaPackage
87} // namespace Aws
virtual const char * GetServiceRequestName() const override
const IngressAccessLogs & GetIngressAccessLogs() const
const EgressAccessLogs & GetEgressAccessLogs() const
ConfigureLogsRequest & WithId(const Aws::String &value)
ConfigureLogsRequest & WithEgressAccessLogs(const EgressAccessLogs &value)
AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override
ConfigureLogsRequest & WithId(const char *value)
ConfigureLogsRequest & WithIngressAccessLogs(const IngressAccessLogs &value)
ConfigureLogsRequest & WithIngressAccessLogs(IngressAccessLogs &&value)
void SetIngressAccessLogs(IngressAccessLogs &&value)
void SetIngressAccessLogs(const IngressAccessLogs &value)
ConfigureLogsRequest & WithEgressAccessLogs(EgressAccessLogs &&value)
void SetEgressAccessLogs(const EgressAccessLogs &value)
ConfigureLogsRequest & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String