AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PutExternalEvaluationRequest.h
1
6#pragma once
7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/config/model/ExternalEvaluation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ConfigService {
16namespace Model {
17
21 public:
22 AWS_CONFIGSERVICE_API PutExternalEvaluationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutExternalEvaluation"; }
29
30 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetConfigRuleName() const { return m_configRuleName; }
39 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
40 template <typename ConfigRuleNameT = Aws::String>
41 void SetConfigRuleName(ConfigRuleNameT&& value) {
42 m_configRuleNameHasBeenSet = true;
43 m_configRuleName = std::forward<ConfigRuleNameT>(value);
44 }
45 template <typename ConfigRuleNameT = Aws::String>
47 SetConfigRuleName(std::forward<ConfigRuleNameT>(value));
48 return *this;
49 }
51
53
57 inline const ExternalEvaluation& GetExternalEvaluation() const { return m_externalEvaluation; }
58 inline bool ExternalEvaluationHasBeenSet() const { return m_externalEvaluationHasBeenSet; }
59 template <typename ExternalEvaluationT = ExternalEvaluation>
60 void SetExternalEvaluation(ExternalEvaluationT&& value) {
61 m_externalEvaluationHasBeenSet = true;
62 m_externalEvaluation = std::forward<ExternalEvaluationT>(value);
63 }
64 template <typename ExternalEvaluationT = ExternalEvaluation>
66 SetExternalEvaluation(std::forward<ExternalEvaluationT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_configRuleName;
72
73 ExternalEvaluation m_externalEvaluation;
74 bool m_configRuleNameHasBeenSet = false;
75 bool m_externalEvaluationHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace ConfigService
80} // namespace Aws
AWS_CONFIGSERVICE_API PutExternalEvaluationRequest()=default
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
PutExternalEvaluationRequest & WithConfigRuleName(ConfigRuleNameT &&value)
PutExternalEvaluationRequest & WithExternalEvaluation(ExternalEvaluationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String