AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConfigureLogsResult.h
1
6#pragma once
7#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage-vod/model/Authorization.h>
10#include <aws/mediapackage-vod/model/EgressAccessLogs.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MediaPackageVod
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MEDIAPACKAGEVOD_API ConfigureLogsResult() = default;
36
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 ConfigureLogsResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
51 inline const Authorization& GetAuthorization() const { return m_authorization; }
52 template<typename AuthorizationT = Authorization>
53 void SetAuthorization(AuthorizationT&& value) { m_authorizationHasBeenSet = true; m_authorization = std::forward<AuthorizationT>(value); }
54 template<typename AuthorizationT = Authorization>
55 ConfigureLogsResult& WithAuthorization(AuthorizationT&& value) { SetAuthorization(std::forward<AuthorizationT>(value)); return *this;}
57
59
62 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
63 template<typename CreatedAtT = Aws::String>
64 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
65 template<typename CreatedAtT = Aws::String>
66 ConfigureLogsResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDomainName() const { return m_domainName; }
74 template<typename DomainNameT = Aws::String>
75 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
76 template<typename DomainNameT = Aws::String>
77 ConfigureLogsResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
79
81
82 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
83 template<typename EgressAccessLogsT = EgressAccessLogs>
84 void SetEgressAccessLogs(EgressAccessLogsT&& value) { m_egressAccessLogsHasBeenSet = true; m_egressAccessLogs = std::forward<EgressAccessLogsT>(value); }
85 template<typename EgressAccessLogsT = EgressAccessLogs>
86 ConfigureLogsResult& WithEgressAccessLogs(EgressAccessLogsT&& value) { SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value)); return *this;}
88
90
93 inline const Aws::String& GetId() const { return m_id; }
94 template<typename IdT = Aws::String>
95 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
96 template<typename IdT = Aws::String>
97 ConfigureLogsResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
99
101
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
103 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
105 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 ConfigureLogsResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
107 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
108 ConfigureLogsResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
109 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
110 }
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template<typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
118 template<typename RequestIdT = Aws::String>
119 ConfigureLogsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
121 private:
122
123 Aws::String m_arn;
124 bool m_arnHasBeenSet = false;
125
126 Authorization m_authorization;
127 bool m_authorizationHasBeenSet = false;
128
129 Aws::String m_createdAt;
130 bool m_createdAtHasBeenSet = false;
131
132 Aws::String m_domainName;
133 bool m_domainNameHasBeenSet = false;
134
135 EgressAccessLogs m_egressAccessLogs;
136 bool m_egressAccessLogsHasBeenSet = false;
137
138 Aws::String m_id;
139 bool m_idHasBeenSet = false;
140
142 bool m_tagsHasBeenSet = false;
143
144 Aws::String m_requestId;
145 bool m_requestIdHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace MediaPackageVod
150} // namespace Aws
ConfigureLogsResult & WithRequestId(RequestIdT &&value)
const EgressAccessLogs & GetEgressAccessLogs() const
void SetEgressAccessLogs(EgressAccessLogsT &&value)
AWS_MEDIAPACKAGEVOD_API ConfigureLogsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfigureLogsResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIAPACKAGEVOD_API ConfigureLogsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIAPACKAGEVOD_API ConfigureLogsResult()=default
ConfigureLogsResult & WithTags(TagsT &&value)
ConfigureLogsResult & WithCreatedAt(CreatedAtT &&value)
ConfigureLogsResult & WithDomainName(DomainNameT &&value)
ConfigureLogsResult & WithAuthorization(AuthorizationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ConfigureLogsResult & WithEgressAccessLogs(EgressAccessLogsT &&value)
ConfigureLogsResult & WithArn(ArnT &&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