AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreatePartnerInputRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/MediaLiveRequest.h>
11#include <aws/medialive/MediaLive_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16namespace MediaLive {
17namespace Model {
18
25 public:
26 AWS_MEDIALIVE_API CreatePartnerInputRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreatePartnerInput"; }
33
34 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetInputId() const { return m_inputId; }
41 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
42 template <typename InputIdT = Aws::String>
43 void SetInputId(InputIdT&& value) {
44 m_inputIdHasBeenSet = true;
45 m_inputId = std::forward<InputIdT>(value);
46 }
47 template <typename InputIdT = Aws::String>
49 SetInputId(std::forward<InputIdT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
62 template <typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) {
64 m_requestIdHasBeenSet = true;
65 m_requestId = std::forward<RequestIdT>(value);
66 }
67 template <typename RequestIdT = Aws::String>
69 SetRequestId(std::forward<RequestIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) {
82 m_tagsHasBeenSet = true;
83 m_tags = std::forward<TagsT>(value);
84 }
85 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 SetTags(std::forward<TagsT>(value));
88 return *this;
89 }
90 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
91 CreatePartnerInputRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
92 m_tagsHasBeenSet = true;
93 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_inputId;
99
101
103 bool m_inputIdHasBeenSet = false;
104 bool m_requestIdHasBeenSet = true;
105 bool m_tagsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace MediaLive
110} // namespace Aws
CreatePartnerInputRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreatePartnerInputRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreatePartnerInputRequest & WithInputId(InputIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MEDIALIVE_API CreatePartnerInputRequest()=default
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
CreatePartnerInputRequest & WithRequestId(RequestIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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