AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigureLogsResult.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage/model/EgressAccessLogs.h>
10#include <aws/mediapackage/model/HlsIngest.h>
11#include <aws/mediapackage/model/IngressAccessLogs.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaPackage
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MEDIAPACKAGE_API ConfigureLogsResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline ConfigureLogsResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline ConfigureLogsResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline ConfigureLogsResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::String& GetCreatedAt() const{ return m_createdAt; }
57 inline void SetCreatedAt(const Aws::String& value) { m_createdAt = value; }
58 inline void SetCreatedAt(Aws::String&& value) { m_createdAt = std::move(value); }
59 inline void SetCreatedAt(const char* value) { m_createdAt.assign(value); }
60 inline ConfigureLogsResult& WithCreatedAt(const Aws::String& value) { SetCreatedAt(value); return *this;}
61 inline ConfigureLogsResult& WithCreatedAt(Aws::String&& value) { SetCreatedAt(std::move(value)); return *this;}
62 inline ConfigureLogsResult& WithCreatedAt(const char* value) { SetCreatedAt(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline void SetDescription(const Aws::String& value) { m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_description.assign(value); }
73 inline ConfigureLogsResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline ConfigureLogsResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline ConfigureLogsResult& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
80 inline const EgressAccessLogs& GetEgressAccessLogs() const{ return m_egressAccessLogs; }
81 inline void SetEgressAccessLogs(const EgressAccessLogs& value) { m_egressAccessLogs = value; }
82 inline void SetEgressAccessLogs(EgressAccessLogs&& value) { m_egressAccessLogs = std::move(value); }
84 inline ConfigureLogsResult& WithEgressAccessLogs(EgressAccessLogs&& value) { SetEgressAccessLogs(std::move(value)); return *this;}
86
88
89 inline const HlsIngest& GetHlsIngest() const{ return m_hlsIngest; }
90 inline void SetHlsIngest(const HlsIngest& value) { m_hlsIngest = value; }
91 inline void SetHlsIngest(HlsIngest&& value) { m_hlsIngest = std::move(value); }
92 inline ConfigureLogsResult& WithHlsIngest(const HlsIngest& value) { SetHlsIngest(value); return *this;}
93 inline ConfigureLogsResult& WithHlsIngest(HlsIngest&& value) { SetHlsIngest(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetId() const{ return m_id; }
101 inline void SetId(const Aws::String& value) { m_id = value; }
102 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
103 inline void SetId(const char* value) { m_id.assign(value); }
104 inline ConfigureLogsResult& WithId(const Aws::String& value) { SetId(value); return *this;}
105 inline ConfigureLogsResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
106 inline ConfigureLogsResult& WithId(const char* value) { SetId(value); return *this;}
108
110
111 inline const IngressAccessLogs& GetIngressAccessLogs() const{ return m_ingressAccessLogs; }
112 inline void SetIngressAccessLogs(const IngressAccessLogs& value) { m_ingressAccessLogs = value; }
113 inline void SetIngressAccessLogs(IngressAccessLogs&& value) { m_ingressAccessLogs = std::move(value); }
115 inline ConfigureLogsResult& WithIngressAccessLogs(IngressAccessLogs&& value) { SetIngressAccessLogs(std::move(value)); return *this;}
117
119
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
121 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
122 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
123 inline ConfigureLogsResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
124 inline ConfigureLogsResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
125 inline ConfigureLogsResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
126 inline ConfigureLogsResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
127 inline ConfigureLogsResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
128 inline ConfigureLogsResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
129 inline ConfigureLogsResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
130 inline ConfigureLogsResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
131 inline ConfigureLogsResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
133
135
136 inline const Aws::String& GetRequestId() const{ return m_requestId; }
137 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
138 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
139 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
140 inline ConfigureLogsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
141 inline ConfigureLogsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
142 inline ConfigureLogsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
144 private:
145
146 Aws::String m_arn;
147
148 Aws::String m_createdAt;
149
150 Aws::String m_description;
151
152 EgressAccessLogs m_egressAccessLogs;
153
154 HlsIngest m_hlsIngest;
155
156 Aws::String m_id;
157
158 IngressAccessLogs m_ingressAccessLogs;
159
161
162 Aws::String m_requestId;
163 };
164
165} // namespace Model
166} // namespace MediaPackage
167} // namespace Aws
ConfigureLogsResult & WithId(Aws::String &&value)
ConfigureLogsResult & WithRequestId(const char *value)
ConfigureLogsResult & WithHlsIngest(const HlsIngest &value)
AWS_MEDIAPACKAGE_API ConfigureLogsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfigureLogsResult & WithHlsIngest(HlsIngest &&value)
ConfigureLogsResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ConfigureLogsResult & AddTags(const Aws::String &key, Aws::String &&value)
ConfigureLogsResult & WithCreatedAt(const Aws::String &value)
ConfigureLogsResult & AddTags(Aws::String &&key, const Aws::String &value)
ConfigureLogsResult & WithId(const Aws::String &value)
ConfigureLogsResult & WithDescription(const Aws::String &value)
const IngressAccessLogs & GetIngressAccessLogs() const
void SetEgressAccessLogs(const EgressAccessLogs &value)
ConfigureLogsResult & WithIngressAccessLogs(IngressAccessLogs &&value)
ConfigureLogsResult & WithDescription(const char *value)
ConfigureLogsResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MEDIAPACKAGE_API ConfigureLogsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfigureLogsResult & WithDescription(Aws::String &&value)
ConfigureLogsResult & AddTags(const char *key, Aws::String &&value)
ConfigureLogsResult & WithCreatedAt(Aws::String &&value)
void SetIngressAccessLogs(const IngressAccessLogs &value)
ConfigureLogsResult & WithArn(Aws::String &&value)
void SetEgressAccessLogs(EgressAccessLogs &&value)
ConfigureLogsResult & WithId(const char *value)
ConfigureLogsResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ConfigureLogsResult & WithIngressAccessLogs(const IngressAccessLogs &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ConfigureLogsResult & WithRequestId(const Aws::String &value)
ConfigureLogsResult & WithArn(const char *value)
ConfigureLogsResult & WithRequestId(Aws::String &&value)
ConfigureLogsResult & AddTags(Aws::String &&key, const char *value)
ConfigureLogsResult & WithCreatedAt(const char *value)
ConfigureLogsResult & WithArn(const Aws::String &value)
ConfigureLogsResult & WithEgressAccessLogs(EgressAccessLogs &&value)
void SetIngressAccessLogs(IngressAccessLogs &&value)
ConfigureLogsResult & AddTags(const char *key, const char *value)
ConfigureLogsResult & WithEgressAccessLogs(const EgressAccessLogs &value)
ConfigureLogsResult & AddTags(Aws::String &&key, Aws::String &&value)
const EgressAccessLogs & GetEgressAccessLogs() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue