AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateConfigurationItemsToApplicationRequest.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/discovery/ApplicationDiscoveryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ApplicationDiscoveryService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPLICATIONDISCOVERYSERVICE_API AssociateConfigurationItemsToApplicationRequest();
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 "AssociateConfigurationItemsToApplication"; }
32
33 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetApplicationConfigurationId() const{ return m_applicationConfigurationId; }
44 inline bool ApplicationConfigurationIdHasBeenSet() const { return m_applicationConfigurationIdHasBeenSet; }
45 inline void SetApplicationConfigurationId(const Aws::String& value) { m_applicationConfigurationIdHasBeenSet = true; m_applicationConfigurationId = value; }
46 inline void SetApplicationConfigurationId(Aws::String&& value) { m_applicationConfigurationIdHasBeenSet = true; m_applicationConfigurationId = std::move(value); }
47 inline void SetApplicationConfigurationId(const char* value) { m_applicationConfigurationIdHasBeenSet = true; m_applicationConfigurationId.assign(value); }
52
54
57 inline const Aws::Vector<Aws::String>& GetConfigurationIds() const{ return m_configurationIds; }
58 inline bool ConfigurationIdsHasBeenSet() const { return m_configurationIdsHasBeenSet; }
59 inline void SetConfigurationIds(const Aws::Vector<Aws::String>& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = value; }
60 inline void SetConfigurationIds(Aws::Vector<Aws::String>&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = std::move(value); }
63 inline AssociateConfigurationItemsToApplicationRequest& AddConfigurationIds(const Aws::String& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
64 inline AssociateConfigurationItemsToApplicationRequest& AddConfigurationIds(Aws::String&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(std::move(value)); return *this; }
65 inline AssociateConfigurationItemsToApplicationRequest& AddConfigurationIds(const char* value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
67 private:
68
69 Aws::String m_applicationConfigurationId;
70 bool m_applicationConfigurationIdHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_configurationIds;
73 bool m_configurationIdsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ApplicationDiscoveryService
78} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateConfigurationItemsToApplicationRequest & WithApplicationConfigurationId(const Aws::String &value)
AssociateConfigurationItemsToApplicationRequest & WithConfigurationIds(Aws::Vector< Aws::String > &&value)
AssociateConfigurationItemsToApplicationRequest & WithConfigurationIds(const Aws::Vector< Aws::String > &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