AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutEvaluationsResult.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/config/model/Evaluation.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 ConfigService
26{
27namespace Model
28{
35 {
36 public:
37 AWS_CONFIGSERVICE_API PutEvaluationsResult();
40
41
43
46 inline const Aws::Vector<Evaluation>& GetFailedEvaluations() const{ return m_failedEvaluations; }
47 inline void SetFailedEvaluations(const Aws::Vector<Evaluation>& value) { m_failedEvaluations = value; }
48 inline void SetFailedEvaluations(Aws::Vector<Evaluation>&& value) { m_failedEvaluations = std::move(value); }
51 inline PutEvaluationsResult& AddFailedEvaluations(const Evaluation& value) { m_failedEvaluations.push_back(value); return *this; }
52 inline PutEvaluationsResult& AddFailedEvaluations(Evaluation&& value) { m_failedEvaluations.push_back(std::move(value)); return *this; }
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline PutEvaluationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline PutEvaluationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline PutEvaluationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
67 Aws::Vector<Evaluation> m_failedEvaluations;
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace ConfigService
74} // namespace Aws
const Aws::Vector< Evaluation > & GetFailedEvaluations() const
AWS_CONFIGSERVICE_API PutEvaluationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutEvaluationsResult & AddFailedEvaluations(const Evaluation &value)
PutEvaluationsResult & WithFailedEvaluations(const Aws::Vector< Evaluation > &value)
PutEvaluationsResult & WithFailedEvaluations(Aws::Vector< Evaluation > &&value)
void SetFailedEvaluations(Aws::Vector< Evaluation > &&value)
PutEvaluationsResult & WithRequestId(Aws::String &&value)
PutEvaluationsResult & WithRequestId(const char *value)
PutEvaluationsResult & AddFailedEvaluations(Evaluation &&value)
PutEvaluationsResult & WithRequestId(const Aws::String &value)
void SetFailedEvaluations(const Aws::Vector< Evaluation > &value)
AWS_CONFIGSERVICE_API PutEvaluationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue