AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetChannelPolicyResult.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 GetChannelPolicyResult();
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); }
45 inline GetChannelPolicyResult& WithChannelGroupName(const Aws::String& value) { SetChannelGroupName(value); return *this;}
46 inline GetChannelPolicyResult& WithChannelGroupName(Aws::String&& value) { SetChannelGroupName(std::move(value)); return *this;}
47 inline GetChannelPolicyResult& 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 GetChannelPolicyResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
61 inline GetChannelPolicyResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
62 inline GetChannelPolicyResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
64
66
69 inline const Aws::String& GetPolicy() const{ return m_policy; }
70 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
71 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
72 inline void SetPolicy(const char* value) { m_policy.assign(value); }
73 inline GetChannelPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
74 inline GetChannelPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
75 inline GetChannelPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetChannelPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetChannelPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetChannelPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Aws::String m_channelGroupName;
91
92 Aws::String m_channelName;
93
94 Aws::String m_policy;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace mediapackagev2
101} // namespace Aws
AWS_MEDIAPACKAGEV2_API GetChannelPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelPolicyResult & WithRequestId(const Aws::String &value)
GetChannelPolicyResult & WithPolicy(const Aws::String &value)
GetChannelPolicyResult & WithChannelName(Aws::String &&value)
GetChannelPolicyResult & WithPolicy(Aws::String &&value)
AWS_MEDIAPACKAGEV2_API GetChannelPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelPolicyResult & WithRequestId(const char *value)
GetChannelPolicyResult & WithPolicy(const char *value)
GetChannelPolicyResult & WithChannelGroupName(Aws::String &&value)
GetChannelPolicyResult & WithChannelName(const char *value)
GetChannelPolicyResult & WithChannelName(const Aws::String &value)
GetChannelPolicyResult & WithChannelGroupName(const char *value)
GetChannelPolicyResult & WithRequestId(Aws::String &&value)
GetChannelPolicyResult & WithChannelGroupName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue