AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateApiKeyResult.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 AppSync
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const ApiKey& GetApiKey() const{ return m_apiKey; }
39 
43  inline void SetApiKey(const ApiKey& value) { m_apiKey = value; }
44 
48  inline void SetApiKey(ApiKey&& value) { m_apiKey = std::move(value); }
49 
53  inline UpdateApiKeyResult& WithApiKey(const ApiKey& value) { SetApiKey(value); return *this;}
54 
58  inline UpdateApiKeyResult& WithApiKey(ApiKey&& value) { SetApiKey(std::move(value)); return *this;}
59 
60  private:
61 
62  ApiKey m_apiKey;
63  };
64 
65 } // namespace Model
66 } // namespace AppSync
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::ApiKey
Definition: ApiKey.h:60
Aws::AppSync::Model::UpdateApiKeyResult::UpdateApiKeyResult
UpdateApiKeyResult()
Aws::AppSync::Model::UpdateApiKeyResult
Definition: UpdateApiKeyResult.h:28
AppSync_EXPORTS.h
Aws::AppSync::Model::UpdateApiKeyResult::UpdateApiKeyResult
UpdateApiKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ApiKey.h
Aws::AppSync::Model::UpdateApiKeyResult::SetApiKey
void SetApiKey(ApiKey &&value)
Definition: UpdateApiKeyResult.h:48
Aws::AppSync::Model::UpdateApiKeyResult::GetApiKey
const ApiKey & GetApiKey() const
Definition: UpdateApiKeyResult.h:38
Aws::AppSync::Model::UpdateApiKeyResult::WithApiKey
UpdateApiKeyResult & WithApiKey(ApiKey &&value)
Definition: UpdateApiKeyResult.h:58
Aws::AppSync::Model::UpdateApiKeyResult::WithApiKey
UpdateApiKeyResult & WithApiKey(const ApiKey &value)
Definition: UpdateApiKeyResult.h:53
Aws
Definition: AccessManagementClient.h:15
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::UpdateApiKeyResult::operator=
UpdateApiKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::UpdateApiKeyResult::SetApiKey
void SetApiKey(const ApiKey &value)
Definition: UpdateApiKeyResult.h:43