AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
46 inline UpdateUploadRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline UpdateUploadRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline UpdateUploadRequest& WithArn(const char* value) { SetArn(value); return *this;}
50
52
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline UpdateUploadRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline UpdateUploadRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline UpdateUploadRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetContentType() const{ return m_contentType; }
72 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
73 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
74 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
75 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
76 inline UpdateUploadRequest& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
77 inline UpdateUploadRequest& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
78 inline UpdateUploadRequest& WithContentType(const char* value) { SetContentType(value); return *this;}
80
82
86 inline bool GetEditContent() const{ return m_editContent; }
87 inline bool EditContentHasBeenSet() const { return m_editContentHasBeenSet; }
88 inline void SetEditContent(bool value) { m_editContentHasBeenSet = true; m_editContent = value; }
89 inline UpdateUploadRequest& WithEditContent(bool value) { SetEditContent(value); return *this;}
91 private:
92
93 Aws::String m_arn;
94 bool m_arnHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_contentType;
100 bool m_contentTypeHasBeenSet = false;
101
102 bool m_editContent;
103 bool m_editContentHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace DeviceFarm
108} // namespace Aws
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
UpdateUploadRequest & WithArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateUploadRequest & WithName(const Aws::String &value)
UpdateUploadRequest & WithName(const char *value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUploadRequest & WithArn(const Aws::String &value)
UpdateUploadRequest & WithContentType(const Aws::String &value)
UpdateUploadRequest & WithName(Aws::String &&value)
UpdateUploadRequest & WithContentType(const char *value)
void SetContentType(const Aws::String &value)
UpdateUploadRequest & WithArn(const char *value)
UpdateUploadRequest & WithContentType(Aws::String &&value)
UpdateUploadRequest & WithEditContent(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String