AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
45 inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
46 inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
48 inline PutExternalEvaluationRequest& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
49 inline PutExternalEvaluationRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
51
53
57 inline const ExternalEvaluation& GetExternalEvaluation() const{ return m_externalEvaluation; }
58 inline bool ExternalEvaluationHasBeenSet() const { return m_externalEvaluationHasBeenSet; }
59 inline void SetExternalEvaluation(const ExternalEvaluation& value) { m_externalEvaluationHasBeenSet = true; m_externalEvaluation = value; }
60 inline void SetExternalEvaluation(ExternalEvaluation&& value) { m_externalEvaluationHasBeenSet = true; m_externalEvaluation = std::move(value); }
64 private:
65
66 Aws::String m_configRuleName;
67 bool m_configRuleNameHasBeenSet = false;
68
69 ExternalEvaluation m_externalEvaluation;
70 bool m_externalEvaluationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ConfigService
75} // namespace Aws
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
PutExternalEvaluationRequest & WithConfigRuleName(const Aws::String &value)
PutExternalEvaluationRequest & WithConfigRuleName(const char *value)
PutExternalEvaluationRequest & WithConfigRuleName(Aws::String &&value)
PutExternalEvaluationRequest & WithExternalEvaluation(const ExternalEvaluation &value)
PutExternalEvaluationRequest & WithExternalEvaluation(ExternalEvaluation &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String