AWS SDK for C++  0.12.9
AWS SDK for C++
CreateBuildResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace GameLift
34 {
35 namespace Model
36 {
41  {
42  public:
46 
50  inline const Build& GetBuild() const{ return m_build; }
51 
55  inline void SetBuild(const Build& value) { m_build = value; }
56 
60  inline void SetBuild(Build&& value) { m_build = value; }
61 
65  inline CreateBuildResult& WithBuild(const Build& value) { SetBuild(value); return *this;}
66 
70  inline CreateBuildResult& WithBuild(Build&& value) { SetBuild(value); return *this;}
71 
78  inline const AwsCredentials& GetUploadCredentials() const{ return m_uploadCredentials; }
79 
86  inline void SetUploadCredentials(const AwsCredentials& value) { m_uploadCredentials = value; }
87 
94  inline void SetUploadCredentials(AwsCredentials&& value) { m_uploadCredentials = value; }
95 
102  inline CreateBuildResult& WithUploadCredentials(const AwsCredentials& value) { SetUploadCredentials(value); return *this;}
103 
110  inline CreateBuildResult& WithUploadCredentials(AwsCredentials&& value) { SetUploadCredentials(value); return *this;}
111 
116  inline const S3Location& GetStorageLocation() const{ return m_storageLocation; }
117 
122  inline void SetStorageLocation(const S3Location& value) { m_storageLocation = value; }
123 
128  inline void SetStorageLocation(S3Location&& value) { m_storageLocation = value; }
129 
134  inline CreateBuildResult& WithStorageLocation(const S3Location& value) { SetStorageLocation(value); return *this;}
135 
140  inline CreateBuildResult& WithStorageLocation(S3Location&& value) { SetStorageLocation(value); return *this;}
141 
142  private:
143  Build m_build;
144  AwsCredentials m_uploadCredentials;
145  S3Location m_storageLocation;
146  };
147 
148 } // namespace Model
149 } // namespace GameLift
150 } // namespace Aws
#define AWS_GAMELIFT_API
CreateBuildResult & WithStorageLocation(S3Location &&value)
void SetUploadCredentials(const AwsCredentials &value)
const S3Location & GetStorageLocation() const
CreateBuildResult & WithBuild(Build &&value)
const AwsCredentials & GetUploadCredentials() const
CreateBuildResult & WithBuild(const Build &value)
CreateBuildResult & WithUploadCredentials(const AwsCredentials &value)
void SetStorageLocation(S3Location &&value)
void SetUploadCredentials(AwsCredentials &&value)
CreateBuildResult & WithUploadCredentials(AwsCredentials &&value)
void SetStorageLocation(const S3Location &value)
CreateBuildResult & WithStorageLocation(const S3Location &value)
JSON (JavaScript Object Notation).