AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CopyImageSetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medical-imaging/MedicalImagingRequest.h>
9#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
10#include <aws/medical-imaging/model/CopyImageSetInformation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace MedicalImaging {
19namespace Model {
20
24 public:
25 AWS_MEDICALIMAGING_API CopyImageSetRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CopyImageSet"; }
32
33 AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override;
34
35 AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
42 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
43 template <typename DatastoreIdT = Aws::String>
44 void SetDatastoreId(DatastoreIdT&& value) {
45 m_datastoreIdHasBeenSet = true;
46 m_datastoreId = std::forward<DatastoreIdT>(value);
47 }
48 template <typename DatastoreIdT = Aws::String>
49 CopyImageSetRequest& WithDatastoreId(DatastoreIdT&& value) {
50 SetDatastoreId(std::forward<DatastoreIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetSourceImageSetId() const { return m_sourceImageSetId; }
60 inline bool SourceImageSetIdHasBeenSet() const { return m_sourceImageSetIdHasBeenSet; }
61 template <typename SourceImageSetIdT = Aws::String>
62 void SetSourceImageSetId(SourceImageSetIdT&& value) {
63 m_sourceImageSetIdHasBeenSet = true;
64 m_sourceImageSetId = std::forward<SourceImageSetIdT>(value);
65 }
66 template <typename SourceImageSetIdT = Aws::String>
67 CopyImageSetRequest& WithSourceImageSetId(SourceImageSetIdT&& value) {
68 SetSourceImageSetId(std::forward<SourceImageSetIdT>(value));
69 return *this;
70 }
72
74
77 inline const CopyImageSetInformation& GetCopyImageSetInformation() const { return m_copyImageSetInformation; }
78 inline bool CopyImageSetInformationHasBeenSet() const { return m_copyImageSetInformationHasBeenSet; }
79 template <typename CopyImageSetInformationT = CopyImageSetInformation>
80 void SetCopyImageSetInformation(CopyImageSetInformationT&& value) {
81 m_copyImageSetInformationHasBeenSet = true;
82 m_copyImageSetInformation = std::forward<CopyImageSetInformationT>(value);
83 }
84 template <typename CopyImageSetInformationT = CopyImageSetInformation>
85 CopyImageSetRequest& WithCopyImageSetInformation(CopyImageSetInformationT&& value) {
86 SetCopyImageSetInformation(std::forward<CopyImageSetInformationT>(value));
87 return *this;
88 }
90
92
98 inline bool GetForce() const { return m_force; }
99 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
100 inline void SetForce(bool value) {
101 m_forceHasBeenSet = true;
102 m_force = value;
103 }
104 inline CopyImageSetRequest& WithForce(bool value) {
105 SetForce(value);
106 return *this;
107 }
109
111
117 inline bool GetPromoteToPrimary() const { return m_promoteToPrimary; }
118 inline bool PromoteToPrimaryHasBeenSet() const { return m_promoteToPrimaryHasBeenSet; }
119 inline void SetPromoteToPrimary(bool value) {
120 m_promoteToPrimaryHasBeenSet = true;
121 m_promoteToPrimary = value;
122 }
124 SetPromoteToPrimary(value);
125 return *this;
126 }
128 private:
129 Aws::String m_datastoreId;
130
131 Aws::String m_sourceImageSetId;
132
133 CopyImageSetInformation m_copyImageSetInformation;
134
135 bool m_force{false};
136
137 bool m_promoteToPrimary{false};
138 bool m_datastoreIdHasBeenSet = false;
139 bool m_sourceImageSetIdHasBeenSet = false;
140 bool m_copyImageSetInformationHasBeenSet = false;
141 bool m_forceHasBeenSet = false;
142 bool m_promoteToPrimaryHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace MedicalImaging
147} // namespace Aws
CopyImageSetRequest & WithPromoteToPrimary(bool value)
const CopyImageSetInformation & GetCopyImageSetInformation() const
CopyImageSetRequest & WithSourceImageSetId(SourceImageSetIdT &&value)
AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override
AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_MEDICALIMAGING_API CopyImageSetRequest()=default
void SetCopyImageSetInformation(CopyImageSetInformationT &&value)
void SetSourceImageSetId(SourceImageSetIdT &&value)
CopyImageSetRequest & WithCopyImageSetInformation(CopyImageSetInformationT &&value)
CopyImageSetRequest & WithDatastoreId(DatastoreIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String