AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CopyImageSetRequest.h
1
6#pragma once
7#include <aws/medical-imaging/MedicalImaging_EXPORTS.h>
8#include <aws/medical-imaging/MedicalImagingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medical-imaging/model/CopyImageSetInformation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace MedicalImaging
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MEDICALIMAGING_API CopyImageSetRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CopyImageSet"; }
36
37 AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override;
38
39 AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetDatastoreId() const { return m_datastoreId; }
47 inline bool DatastoreIdHasBeenSet() const { return m_datastoreIdHasBeenSet; }
48 template<typename DatastoreIdT = Aws::String>
49 void SetDatastoreId(DatastoreIdT&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::forward<DatastoreIdT>(value); }
50 template<typename DatastoreIdT = Aws::String>
51 CopyImageSetRequest& WithDatastoreId(DatastoreIdT&& value) { SetDatastoreId(std::forward<DatastoreIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSourceImageSetId() const { return m_sourceImageSetId; }
59 inline bool SourceImageSetIdHasBeenSet() const { return m_sourceImageSetIdHasBeenSet; }
60 template<typename SourceImageSetIdT = Aws::String>
61 void SetSourceImageSetId(SourceImageSetIdT&& value) { m_sourceImageSetIdHasBeenSet = true; m_sourceImageSetId = std::forward<SourceImageSetIdT>(value); }
62 template<typename SourceImageSetIdT = Aws::String>
63 CopyImageSetRequest& WithSourceImageSetId(SourceImageSetIdT&& value) { SetSourceImageSetId(std::forward<SourceImageSetIdT>(value)); return *this;}
65
67
70 inline const CopyImageSetInformation& GetCopyImageSetInformation() const { return m_copyImageSetInformation; }
71 inline bool CopyImageSetInformationHasBeenSet() const { return m_copyImageSetInformationHasBeenSet; }
72 template<typename CopyImageSetInformationT = CopyImageSetInformation>
73 void SetCopyImageSetInformation(CopyImageSetInformationT&& value) { m_copyImageSetInformationHasBeenSet = true; m_copyImageSetInformation = std::forward<CopyImageSetInformationT>(value); }
74 template<typename CopyImageSetInformationT = CopyImageSetInformation>
75 CopyImageSetRequest& WithCopyImageSetInformation(CopyImageSetInformationT&& value) { SetCopyImageSetInformation(std::forward<CopyImageSetInformationT>(value)); return *this;}
77
79
85 inline bool GetForce() const { return m_force; }
86 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
87 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
88 inline CopyImageSetRequest& WithForce(bool value) { SetForce(value); return *this;}
90
92
98 inline bool GetPromoteToPrimary() const { return m_promoteToPrimary; }
99 inline bool PromoteToPrimaryHasBeenSet() const { return m_promoteToPrimaryHasBeenSet; }
100 inline void SetPromoteToPrimary(bool value) { m_promoteToPrimaryHasBeenSet = true; m_promoteToPrimary = value; }
101 inline CopyImageSetRequest& WithPromoteToPrimary(bool value) { SetPromoteToPrimary(value); return *this;}
103 private:
104
105 Aws::String m_datastoreId;
106 bool m_datastoreIdHasBeenSet = false;
107
108 Aws::String m_sourceImageSetId;
109 bool m_sourceImageSetIdHasBeenSet = false;
110
111 CopyImageSetInformation m_copyImageSetInformation;
112 bool m_copyImageSetInformationHasBeenSet = false;
113
114 bool m_force{false};
115 bool m_forceHasBeenSet = false;
116
117 bool m_promoteToPrimary{false};
118 bool m_promoteToPrimaryHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace MedicalImaging
123} // 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