AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeWorkspaceSnapshotsRequest.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 "DescribeWorkspaceSnapshots"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
41 
45  inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
46 
50  inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
51 
55  inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
56 
60  inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
61 
65  inline DescribeWorkspaceSnapshotsRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
66 
70  inline DescribeWorkspaceSnapshotsRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
71 
75  inline DescribeWorkspaceSnapshotsRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_workspaceId;
80  bool m_workspaceIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace WorkSpaces
85 } // namespace Aws
WorkSpaces_EXPORTS.h
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::SetWorkspaceId
void SetWorkspaceId(Aws::String &&value)
Definition: DescribeWorkspaceSnapshotsRequest.h:55
Aws::WorkSpaces::WorkSpacesRequest
Definition: WorkSpacesRequest.h:17
AWS_WORKSPACES_API
#define AWS_WORKSPACES_API
Definition: WorkSpaces_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
WorkSpacesRequest.h
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::WithWorkspaceId
DescribeWorkspaceSnapshotsRequest & WithWorkspaceId(Aws::String &&value)
Definition: DescribeWorkspaceSnapshotsRequest.h:70
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeWorkspaceSnapshotsRequest.h:30
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::WithWorkspaceId
DescribeWorkspaceSnapshotsRequest & WithWorkspaceId(const char *value)
Definition: DescribeWorkspaceSnapshotsRequest.h:75
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::WithWorkspaceId
DescribeWorkspaceSnapshotsRequest & WithWorkspaceId(const Aws::String &value)
Definition: DescribeWorkspaceSnapshotsRequest.h:65
AWSString.h
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::SetWorkspaceId
void SetWorkspaceId(const Aws::String &value)
Definition: DescribeWorkspaceSnapshotsRequest.h:50
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest
Definition: DescribeWorkspaceSnapshotsRequest.h:22
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::GetWorkspaceId
const Aws::String & GetWorkspaceId() const
Definition: DescribeWorkspaceSnapshotsRequest.h:40
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::WorkspaceIdHasBeenSet
bool WorkspaceIdHasBeenSet() const
Definition: DescribeWorkspaceSnapshotsRequest.h:45
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::DescribeWorkspaceSnapshotsRequest
DescribeWorkspaceSnapshotsRequest()
Aws::WorkSpaces::Model::DescribeWorkspaceSnapshotsRequest::SetWorkspaceId
void SetWorkspaceId(const char *value)
Definition: DescribeWorkspaceSnapshotsRequest.h:60