AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RequestUploadCredentialsResult.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/AwsCredentials.h>
9#include <aws/gamelift/model/S3Location.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GameLift
26{
27namespace Model
28{
30 {
31 public:
35
36
38
43 inline const AwsCredentials& GetUploadCredentials() const{ return m_uploadCredentials; }
44 inline void SetUploadCredentials(const AwsCredentials& value) { m_uploadCredentials = value; }
45 inline void SetUploadCredentials(AwsCredentials&& value) { m_uploadCredentials = std::move(value); }
49
51
55 inline const S3Location& GetStorageLocation() const{ return m_storageLocation; }
56 inline void SetStorageLocation(const S3Location& value) { m_storageLocation = value; }
57 inline void SetStorageLocation(S3Location&& value) { m_storageLocation = std::move(value); }
59 inline RequestUploadCredentialsResult& WithStorageLocation(S3Location&& value) { SetStorageLocation(std::move(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline RequestUploadCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline RequestUploadCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline RequestUploadCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 AwsCredentials m_uploadCredentials;
75
76 S3Location m_storageLocation;
77
78 Aws::String m_requestId;
79 };
80
81} // namespace Model
82} // namespace GameLift
83} // namespace Aws
RequestUploadCredentialsResult & WithRequestId(Aws::String &&value)
RequestUploadCredentialsResult & WithUploadCredentials(AwsCredentials &&value)
AWS_GAMELIFT_API RequestUploadCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RequestUploadCredentialsResult & WithUploadCredentials(const AwsCredentials &value)
RequestUploadCredentialsResult & WithStorageLocation(S3Location &&value)
RequestUploadCredentialsResult & WithRequestId(const Aws::String &value)
RequestUploadCredentialsResult & WithRequestId(const char *value)
AWS_GAMELIFT_API RequestUploadCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RequestUploadCredentialsResult & WithStorageLocation(const S3Location &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue