AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartConfigRulesEvaluationRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConfigService
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CONFIGSERVICE_API StartConfigRulesEvaluationRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartConfigRulesEvaluation"; }
35
36 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetConfigRuleNames() const { return m_configRuleNames; }
46 inline bool ConfigRuleNamesHasBeenSet() const { return m_configRuleNamesHasBeenSet; }
47 template<typename ConfigRuleNamesT = Aws::Vector<Aws::String>>
48 void SetConfigRuleNames(ConfigRuleNamesT&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = std::forward<ConfigRuleNamesT>(value); }
49 template<typename ConfigRuleNamesT = Aws::Vector<Aws::String>>
50 StartConfigRulesEvaluationRequest& WithConfigRuleNames(ConfigRuleNamesT&& value) { SetConfigRuleNames(std::forward<ConfigRuleNamesT>(value)); return *this;}
51 template<typename ConfigRuleNamesT = Aws::String>
52 StartConfigRulesEvaluationRequest& AddConfigRuleNames(ConfigRuleNamesT&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.emplace_back(std::forward<ConfigRuleNamesT>(value)); return *this; }
54 private:
55
56 Aws::Vector<Aws::String> m_configRuleNames;
57 bool m_configRuleNamesHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace ConfigService
62} // namespace Aws
StartConfigRulesEvaluationRequest & AddConfigRuleNames(ConfigRuleNamesT &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
StartConfigRulesEvaluationRequest & WithConfigRuleNames(ConfigRuleNamesT &&value)
AWS_CONFIGSERVICE_API StartConfigRulesEvaluationRequest()=default
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector