AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetOriginEndpointPolicyResult.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace mediapackagev2
24{
25namespace Model
26{
28 {
29 public:
30 AWS_MEDIAPACKAGEV2_API GetOriginEndpointPolicyResult();
33
34
36
41 inline const Aws::String& GetChannelGroupName() const{ return m_channelGroupName; }
42 inline void SetChannelGroupName(const Aws::String& value) { m_channelGroupName = value; }
43 inline void SetChannelGroupName(Aws::String&& value) { m_channelGroupName = std::move(value); }
44 inline void SetChannelGroupName(const char* value) { m_channelGroupName.assign(value); }
46 inline GetOriginEndpointPolicyResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
47 inline GetOriginEndpointPolicyResult& WithChannelGroupName(const char* value) { SetChannelGroupName(value); return *this;}
49
51
56 inline const Aws::String& GetChannelName() const{ return m_channelName; }
57 inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
58 inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
59 inline void SetChannelName(const char* value) { m_channelName.assign(value); }
60 inline GetOriginEndpointPolicyResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
61 inline GetOriginEndpointPolicyResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
62 inline GetOriginEndpointPolicyResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
64
66
71 inline const Aws::String& GetOriginEndpointName() const{ return m_originEndpointName; }
72 inline void SetOriginEndpointName(const Aws::String& value) { m_originEndpointName = value; }
73 inline void SetOriginEndpointName(Aws::String&& value) { m_originEndpointName = std::move(value); }
74 inline void SetOriginEndpointName(const char* value) { m_originEndpointName.assign(value); }
77 inline GetOriginEndpointPolicyResult& WithOriginEndpointName(const char* value) { SetOriginEndpointName(value); return *this;}
79
81
84 inline const Aws::String& GetPolicy() const{ return m_policy; }
85 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
86 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
87 inline void SetPolicy(const char* value) { m_policy.assign(value); }
88 inline GetOriginEndpointPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
89 inline GetOriginEndpointPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
90 inline GetOriginEndpointPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline GetOriginEndpointPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline GetOriginEndpointPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline GetOriginEndpointPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_channelGroupName;
106
107 Aws::String m_channelName;
108
109 Aws::String m_originEndpointName;
110
111 Aws::String m_policy;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace mediapackagev2
118} // namespace Aws
GetOriginEndpointPolicyResult & WithPolicy(Aws::String &&value)
GetOriginEndpointPolicyResult & WithOriginEndpointName(const Aws::String &value)
GetOriginEndpointPolicyResult & WithOriginEndpointName(const char *value)
AWS_MEDIAPACKAGEV2_API GetOriginEndpointPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOriginEndpointPolicyResult & WithPolicy(const Aws::String &value)
GetOriginEndpointPolicyResult & WithPolicy(const char *value)
GetOriginEndpointPolicyResult & WithOriginEndpointName(Aws::String &&value)
GetOriginEndpointPolicyResult & WithChannelGroupName(const char *value)
GetOriginEndpointPolicyResult & WithChannelName(const Aws::String &value)
GetOriginEndpointPolicyResult & WithRequestId(const char *value)
GetOriginEndpointPolicyResult & WithChannelGroupName(const Aws::String &value)
GetOriginEndpointPolicyResult & WithRequestId(Aws::String &&value)
AWS_MEDIAPACKAGEV2_API GetOriginEndpointPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOriginEndpointPolicyResult & WithChannelName(Aws::String &&value)
GetOriginEndpointPolicyResult & WithChannelGroupName(Aws::String &&value)
GetOriginEndpointPolicyResult & WithChannelName(const char *value)
GetOriginEndpointPolicyResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue