AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutProvisionedConcurrencyConfigResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/ProvisionedConcurrencyStatusEnum.h>
9#include <aws/core/utils/memory/stl/AWSString.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 Lambda
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline int GetRequestedProvisionedConcurrentExecutions() const{ return m_requestedProvisionedConcurrentExecutions; }
41 inline void SetRequestedProvisionedConcurrentExecutions(int value) { m_requestedProvisionedConcurrentExecutions = value; }
44
46
49 inline int GetAvailableProvisionedConcurrentExecutions() const{ return m_availableProvisionedConcurrentExecutions; }
50 inline void SetAvailableProvisionedConcurrentExecutions(int value) { m_availableProvisionedConcurrentExecutions = value; }
53
55
60 inline int GetAllocatedProvisionedConcurrentExecutions() const{ return m_allocatedProvisionedConcurrentExecutions; }
61 inline void SetAllocatedProvisionedConcurrentExecutions(int value) { m_allocatedProvisionedConcurrentExecutions = value; }
64
66
69 inline const ProvisionedConcurrencyStatusEnum& GetStatus() const{ return m_status; }
70 inline void SetStatus(const ProvisionedConcurrencyStatusEnum& value) { m_status = value; }
71 inline void SetStatus(ProvisionedConcurrencyStatusEnum&& value) { m_status = std::move(value); }
75
77
81 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
82 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
83 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
84 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
86 inline PutProvisionedConcurrencyConfigResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
87 inline PutProvisionedConcurrencyConfigResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
89
91
96 inline const Aws::String& GetLastModified() const{ return m_lastModified; }
97 inline void SetLastModified(const Aws::String& value) { m_lastModified = value; }
98 inline void SetLastModified(Aws::String&& value) { m_lastModified = std::move(value); }
99 inline void SetLastModified(const char* value) { m_lastModified.assign(value); }
101 inline PutProvisionedConcurrencyConfigResult& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;}
102 inline PutProvisionedConcurrencyConfigResult& WithLastModified(const char* value) { SetLastModified(value); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const{ return m_requestId; }
108 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
109 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
110 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
112 inline PutProvisionedConcurrencyConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
113 inline PutProvisionedConcurrencyConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
115 private:
116
117 int m_requestedProvisionedConcurrentExecutions;
118
119 int m_availableProvisionedConcurrentExecutions;
120
121 int m_allocatedProvisionedConcurrentExecutions;
122
124
125 Aws::String m_statusReason;
126
127 Aws::String m_lastModified;
128
129 Aws::String m_requestId;
130 };
131
132} // namespace Model
133} // namespace Lambda
134} // namespace Aws
PutProvisionedConcurrencyConfigResult & WithStatus(const ProvisionedConcurrencyStatusEnum &value)
PutProvisionedConcurrencyConfigResult & WithLastModified(Aws::String &&value)
PutProvisionedConcurrencyConfigResult & WithLastModified(const Aws::String &value)
PutProvisionedConcurrencyConfigResult & WithStatusReason(const char *value)
PutProvisionedConcurrencyConfigResult & WithAllocatedProvisionedConcurrentExecutions(int value)
PutProvisionedConcurrencyConfigResult & WithRequestId(Aws::String &&value)
PutProvisionedConcurrencyConfigResult & WithRequestedProvisionedConcurrentExecutions(int value)
PutProvisionedConcurrencyConfigResult & WithRequestId(const char *value)
PutProvisionedConcurrencyConfigResult & WithAvailableProvisionedConcurrentExecutions(int value)
AWS_LAMBDA_API PutProvisionedConcurrencyConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutProvisionedConcurrencyConfigResult & WithRequestId(const Aws::String &value)
PutProvisionedConcurrencyConfigResult & WithLastModified(const char *value)
PutProvisionedConcurrencyConfigResult & WithStatusReason(Aws::String &&value)
AWS_LAMBDA_API PutProvisionedConcurrencyConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutProvisionedConcurrencyConfigResult & WithStatus(ProvisionedConcurrencyStatusEnum &&value)
PutProvisionedConcurrencyConfigResult & WithStatusReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue