AWS SDK for C++  1.9.104
AWS SDK for C++
BatchGetDevEndpointsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Glue
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "BatchGetDevEndpoints"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::Vector<Aws::String>& GetDevEndpointNames() const{ return m_devEndpointNames; }
43 
48  inline bool DevEndpointNamesHasBeenSet() const { return m_devEndpointNamesHasBeenSet; }
49 
54  inline void SetDevEndpointNames(const Aws::Vector<Aws::String>& value) { m_devEndpointNamesHasBeenSet = true; m_devEndpointNames = value; }
55 
60  inline void SetDevEndpointNames(Aws::Vector<Aws::String>&& value) { m_devEndpointNamesHasBeenSet = true; m_devEndpointNames = std::move(value); }
61 
66  inline BatchGetDevEndpointsRequest& WithDevEndpointNames(const Aws::Vector<Aws::String>& value) { SetDevEndpointNames(value); return *this;}
67 
72  inline BatchGetDevEndpointsRequest& WithDevEndpointNames(Aws::Vector<Aws::String>&& value) { SetDevEndpointNames(std::move(value)); return *this;}
73 
78  inline BatchGetDevEndpointsRequest& AddDevEndpointNames(const Aws::String& value) { m_devEndpointNamesHasBeenSet = true; m_devEndpointNames.push_back(value); return *this; }
79 
84  inline BatchGetDevEndpointsRequest& AddDevEndpointNames(Aws::String&& value) { m_devEndpointNamesHasBeenSet = true; m_devEndpointNames.push_back(std::move(value)); return *this; }
85 
90  inline BatchGetDevEndpointsRequest& AddDevEndpointNames(const char* value) { m_devEndpointNamesHasBeenSet = true; m_devEndpointNames.push_back(value); return *this; }
91 
92  private:
93 
94  Aws::Vector<Aws::String> m_devEndpointNames;
95  bool m_devEndpointNamesHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace Glue
100 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::BatchGetDevEndpointsRequest::DevEndpointNamesHasBeenSet
bool DevEndpointNamesHasBeenSet() const
Definition: BatchGetDevEndpointsRequest.h:48
Glue_EXPORTS.h
Aws::Glue::Model::BatchGetDevEndpointsRequest::GetDevEndpointNames
const Aws::Vector< Aws::String > & GetDevEndpointNames() const
Definition: BatchGetDevEndpointsRequest.h:42
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Glue::Model::BatchGetDevEndpointsRequest::SetDevEndpointNames
void SetDevEndpointNames(Aws::Vector< Aws::String > &&value)
Definition: BatchGetDevEndpointsRequest.h:60
AWSVector.h
Aws::Glue::Model::BatchGetDevEndpointsRequest::AddDevEndpointNames
BatchGetDevEndpointsRequest & AddDevEndpointNames(const char *value)
Definition: BatchGetDevEndpointsRequest.h:90
Aws::Glue::Model::BatchGetDevEndpointsRequest
Definition: BatchGetDevEndpointsRequest.h:23
Aws::Glue::Model::BatchGetDevEndpointsRequest::BatchGetDevEndpointsRequest
BatchGetDevEndpointsRequest()
Aws::Glue::Model::BatchGetDevEndpointsRequest::AddDevEndpointNames
BatchGetDevEndpointsRequest & AddDevEndpointNames(Aws::String &&value)
Definition: BatchGetDevEndpointsRequest.h:84
Aws::Glue::Model::BatchGetDevEndpointsRequest::AddDevEndpointNames
BatchGetDevEndpointsRequest & AddDevEndpointNames(const Aws::String &value)
Definition: BatchGetDevEndpointsRequest.h:78
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::BatchGetDevEndpointsRequest::SetDevEndpointNames
void SetDevEndpointNames(const Aws::Vector< Aws::String > &value)
Definition: BatchGetDevEndpointsRequest.h:54
AWSString.h
Aws::Glue::Model::BatchGetDevEndpointsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::BatchGetDevEndpointsRequest::WithDevEndpointNames
BatchGetDevEndpointsRequest & WithDevEndpointNames(Aws::Vector< Aws::String > &&value)
Definition: BatchGetDevEndpointsRequest.h:72
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::BatchGetDevEndpointsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetDevEndpointsRequest.h:31
Aws::Glue::Model::BatchGetDevEndpointsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::BatchGetDevEndpointsRequest::WithDevEndpointNames
BatchGetDevEndpointsRequest & WithDevEndpointNames(const Aws::Vector< Aws::String > &value)
Definition: BatchGetDevEndpointsRequest.h:66
GlueRequest.h