AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateImageSetMetadataRequest.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/MetadataUpdates.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 UpdateImageSetMetadataRequest();
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 "UpdateImageSetMetadata"; }
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 inline void SetDatastoreId(const Aws::String& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = value; }
49 inline void SetDatastoreId(Aws::String&& value) { m_datastoreIdHasBeenSet = true; m_datastoreId = std::move(value); }
50 inline void SetDatastoreId(const char* value) { m_datastoreIdHasBeenSet = true; m_datastoreId.assign(value); }
51 inline UpdateImageSetMetadataRequest& WithDatastoreId(const Aws::String& value) { SetDatastoreId(value); return *this;}
52 inline UpdateImageSetMetadataRequest& WithDatastoreId(Aws::String&& value) { SetDatastoreId(std::move(value)); return *this;}
53 inline UpdateImageSetMetadataRequest& WithDatastoreId(const char* value) { SetDatastoreId(value); return *this;}
55
57
60 inline const Aws::String& GetImageSetId() const{ return m_imageSetId; }
61 inline bool ImageSetIdHasBeenSet() const { return m_imageSetIdHasBeenSet; }
62 inline void SetImageSetId(const Aws::String& value) { m_imageSetIdHasBeenSet = true; m_imageSetId = value; }
63 inline void SetImageSetId(Aws::String&& value) { m_imageSetIdHasBeenSet = true; m_imageSetId = std::move(value); }
64 inline void SetImageSetId(const char* value) { m_imageSetIdHasBeenSet = true; m_imageSetId.assign(value); }
65 inline UpdateImageSetMetadataRequest& WithImageSetId(const Aws::String& value) { SetImageSetId(value); return *this;}
66 inline UpdateImageSetMetadataRequest& WithImageSetId(Aws::String&& value) { SetImageSetId(std::move(value)); return *this;}
67 inline UpdateImageSetMetadataRequest& WithImageSetId(const char* value) { SetImageSetId(value); return *this;}
69
71
74 inline const Aws::String& GetLatestVersionId() const{ return m_latestVersionId; }
75 inline bool LatestVersionIdHasBeenSet() const { return m_latestVersionIdHasBeenSet; }
76 inline void SetLatestVersionId(const Aws::String& value) { m_latestVersionIdHasBeenSet = true; m_latestVersionId = value; }
77 inline void SetLatestVersionId(Aws::String&& value) { m_latestVersionIdHasBeenSet = true; m_latestVersionId = std::move(value); }
78 inline void SetLatestVersionId(const char* value) { m_latestVersionIdHasBeenSet = true; m_latestVersionId.assign(value); }
80 inline UpdateImageSetMetadataRequest& WithLatestVersionId(Aws::String&& value) { SetLatestVersionId(std::move(value)); return *this;}
81 inline UpdateImageSetMetadataRequest& WithLatestVersionId(const char* value) { SetLatestVersionId(value); return *this;}
83
85
93 inline bool GetForce() const{ return m_force; }
94 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
95 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
96 inline UpdateImageSetMetadataRequest& WithForce(bool value) { SetForce(value); return *this;}
98
100
103 inline const MetadataUpdates& GetUpdateImageSetMetadataUpdates() const{ return m_updateImageSetMetadataUpdates; }
104 inline bool UpdateImageSetMetadataUpdatesHasBeenSet() const { return m_updateImageSetMetadataUpdatesHasBeenSet; }
105 inline void SetUpdateImageSetMetadataUpdates(const MetadataUpdates& value) { m_updateImageSetMetadataUpdatesHasBeenSet = true; m_updateImageSetMetadataUpdates = value; }
106 inline void SetUpdateImageSetMetadataUpdates(MetadataUpdates&& value) { m_updateImageSetMetadataUpdatesHasBeenSet = true; m_updateImageSetMetadataUpdates = std::move(value); }
110 private:
111
112 Aws::String m_datastoreId;
113 bool m_datastoreIdHasBeenSet = false;
114
115 Aws::String m_imageSetId;
116 bool m_imageSetIdHasBeenSet = false;
117
118 Aws::String m_latestVersionId;
119 bool m_latestVersionIdHasBeenSet = false;
120
121 bool m_force;
122 bool m_forceHasBeenSet = false;
123
124 MetadataUpdates m_updateImageSetMetadataUpdates;
125 bool m_updateImageSetMetadataUpdatesHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace MedicalImaging
130} // namespace Aws
UpdateImageSetMetadataRequest & WithDatastoreId(Aws::String &&value)
UpdateImageSetMetadataRequest & WithLatestVersionId(const char *value)
UpdateImageSetMetadataRequest & WithLatestVersionId(const Aws::String &value)
UpdateImageSetMetadataRequest & WithUpdateImageSetMetadataUpdates(MetadataUpdates &&value)
UpdateImageSetMetadataRequest & WithImageSetId(const char *value)
UpdateImageSetMetadataRequest & WithUpdateImageSetMetadataUpdates(const MetadataUpdates &value)
UpdateImageSetMetadataRequest & WithImageSetId(Aws::String &&value)
UpdateImageSetMetadataRequest & WithDatastoreId(const char *value)
UpdateImageSetMetadataRequest & WithDatastoreId(const Aws::String &value)
UpdateImageSetMetadataRequest & WithImageSetId(const Aws::String &value)
AWS_MEDICALIMAGING_API Aws::String SerializePayload() const override
UpdateImageSetMetadataRequest & WithLatestVersionId(Aws::String &&value)
AWS_MEDICALIMAGING_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String