AWS SDK for C++  1.9.108
AWS SDK for C++
UpdateWorkspaceBundleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WorkSpaces
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "UpdateWorkspaceBundle"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetBundleId() const{ return m_bundleId; }
41 
45  inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; }
46 
50  inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; }
51 
55  inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); }
56 
60  inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); }
61 
65  inline UpdateWorkspaceBundleRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;}
66 
70  inline UpdateWorkspaceBundleRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;}
71 
75  inline UpdateWorkspaceBundleRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;}
76 
77 
81  inline const Aws::String& GetImageId() const{ return m_imageId; }
82 
86  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
87 
91  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
92 
96  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
97 
101  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
102 
106  inline UpdateWorkspaceBundleRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
107 
111  inline UpdateWorkspaceBundleRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
112 
116  inline UpdateWorkspaceBundleRequest& WithImageId(const char* value) { SetImageId(value); return *this;}
117 
118  private:
119 
120  Aws::String m_bundleId;
121  bool m_bundleIdHasBeenSet;
122 
123  Aws::String m_imageId;
124  bool m_imageIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace WorkSpaces
129 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::WithImageId
UpdateWorkspaceBundleRequest & WithImageId(Aws::String &&value)
Definition: UpdateWorkspaceBundleRequest.h:111
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::WithBundleId
UpdateWorkspaceBundleRequest & WithBundleId(const Aws::String &value)
Definition: UpdateWorkspaceBundleRequest.h:65
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::WithBundleId
UpdateWorkspaceBundleRequest & WithBundleId(const char *value)
Definition: UpdateWorkspaceBundleRequest.h:75
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::WithImageId
UpdateWorkspaceBundleRequest & WithImageId(const char *value)
Definition: UpdateWorkspaceBundleRequest.h:116
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::UpdateWorkspaceBundleRequest
UpdateWorkspaceBundleRequest()
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::WithBundleId
UpdateWorkspaceBundleRequest & WithBundleId(Aws::String &&value)
Definition: UpdateWorkspaceBundleRequest.h:70
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::SetBundleId
void SetBundleId(const Aws::String &value)
Definition: UpdateWorkspaceBundleRequest.h:50
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::SetImageId
void SetImageId(const Aws::String &value)
Definition: UpdateWorkspaceBundleRequest.h:91
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::GetBundleId
const Aws::String & GetBundleId() const
Definition: UpdateWorkspaceBundleRequest.h:40
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::GetImageId
const Aws::String & GetImageId() const
Definition: UpdateWorkspaceBundleRequest.h:81
AWSString.h
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::SetImageId
void SetImageId(Aws::String &&value)
Definition: UpdateWorkspaceBundleRequest.h:96
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::SetBundleId
void SetBundleId(Aws::String &&value)
Definition: UpdateWorkspaceBundleRequest.h:55
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateWorkspaceBundleRequest.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::WithImageId
UpdateWorkspaceBundleRequest & WithImageId(const Aws::String &value)
Definition: UpdateWorkspaceBundleRequest.h:106
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::SetImageId
void SetImageId(const char *value)
Definition: UpdateWorkspaceBundleRequest.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::BundleIdHasBeenSet
bool BundleIdHasBeenSet() const
Definition: UpdateWorkspaceBundleRequest.h:45
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: UpdateWorkspaceBundleRequest.h:86
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest::SetBundleId
void SetBundleId(const char *value)
Definition: UpdateWorkspaceBundleRequest.h:60
Aws::WorkSpaces::Model::UpdateWorkspaceBundleRequest
Definition: UpdateWorkspaceBundleRequest.h:22