AWS SDK for C++  1.9.123
AWS SDK for C++
PutProvisionedConcurrencyConfigResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lambda
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline int GetRequestedProvisionedConcurrentExecutions() const{ return m_requestedProvisionedConcurrentExecutions; }
40 
44  inline void SetRequestedProvisionedConcurrentExecutions(int value) { m_requestedProvisionedConcurrentExecutions = value; }
45 
49  inline PutProvisionedConcurrencyConfigResult& WithRequestedProvisionedConcurrentExecutions(int value) { SetRequestedProvisionedConcurrentExecutions(value); return *this;}
50 
51 
55  inline int GetAvailableProvisionedConcurrentExecutions() const{ return m_availableProvisionedConcurrentExecutions; }
56 
60  inline void SetAvailableProvisionedConcurrentExecutions(int value) { m_availableProvisionedConcurrentExecutions = value; }
61 
65  inline PutProvisionedConcurrencyConfigResult& WithAvailableProvisionedConcurrentExecutions(int value) { SetAvailableProvisionedConcurrentExecutions(value); return *this;}
66 
67 
71  inline int GetAllocatedProvisionedConcurrentExecutions() const{ return m_allocatedProvisionedConcurrentExecutions; }
72 
76  inline void SetAllocatedProvisionedConcurrentExecutions(int value) { m_allocatedProvisionedConcurrentExecutions = value; }
77 
81  inline PutProvisionedConcurrencyConfigResult& WithAllocatedProvisionedConcurrentExecutions(int value) { SetAllocatedProvisionedConcurrentExecutions(value); return *this;}
82 
83 
87  inline const ProvisionedConcurrencyStatusEnum& GetStatus() const{ return m_status; }
88 
92  inline void SetStatus(const ProvisionedConcurrencyStatusEnum& value) { m_status = value; }
93 
97  inline void SetStatus(ProvisionedConcurrencyStatusEnum&& value) { m_status = std::move(value); }
98 
102  inline PutProvisionedConcurrencyConfigResult& WithStatus(const ProvisionedConcurrencyStatusEnum& value) { SetStatus(value); return *this;}
103 
107  inline PutProvisionedConcurrencyConfigResult& WithStatus(ProvisionedConcurrencyStatusEnum&& value) { SetStatus(std::move(value)); return *this;}
108 
109 
114  inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
115 
120  inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
121 
126  inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
127 
132  inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
133 
138  inline PutProvisionedConcurrencyConfigResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
139 
144  inline PutProvisionedConcurrencyConfigResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
145 
150  inline PutProvisionedConcurrencyConfigResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
151 
152 
158  inline const Aws::String& GetLastModified() const{ return m_lastModified; }
159 
165  inline void SetLastModified(const Aws::String& value) { m_lastModified = value; }
166 
172  inline void SetLastModified(Aws::String&& value) { m_lastModified = std::move(value); }
173 
179  inline void SetLastModified(const char* value) { m_lastModified.assign(value); }
180 
186  inline PutProvisionedConcurrencyConfigResult& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;}
187 
193  inline PutProvisionedConcurrencyConfigResult& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;}
194 
200  inline PutProvisionedConcurrencyConfigResult& WithLastModified(const char* value) { SetLastModified(value); return *this;}
201 
202  private:
203 
204  int m_requestedProvisionedConcurrentExecutions;
205 
206  int m_availableProvisionedConcurrentExecutions;
207 
208  int m_allocatedProvisionedConcurrentExecutions;
209 
211 
212  Aws::String m_statusReason;
213 
214  Aws::String m_lastModified;
215  };
216 
217 } // namespace Model
218 } // namespace Lambda
219 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithLastModified
PutProvisionedConcurrencyConfigResult & WithLastModified(const char *value)
Definition: PutProvisionedConcurrencyConfigResult.h:200
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetAllocatedProvisionedConcurrentExecutions
void SetAllocatedProvisionedConcurrentExecutions(int value)
Definition: PutProvisionedConcurrencyConfigResult.h:76
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetRequestedProvisionedConcurrentExecutions
void SetRequestedProvisionedConcurrentExecutions(int value)
Definition: PutProvisionedConcurrencyConfigResult.h:44
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetLastModified
void SetLastModified(Aws::String &&value)
Definition: PutProvisionedConcurrencyConfigResult.h:172
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetAvailableProvisionedConcurrentExecutions
void SetAvailableProvisionedConcurrentExecutions(int value)
Definition: PutProvisionedConcurrencyConfigResult.h:60
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::GetRequestedProvisionedConcurrentExecutions
int GetRequestedProvisionedConcurrentExecutions() const
Definition: PutProvisionedConcurrencyConfigResult.h:39
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithStatusReason
PutProvisionedConcurrencyConfigResult & WithStatusReason(const char *value)
Definition: PutProvisionedConcurrencyConfigResult.h:150
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::PutProvisionedConcurrencyConfigResult
PutProvisionedConcurrencyConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::PutProvisionedConcurrencyConfigResult
PutProvisionedConcurrencyConfigResult()
Aws::Lambda::Model::ProvisionedConcurrencyStatusEnum
ProvisionedConcurrencyStatusEnum
Definition: ProvisionedConcurrencyStatusEnum.h:17
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetLastModified
void SetLastModified(const Aws::String &value)
Definition: PutProvisionedConcurrencyConfigResult.h:165
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::GetAvailableProvisionedConcurrentExecutions
int GetAvailableProvisionedConcurrentExecutions() const
Definition: PutProvisionedConcurrencyConfigResult.h:55
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::GetLastModified
const Aws::String & GetLastModified() const
Definition: PutProvisionedConcurrencyConfigResult.h:158
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithAllocatedProvisionedConcurrentExecutions
PutProvisionedConcurrencyConfigResult & WithAllocatedProvisionedConcurrentExecutions(int value)
Definition: PutProvisionedConcurrencyConfigResult.h:81
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithStatus
PutProvisionedConcurrencyConfigResult & WithStatus(const ProvisionedConcurrencyStatusEnum &value)
Definition: PutProvisionedConcurrencyConfigResult.h:102
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithLastModified
PutProvisionedConcurrencyConfigResult & WithLastModified(Aws::String &&value)
Definition: PutProvisionedConcurrencyConfigResult.h:193
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetStatusReason
void SetStatusReason(Aws::String &&value)
Definition: PutProvisionedConcurrencyConfigResult.h:126
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetLastModified
void SetLastModified(const char *value)
Definition: PutProvisionedConcurrencyConfigResult.h:179
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetStatusReason
void SetStatusReason(const Aws::String &value)
Definition: PutProvisionedConcurrencyConfigResult.h:120
AWSString.h
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithLastModified
PutProvisionedConcurrencyConfigResult & WithLastModified(const Aws::String &value)
Definition: PutProvisionedConcurrencyConfigResult.h:186
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithRequestedProvisionedConcurrentExecutions
PutProvisionedConcurrencyConfigResult & WithRequestedProvisionedConcurrentExecutions(int value)
Definition: PutProvisionedConcurrencyConfigResult.h:49
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetStatus
void SetStatus(const ProvisionedConcurrencyStatusEnum &value)
Definition: PutProvisionedConcurrencyConfigResult.h:92
ProvisionedConcurrencyStatusEnum.h
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetStatus
void SetStatus(ProvisionedConcurrencyStatusEnum &&value)
Definition: PutProvisionedConcurrencyConfigResult.h:97
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::GetAllocatedProvisionedConcurrentExecutions
int GetAllocatedProvisionedConcurrentExecutions() const
Definition: PutProvisionedConcurrencyConfigResult.h:71
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult
Definition: PutProvisionedConcurrencyConfigResult.h:29
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::SetStatusReason
void SetStatusReason(const char *value)
Definition: PutProvisionedConcurrencyConfigResult.h:132
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithStatusReason
PutProvisionedConcurrencyConfigResult & WithStatusReason(Aws::String &&value)
Definition: PutProvisionedConcurrencyConfigResult.h:144
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::operator=
PutProvisionedConcurrencyConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::GetStatus
const ProvisionedConcurrencyStatusEnum & GetStatus() const
Definition: PutProvisionedConcurrencyConfigResult.h:87
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithStatus
PutProvisionedConcurrencyConfigResult & WithStatus(ProvisionedConcurrencyStatusEnum &&value)
Definition: PutProvisionedConcurrencyConfigResult.h:107
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::GetStatusReason
const Aws::String & GetStatusReason() const
Definition: PutProvisionedConcurrencyConfigResult.h:114
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithStatusReason
PutProvisionedConcurrencyConfigResult & WithStatusReason(const Aws::String &value)
Definition: PutProvisionedConcurrencyConfigResult.h:138
Lambda_EXPORTS.h
Aws::Lambda::Model::PutProvisionedConcurrencyConfigResult::WithAvailableProvisionedConcurrentExecutions
PutProvisionedConcurrencyConfigResult & WithAvailableProvisionedConcurrentExecutions(int value)
Definition: PutProvisionedConcurrencyConfigResult.h:65