AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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