AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateUploadRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DeviceFarm
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DEVICEFARM_API UpdateUploadRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateUpload"; }
31
32 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 UpdateUploadRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template<typename NameT = Aws::String>
58 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
59 template<typename NameT = Aws::String>
60 UpdateUploadRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetContentType() const { return m_contentType; }
68 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
69 template<typename ContentTypeT = Aws::String>
70 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
71 template<typename ContentTypeT = Aws::String>
72 UpdateUploadRequest& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
74
76
80 inline bool GetEditContent() const { return m_editContent; }
81 inline bool EditContentHasBeenSet() const { return m_editContentHasBeenSet; }
82 inline void SetEditContent(bool value) { m_editContentHasBeenSet = true; m_editContent = value; }
83 inline UpdateUploadRequest& WithEditContent(bool value) { SetEditContent(value); return *this;}
85 private:
86
87 Aws::String m_arn;
88 bool m_arnHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_contentType;
94 bool m_contentTypeHasBeenSet = false;
95
96 bool m_editContent{false};
97 bool m_editContentHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace DeviceFarm
102} // namespace Aws
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
UpdateUploadRequest & WithName(NameT &&value)
UpdateUploadRequest & WithArn(ArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DEVICEFARM_API UpdateUploadRequest()=default
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUploadRequest & WithContentType(ContentTypeT &&value)
UpdateUploadRequest & WithEditContent(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String