AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
PublishDraftRequest.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetizationRequest.h>
8#include <aws/appmonetization/AppMonetization_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppMonetization {
15namespace Model {
16
26 public:
27 AWS_APPMONETIZATION_API PublishDraftRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "PublishDraft"; }
34
35 AWS_APPMONETIZATION_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetAppId() const { return m_appId; }
42 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
43 template <typename AppIdT = Aws::String>
44 void SetAppId(AppIdT&& value) {
45 m_appIdHasBeenSet = true;
46 m_appId = std::forward<AppIdT>(value);
47 }
48 template <typename AppIdT = Aws::String>
49 PublishDraftRequest& WithAppId(AppIdT&& value) {
50 SetAppId(std::forward<AppIdT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_appId;
56 bool m_appIdHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace AppMonetization
61} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_APPMONETIZATION_API PublishDraftRequest()=default
PublishDraftRequest & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String