AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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