AWS SDK for C++  1.9.17
AWS SDK for C++
DeleteBuildRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteBuild"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetBuildId() const{ return m_buildId; }
45 
50  inline bool BuildIdHasBeenSet() const { return m_buildIdHasBeenSet; }
51 
56  inline void SetBuildId(const Aws::String& value) { m_buildIdHasBeenSet = true; m_buildId = value; }
57 
62  inline void SetBuildId(Aws::String&& value) { m_buildIdHasBeenSet = true; m_buildId = std::move(value); }
63 
68  inline void SetBuildId(const char* value) { m_buildIdHasBeenSet = true; m_buildId.assign(value); }
69 
74  inline DeleteBuildRequest& WithBuildId(const Aws::String& value) { SetBuildId(value); return *this;}
75 
80  inline DeleteBuildRequest& WithBuildId(Aws::String&& value) { SetBuildId(std::move(value)); return *this;}
81 
86  inline DeleteBuildRequest& WithBuildId(const char* value) { SetBuildId(value); return *this;}
87 
88  private:
89 
90  Aws::String m_buildId;
91  bool m_buildIdHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace GameLift
96 } // namespace Aws
Aws::GameLift::Model::DeleteBuildRequest::BuildIdHasBeenSet
bool BuildIdHasBeenSet() const
Definition: DeleteBuildRequest.h:50
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DeleteBuildRequest::WithBuildId
DeleteBuildRequest & WithBuildId(const Aws::String &value)
Definition: DeleteBuildRequest.h:74
Aws::GameLift::Model::DeleteBuildRequest::GetBuildId
const Aws::String & GetBuildId() const
Definition: DeleteBuildRequest.h:44
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DeleteBuildRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DeleteBuildRequest::DeleteBuildRequest
DeleteBuildRequest()
Aws::GameLift::Model::DeleteBuildRequest::SetBuildId
void SetBuildId(Aws::String &&value)
Definition: DeleteBuildRequest.h:62
GameLift_EXPORTS.h
Aws::GameLift::Model::DeleteBuildRequest::SetBuildId
void SetBuildId(const Aws::String &value)
Definition: DeleteBuildRequest.h:56
GameLiftRequest.h
Aws::GameLift::Model::DeleteBuildRequest
Definition: DeleteBuildRequest.h:25
Aws::GameLift::Model::DeleteBuildRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DeleteBuildRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteBuildRequest.h:33
Aws::GameLift::Model::DeleteBuildRequest::SetBuildId
void SetBuildId(const char *value)
Definition: DeleteBuildRequest.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DeleteBuildRequest::WithBuildId
DeleteBuildRequest & WithBuildId(Aws::String &&value)
Definition: DeleteBuildRequest.h:80
Aws::GameLift::Model::DeleteBuildRequest::WithBuildId
DeleteBuildRequest & WithBuildId(const char *value)
Definition: DeleteBuildRequest.h:86