AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopyImageRequest.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AppStream
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_APPSTREAM_API CopyImageRequest();
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 "CopyImage"; }
31
32 AWS_APPSTREAM_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetSourceImageName() const{ return m_sourceImageName; }
42 inline bool SourceImageNameHasBeenSet() const { return m_sourceImageNameHasBeenSet; }
43 inline void SetSourceImageName(const Aws::String& value) { m_sourceImageNameHasBeenSet = true; m_sourceImageName = value; }
44 inline void SetSourceImageName(Aws::String&& value) { m_sourceImageNameHasBeenSet = true; m_sourceImageName = std::move(value); }
45 inline void SetSourceImageName(const char* value) { m_sourceImageNameHasBeenSet = true; m_sourceImageName.assign(value); }
46 inline CopyImageRequest& WithSourceImageName(const Aws::String& value) { SetSourceImageName(value); return *this;}
47 inline CopyImageRequest& WithSourceImageName(Aws::String&& value) { SetSourceImageName(std::move(value)); return *this;}
48 inline CopyImageRequest& WithSourceImageName(const char* value) { SetSourceImageName(value); return *this;}
50
52
55 inline const Aws::String& GetDestinationImageName() const{ return m_destinationImageName; }
56 inline bool DestinationImageNameHasBeenSet() const { return m_destinationImageNameHasBeenSet; }
57 inline void SetDestinationImageName(const Aws::String& value) { m_destinationImageNameHasBeenSet = true; m_destinationImageName = value; }
58 inline void SetDestinationImageName(Aws::String&& value) { m_destinationImageNameHasBeenSet = true; m_destinationImageName = std::move(value); }
59 inline void SetDestinationImageName(const char* value) { m_destinationImageNameHasBeenSet = true; m_destinationImageName.assign(value); }
61 inline CopyImageRequest& WithDestinationImageName(Aws::String&& value) { SetDestinationImageName(std::move(value)); return *this;}
62 inline CopyImageRequest& WithDestinationImageName(const char* value) { SetDestinationImageName(value); return *this;}
64
66
70 inline const Aws::String& GetDestinationRegion() const{ return m_destinationRegion; }
71 inline bool DestinationRegionHasBeenSet() const { return m_destinationRegionHasBeenSet; }
72 inline void SetDestinationRegion(const Aws::String& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = value; }
73 inline void SetDestinationRegion(Aws::String&& value) { m_destinationRegionHasBeenSet = true; m_destinationRegion = std::move(value); }
74 inline void SetDestinationRegion(const char* value) { m_destinationRegionHasBeenSet = true; m_destinationRegion.assign(value); }
75 inline CopyImageRequest& WithDestinationRegion(const Aws::String& value) { SetDestinationRegion(value); return *this;}
76 inline CopyImageRequest& WithDestinationRegion(Aws::String&& value) { SetDestinationRegion(std::move(value)); return *this;}
77 inline CopyImageRequest& WithDestinationRegion(const char* value) { SetDestinationRegion(value); return *this;}
79
81
85 inline const Aws::String& GetDestinationImageDescription() const{ return m_destinationImageDescription; }
86 inline bool DestinationImageDescriptionHasBeenSet() const { return m_destinationImageDescriptionHasBeenSet; }
87 inline void SetDestinationImageDescription(const Aws::String& value) { m_destinationImageDescriptionHasBeenSet = true; m_destinationImageDescription = value; }
88 inline void SetDestinationImageDescription(Aws::String&& value) { m_destinationImageDescriptionHasBeenSet = true; m_destinationImageDescription = std::move(value); }
89 inline void SetDestinationImageDescription(const char* value) { m_destinationImageDescriptionHasBeenSet = true; m_destinationImageDescription.assign(value); }
92 inline CopyImageRequest& WithDestinationImageDescription(const char* value) { SetDestinationImageDescription(value); return *this;}
94 private:
95
96 Aws::String m_sourceImageName;
97 bool m_sourceImageNameHasBeenSet = false;
98
99 Aws::String m_destinationImageName;
100 bool m_destinationImageNameHasBeenSet = false;
101
102 Aws::String m_destinationRegion;
103 bool m_destinationRegionHasBeenSet = false;
104
105 Aws::String m_destinationImageDescription;
106 bool m_destinationImageDescriptionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace AppStream
111} // namespace Aws
CopyImageRequest & WithSourceImageName(const Aws::String &value)
CopyImageRequest & WithDestinationImageDescription(Aws::String &&value)
void SetDestinationImageDescription(const Aws::String &value)
const Aws::String & GetDestinationRegion() const
const Aws::String & GetSourceImageName() const
AWS_APPSTREAM_API Aws::String SerializePayload() const override
const Aws::String & GetDestinationImageDescription() const
void SetSourceImageName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDestinationImageName(const char *value)
void SetSourceImageName(const Aws::String &value)
void SetDestinationImageDescription(const char *value)
void SetDestinationRegion(const Aws::String &value)
CopyImageRequest & WithSourceImageName(const char *value)
CopyImageRequest & WithDestinationImageDescription(const char *value)
CopyImageRequest & WithSourceImageName(Aws::String &&value)
void SetDestinationImageName(Aws::String &&value)
void SetDestinationRegion(Aws::String &&value)
CopyImageRequest & WithDestinationRegion(const Aws::String &value)
CopyImageRequest & WithDestinationImageName(const Aws::String &value)
void SetDestinationImageName(const Aws::String &value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDestinationRegion(const char *value)
void SetDestinationImageDescription(Aws::String &&value)
CopyImageRequest & WithDestinationImageName(const char *value)
const Aws::String & GetDestinationImageName() const
CopyImageRequest & WithDestinationImageDescription(const Aws::String &value)
CopyImageRequest & WithDestinationRegion(const char *value)
CopyImageRequest & WithDestinationImageName(Aws::String &&value)
CopyImageRequest & WithDestinationRegion(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String