AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
47 inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
48 inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
49 inline CreatePartnerInputRequest& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
50 inline CreatePartnerInputRequest& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
51 inline CreatePartnerInputRequest& WithInputId(const char* value) { SetInputId(value); return *this;}
53
55
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
62 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
65 inline CreatePartnerInputRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline CreatePartnerInputRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline CreatePartnerInputRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69
71
74 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
75 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
76 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
77 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
79 inline CreatePartnerInputRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
80 inline CreatePartnerInputRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
81 inline CreatePartnerInputRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
82 inline CreatePartnerInputRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
83 inline CreatePartnerInputRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
84 inline CreatePartnerInputRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreatePartnerInputRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
86 inline CreatePartnerInputRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_inputId;
91 bool m_inputIdHasBeenSet = false;
92
93 Aws::String m_requestId;
94 bool m_requestIdHasBeenSet = false;
95
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace MediaLive
102} // namespace Aws
CreatePartnerInputRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePartnerInputRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreatePartnerInputRequest & AddTags(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreatePartnerInputRequest & WithRequestId(const char *value)
CreatePartnerInputRequest & WithInputId(Aws::String &&value)
CreatePartnerInputRequest & WithRequestId(Aws::String &&value)
CreatePartnerInputRequest & WithRequestId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePartnerInputRequest & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreatePartnerInputRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreatePartnerInputRequest & WithInputId(const char *value)
CreatePartnerInputRequest & WithInputId(const Aws::String &value)
CreatePartnerInputRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreatePartnerInputRequest & AddTags(const char *key, const char *value)
CreatePartnerInputRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
CreatePartnerInputRequest & AddTags(Aws::String &&key, const char *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