AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetComputeAccessResult.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/AwsCredentials.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GameLift
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GAMELIFT_API GetComputeAccessResult();
34
35
37
40 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
41 inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
42 inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
43 inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
44 inline GetComputeAccessResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
45 inline GetComputeAccessResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
46 inline GetComputeAccessResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
48
50
57 inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
58 inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
59 inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
60 inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
61 inline GetComputeAccessResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
62 inline GetComputeAccessResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
63 inline GetComputeAccessResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
65
67
71 inline const Aws::String& GetComputeName() const{ return m_computeName; }
72 inline void SetComputeName(const Aws::String& value) { m_computeName = value; }
73 inline void SetComputeName(Aws::String&& value) { m_computeName = std::move(value); }
74 inline void SetComputeName(const char* value) { m_computeName.assign(value); }
75 inline GetComputeAccessResult& WithComputeName(const Aws::String& value) { SetComputeName(value); return *this;}
76 inline GetComputeAccessResult& WithComputeName(Aws::String&& value) { SetComputeName(std::move(value)); return *this;}
77 inline GetComputeAccessResult& WithComputeName(const char* value) { SetComputeName(value); return *this;}
79
81
88 inline const Aws::String& GetComputeArn() const{ return m_computeArn; }
89 inline void SetComputeArn(const Aws::String& value) { m_computeArn = value; }
90 inline void SetComputeArn(Aws::String&& value) { m_computeArn = std::move(value); }
91 inline void SetComputeArn(const char* value) { m_computeArn.assign(value); }
92 inline GetComputeAccessResult& WithComputeArn(const Aws::String& value) { SetComputeArn(value); return *this;}
93 inline GetComputeAccessResult& WithComputeArn(Aws::String&& value) { SetComputeArn(std::move(value)); return *this;}
94 inline GetComputeAccessResult& WithComputeArn(const char* value) { SetComputeArn(value); return *this;}
96
98
102 inline const AwsCredentials& GetCredentials() const{ return m_credentials; }
103 inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; }
104 inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); }
105 inline GetComputeAccessResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;}
106 inline GetComputeAccessResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(value)); return *this;}
108
110
114 inline const Aws::String& GetTarget() const{ return m_target; }
115 inline void SetTarget(const Aws::String& value) { m_target = value; }
116 inline void SetTarget(Aws::String&& value) { m_target = std::move(value); }
117 inline void SetTarget(const char* value) { m_target.assign(value); }
118 inline GetComputeAccessResult& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
119 inline GetComputeAccessResult& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
120 inline GetComputeAccessResult& WithTarget(const char* value) { SetTarget(value); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const{ return m_requestId; }
126 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
127 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
128 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
129 inline GetComputeAccessResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
130 inline GetComputeAccessResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
131 inline GetComputeAccessResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
133 private:
134
135 Aws::String m_fleetId;
136
137 Aws::String m_fleetArn;
138
139 Aws::String m_computeName;
140
141 Aws::String m_computeArn;
142
143 AwsCredentials m_credentials;
144
145 Aws::String m_target;
146
147 Aws::String m_requestId;
148 };
149
150} // namespace Model
151} // namespace GameLift
152} // namespace Aws
GetComputeAccessResult & WithTarget(const Aws::String &value)
GetComputeAccessResult & WithFleetArn(Aws::String &&value)
GetComputeAccessResult & WithComputeArn(const char *value)
GetComputeAccessResult & WithFleetArn(const Aws::String &value)
GetComputeAccessResult & WithFleetArn(const char *value)
GetComputeAccessResult & WithCredentials(AwsCredentials &&value)
GetComputeAccessResult & WithCredentials(const AwsCredentials &value)
GetComputeAccessResult & WithComputeArn(Aws::String &&value)
void SetCredentials(const AwsCredentials &value)
GetComputeAccessResult & WithComputeName(Aws::String &&value)
GetComputeAccessResult & WithComputeArn(const Aws::String &value)
AWS_GAMELIFT_API GetComputeAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComputeAccessResult & WithRequestId(const char *value)
GetComputeAccessResult & WithRequestId(const Aws::String &value)
GetComputeAccessResult & WithTarget(const char *value)
GetComputeAccessResult & WithTarget(Aws::String &&value)
GetComputeAccessResult & WithComputeName(const char *value)
GetComputeAccessResult & WithRequestId(Aws::String &&value)
GetComputeAccessResult & WithFleetId(const char *value)
AWS_GAMELIFT_API GetComputeAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComputeAccessResult & WithFleetId(Aws::String &&value)
GetComputeAccessResult & WithComputeName(const Aws::String &value)
GetComputeAccessResult & WithFleetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue