AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateBuildResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace GameLift
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Build& GetBuild() const{ return m_build; }
45 
49  inline void SetBuild(const Build& value) { m_build = value; }
50 
54  inline void SetBuild(Build&& value) { m_build = std::move(value); }
55 
59  inline UpdateBuildResult& WithBuild(const Build& value) { SetBuild(value); return *this;}
60 
64  inline UpdateBuildResult& WithBuild(Build&& value) { SetBuild(std::move(value)); return *this;}
65 
66  private:
67 
68  Build m_build;
69  };
70 
71 } // namespace Model
72 } // namespace GameLift
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Build.h
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateBuildResult::UpdateBuildResult
UpdateBuildResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::UpdateBuildResult::SetBuild
void SetBuild(Build &&value)
Definition: UpdateBuildResult.h:54
Aws::GameLift::Model::UpdateBuildResult::WithBuild
UpdateBuildResult & WithBuild(Build &&value)
Definition: UpdateBuildResult.h:64
GameLift_EXPORTS.h
Aws::GameLift::Model::UpdateBuildResult::SetBuild
void SetBuild(const Build &value)
Definition: UpdateBuildResult.h:49
Aws::GameLift::Model::UpdateBuildResult::UpdateBuildResult
UpdateBuildResult()
Aws::GameLift::Model::UpdateBuildResult::WithBuild
UpdateBuildResult & WithBuild(const Build &value)
Definition: UpdateBuildResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UpdateBuildResult::operator=
UpdateBuildResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::UpdateBuildResult::GetBuild
const Build & GetBuild() const
Definition: UpdateBuildResult.h:44
Aws::GameLift::Model::UpdateBuildResult
Definition: UpdateBuildResult.h:34
Aws::GameLift::Model::Build
Definition: Build.h:39