AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetAggregateResourceConfigRequest.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/AggregateResourceIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ConfigService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONFIGSERVICE_API GetAggregateResourceConfigRequest() = 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 "GetAggregateResourceConfig"; }
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& GetConfigurationAggregatorName() const { return m_configurationAggregatorName; }
43 inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
44 template<typename ConfigurationAggregatorNameT = Aws::String>
45 void SetConfigurationAggregatorName(ConfigurationAggregatorNameT&& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = std::forward<ConfigurationAggregatorNameT>(value); }
46 template<typename ConfigurationAggregatorNameT = Aws::String>
47 GetAggregateResourceConfigRequest& WithConfigurationAggregatorName(ConfigurationAggregatorNameT&& value) { SetConfigurationAggregatorName(std::forward<ConfigurationAggregatorNameT>(value)); return *this;}
49
51
54 inline const AggregateResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
55 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
56 template<typename ResourceIdentifierT = AggregateResourceIdentifier>
57 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
58 template<typename ResourceIdentifierT = AggregateResourceIdentifier>
59 GetAggregateResourceConfigRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
61 private:
62
63 Aws::String m_configurationAggregatorName;
64 bool m_configurationAggregatorNameHasBeenSet = false;
65
66 AggregateResourceIdentifier m_resourceIdentifier;
67 bool m_resourceIdentifierHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace ConfigService
72} // namespace Aws
GetAggregateResourceConfigRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
AWS_CONFIGSERVICE_API GetAggregateResourceConfigRequest()=default
GetAggregateResourceConfigRequest & WithConfigurationAggregatorName(ConfigurationAggregatorNameT &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
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