AWS SDK for C++  1.9.47
AWS SDK for C++
CreateBuildResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Build& GetBuild() const{ return m_build; }
48 
53  inline void SetBuild(const Build& value) { m_build = value; }
54 
59  inline void SetBuild(Build&& value) { m_build = std::move(value); }
60 
65  inline CreateBuildResult& WithBuild(const Build& value) { SetBuild(value); return *this;}
66 
71  inline CreateBuildResult& WithBuild(Build&& value) { SetBuild(std::move(value)); return *this;}
72 
73 
81  inline const AwsCredentials& GetUploadCredentials() const{ return m_uploadCredentials; }
82 
90  inline void SetUploadCredentials(const AwsCredentials& value) { m_uploadCredentials = value; }
91 
99  inline void SetUploadCredentials(AwsCredentials&& value) { m_uploadCredentials = std::move(value); }
100 
108  inline CreateBuildResult& WithUploadCredentials(const AwsCredentials& value) { SetUploadCredentials(value); return *this;}
109 
117  inline CreateBuildResult& WithUploadCredentials(AwsCredentials&& value) { SetUploadCredentials(std::move(value)); return *this;}
118 
119 
124  inline const S3Location& GetStorageLocation() const{ return m_storageLocation; }
125 
130  inline void SetStorageLocation(const S3Location& value) { m_storageLocation = value; }
131 
136  inline void SetStorageLocation(S3Location&& value) { m_storageLocation = std::move(value); }
137 
142  inline CreateBuildResult& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;}
143 
148  inline CreateBuildResult& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;}
149 
150  private:
151 
152  Build m_build;
153 
154  AwsCredentials m_uploadCredentials;
155 
156  S3Location m_storageLocation;
157  };
158 
159 } // namespace Model
160 } // namespace GameLift
161 } // namespace Aws
Aws::GameLift::Model::CreateBuildResult::CreateBuildResult
CreateBuildResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::CreateBuildResult::WithStorageLocation
CreateBuildResult & WithStorageLocation(S3Location &&value)
Definition: CreateBuildResult.h:148
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::CreateBuildResult::GetBuild
const Build & GetBuild() const
Definition: CreateBuildResult.h:47
Aws::GameLift::Model::CreateBuildResult::SetBuild
void SetBuild(const Build &value)
Definition: CreateBuildResult.h:53
Aws::GameLift::Model::CreateBuildResult::GetStorageLocation
const S3Location & GetStorageLocation() const
Definition: CreateBuildResult.h:124
Aws::GameLift::Model::CreateBuildResult
Definition: CreateBuildResult.h:36
Build.h
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::CreateBuildResult::GetUploadCredentials
const AwsCredentials & GetUploadCredentials() const
Definition: CreateBuildResult.h:81
Aws::GameLift::Model::CreateBuildResult::CreateBuildResult
CreateBuildResult()
S3Location.h
Aws::GameLift::Model::CreateBuildResult::WithBuild
CreateBuildResult & WithBuild(Build &&value)
Definition: CreateBuildResult.h:71
Aws::GameLift::Model::CreateBuildResult::WithStorageLocation
CreateBuildResult & WithStorageLocation(const S3Location &value)
Definition: CreateBuildResult.h:142
Aws::GameLift::Model::CreateBuildResult::operator=
CreateBuildResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::CreateBuildResult::SetStorageLocation
void SetStorageLocation(S3Location &&value)
Definition: CreateBuildResult.h:136
Aws::GameLift::Model::CreateBuildResult::SetUploadCredentials
void SetUploadCredentials(AwsCredentials &&value)
Definition: CreateBuildResult.h:99
GameLift_EXPORTS.h
Aws::GameLift::Model::CreateBuildResult::SetBuild
void SetBuild(Build &&value)
Definition: CreateBuildResult.h:59
Aws::GameLift::Model::CreateBuildResult::SetUploadCredentials
void SetUploadCredentials(const AwsCredentials &value)
Definition: CreateBuildResult.h:90
Aws::GameLift::Model::CreateBuildResult::SetStorageLocation
void SetStorageLocation(const S3Location &value)
Definition: CreateBuildResult.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::CreateBuildResult::WithUploadCredentials
CreateBuildResult & WithUploadCredentials(const AwsCredentials &value)
Definition: CreateBuildResult.h:108
Aws::GameLift::Model::CreateBuildResult::WithBuild
CreateBuildResult & WithBuild(const Build &value)
Definition: CreateBuildResult.h:65
Aws::GameLift::Model::S3Location
Definition: S3Location.h:35
Aws::GameLift::Model::CreateBuildResult::WithUploadCredentials
CreateBuildResult & WithUploadCredentials(AwsCredentials &&value)
Definition: CreateBuildResult.h:117
Aws::GameLift::Model::Build
Definition: Build.h:39
AwsCredentials.h
Aws::GameLift::Model::AwsCredentials
Definition: AwsCredentials.h:35