AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRemediationExceptionsRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/config/model/RemediationExceptionResourceKey.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ConfigService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CONFIGSERVICE_API PutRemediationExceptionsRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "PutRemediationExceptions"; }
34
35 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
45 inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
46 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
47 inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
48 inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
49 inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
51 inline PutRemediationExceptionsRequest& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
52 inline PutRemediationExceptionsRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
54
56
61 inline const Aws::Vector<RemediationExceptionResourceKey>& GetResourceKeys() const{ return m_resourceKeys; }
62 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
63 inline void SetResourceKeys(const Aws::Vector<RemediationExceptionResourceKey>& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = value; }
64 inline void SetResourceKeys(Aws::Vector<RemediationExceptionResourceKey>&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = std::move(value); }
67 inline PutRemediationExceptionsRequest& AddResourceKeys(const RemediationExceptionResourceKey& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(value); return *this; }
68 inline PutRemediationExceptionsRequest& AddResourceKeys(RemediationExceptionResourceKey&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(std::move(value)); return *this; }
70
72
75 inline const Aws::String& GetMessage() const{ return m_message; }
76 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
77 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
78 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
79 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
80 inline PutRemediationExceptionsRequest& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
81 inline PutRemediationExceptionsRequest& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
82 inline PutRemediationExceptionsRequest& WithMessage(const char* value) { SetMessage(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; }
90 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
91 inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
92 inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
96 private:
97
98 Aws::String m_configRuleName;
99 bool m_configRuleNameHasBeenSet = false;
100
102 bool m_resourceKeysHasBeenSet = false;
103
104 Aws::String m_message;
105 bool m_messageHasBeenSet = false;
106
107 Aws::Utils::DateTime m_expirationTime;
108 bool m_expirationTimeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ConfigService
113} // namespace Aws
PutRemediationExceptionsRequest & AddResourceKeys(const RemediationExceptionResourceKey &value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
const Aws::Vector< RemediationExceptionResourceKey > & GetResourceKeys() const
void SetResourceKeys(const Aws::Vector< RemediationExceptionResourceKey > &value)
PutRemediationExceptionsRequest & WithMessage(const Aws::String &value)
void SetResourceKeys(Aws::Vector< RemediationExceptionResourceKey > &&value)
PutRemediationExceptionsRequest & AddResourceKeys(RemediationExceptionResourceKey &&value)
PutRemediationExceptionsRequest & WithConfigRuleName(Aws::String &&value)
PutRemediationExceptionsRequest & WithResourceKeys(const Aws::Vector< RemediationExceptionResourceKey > &value)
PutRemediationExceptionsRequest & WithMessage(const char *value)
PutRemediationExceptionsRequest & WithExpirationTime(Aws::Utils::DateTime &&value)
PutRemediationExceptionsRequest & WithMessage(Aws::String &&value)
PutRemediationExceptionsRequest & WithConfigRuleName(const Aws::String &value)
PutRemediationExceptionsRequest & WithExpirationTime(const Aws::Utils::DateTime &value)
PutRemediationExceptionsRequest & WithConfigRuleName(const char *value)
PutRemediationExceptionsRequest & WithResourceKeys(Aws::Vector< RemediationExceptionResourceKey > &&value)
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