AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetAggregateResourceConfigRequest.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/config/model/AggregateResourceIdentifier.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConfigService
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchGetAggregateResourceConfig"; }
33
34 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetConfigurationAggregatorName() const{ return m_configurationAggregatorName; }
44 inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
45 inline void SetConfigurationAggregatorName(const Aws::String& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = value; }
46 inline void SetConfigurationAggregatorName(Aws::String&& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = std::move(value); }
47 inline void SetConfigurationAggregatorName(const char* value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName.assign(value); }
52
54
57 inline const Aws::Vector<AggregateResourceIdentifier>& GetResourceIdentifiers() const{ return m_resourceIdentifiers; }
58 inline bool ResourceIdentifiersHasBeenSet() const { return m_resourceIdentifiersHasBeenSet; }
59 inline void SetResourceIdentifiers(const Aws::Vector<AggregateResourceIdentifier>& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers = value; }
60 inline void SetResourceIdentifiers(Aws::Vector<AggregateResourceIdentifier>&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers = std::move(value); }
63 inline BatchGetAggregateResourceConfigRequest& AddResourceIdentifiers(const AggregateResourceIdentifier& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(value); return *this; }
64 inline BatchGetAggregateResourceConfigRequest& AddResourceIdentifiers(AggregateResourceIdentifier&& value) { m_resourceIdentifiersHasBeenSet = true; m_resourceIdentifiers.push_back(std::move(value)); return *this; }
66 private:
67
68 Aws::String m_configurationAggregatorName;
69 bool m_configurationAggregatorNameHasBeenSet = false;
70
71 Aws::Vector<AggregateResourceIdentifier> m_resourceIdentifiers;
72 bool m_resourceIdentifiersHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ConfigService
77} // namespace Aws
void SetResourceIdentifiers(Aws::Vector< AggregateResourceIdentifier > &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetAggregateResourceConfigRequest & WithResourceIdentifiers(const Aws::Vector< AggregateResourceIdentifier > &value)
BatchGetAggregateResourceConfigRequest & AddResourceIdentifiers(const AggregateResourceIdentifier &value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
BatchGetAggregateResourceConfigRequest & WithConfigurationAggregatorName(const Aws::String &value)
BatchGetAggregateResourceConfigRequest & WithResourceIdentifiers(Aws::Vector< AggregateResourceIdentifier > &&value)
BatchGetAggregateResourceConfigRequest & AddResourceIdentifiers(AggregateResourceIdentifier &&value)
void SetResourceIdentifiers(const Aws::Vector< AggregateResourceIdentifier > &value)
BatchGetAggregateResourceConfigRequest & WithConfigurationAggregatorName(Aws::String &&value)
const Aws::Vector< AggregateResourceIdentifier > & GetResourceIdentifiers() const
BatchGetAggregateResourceConfigRequest & WithConfigurationAggregatorName(const char *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